Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.Analog.Examples.CauerLowPassOPV.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: "" <> buildModelFMU(Modelica.Electrical.Analog.Examples.CauerLowPassOPV,fileNamePrefix="Modelica_trunk_Modelica_Electrical_Analog_Examples_CauerLowPassOPV",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Analog.Examples.CauerLowPassOPV,fileNamePrefix="Modelica_trunk_Modelica_Electrical_Analog_Examples_CauerLowPassOPV",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.00167/0.001676, allocations: 122.2 kB / 17.79 MB, free: 5.273 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.00202/0.00202, allocations: 202 kB / 18.74 MB, free: 4.332 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.474/1.474, allocations: 227.4 MB / 247 MB, free: 10.44 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002175/0.002175, allocations: 67.88 kB / 358.3 MB, free: 13.29 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2676/0.2698, allocations: 50.55 MB / 408.9 MB, free: 1.434 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.CauerLowPassOPV): time 0.007741/0.2776, allocations: 5.764 MB / 414.6 MB, free: 11.64 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002815/0.2805, allocations: 1.204 MB / 415.9 MB, free: 10.43 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006887/0.2812, allocations: 20 kB / 415.9 MB, free: 10.41 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004859/0.2817, allocations: 170.4 kB / 416 MB, free: 10.25 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0008313/0.2826, allocations: 273.4 kB / 416.3 MB, free: 9.977 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00058/0.2832, allocations: 227.7 kB / 416.5 MB, free: 9.754 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.001376/0.2845, allocations: 1.06 MB / 417.6 MB, free: 8.688 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008363/0.2854, allocations: 0.5257 MB / 418.1 MB, free: 8.137 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005983/0.286, allocations: 414.6 kB / 418.5 MB, free: 7.73 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006414/0.2867, allocations: 466 kB / 419 MB, free: 7.273 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001607/0.2868, allocations: 100 kB / 419.1 MB, free: 7.176 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001804/0.287, allocations: 96 kB / 419.2 MB, free: 7.082 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002113/0.2872, allocations: 227.2 kB / 419.4 MB, free: 6.859 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005409/0.2878, allocations: 0.4977 MB / 419.9 MB, free: 6.359 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001299/0.2891, allocations: 1.112 MB / 421 MB, free: 5.246 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.27e-06/0.2891, allocations: 0 / 421 MB, free: 5.246 MB / 334.1 MB Notification: Performance of FrontEnd: time 2.264e-06/0.2891, allocations: 0 / 421 MB, free: 5.246 MB / 334.1 MB Notification: Performance of Transformations before backend: time 2.524e-05/0.2892, allocations: 4 kB / 421 MB, free: 5.242 MB / 334.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 240 * Number of variables: 240 Notification: Performance of Generate backend data structure: time 0.002305/0.2915, allocations: 1.258 MB / 422.3 MB, free: 3.93 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.25e-05/0.2915, allocations: 8.031 kB / 422.3 MB, free: 3.922 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001823/0.2917, allocations: 144.1 kB / 422.4 MB, free: 3.773 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001896/0.2919, allocations: 116.3 kB / 422.5 MB, free: 3.66 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007967/0.2927, allocations: 467.3 kB / 423 MB, free: 3.168 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.591e-05/0.2928, allocations: 70.38 kB / 423 MB, free: 3.102 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001315/0.293, allocations: 96.38 kB / 423.1 MB, free: 3.008 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001417/0.2944, allocations: 0.8715 MB / 424 MB, free: 2.109 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.038e-05/0.2944, allocations: 0 / 424 MB, free: 2.109 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.924e-05/0.2945, allocations: 40 kB / 424.1 MB, free: 2.07 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.031e-05/0.2945, allocations: 20 kB / 424.1 MB, free: 2.051 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001022/0.2956, allocations: 0.5739 MB / 424.6 MB, free: 1.48 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004746/0.3003, allocations: 2.962 MB / 427.6 MB, free: 14.4 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004832/0.3008, allocations: 294.2 kB / 427.9 MB, free: 14.1 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003937/0.3012, allocations: 276.8 kB / 428.2 MB, free: 13.83 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.409e-05/0.3013, allocations: 4 kB / 428.2 MB, free: 13.82 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.654e-05/0.3013, allocations: 38.56 kB / 428.2 MB, free: 13.78 MB / 350.1 MB Notification: Performance of pre-optimization done (n=42): time 2.385e-06/0.3013, allocations: 3.938 kB / 428.2 MB, free: 13.77 MB / 350.1 MB Notification: Performance of matching and sorting (n=42): time 0.001598/0.3029, allocations: 0.659 MB / 428.9 MB, free: 13.09 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.913e-05/0.303, allocations: 59.34 kB / 428.9 MB, free: 13.02 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006831/0.3037, allocations: 0.5143 MB / 429.4 MB, free: 12.49 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 5.034e-05/0.3038, allocations: 37.64 kB / 429.5 MB, free: 12.45 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003723/0.3041, allocations: 499.2 kB / 430 MB, free: 11.95 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000148/0.3043, allocations: 158.7 kB / 430.1 MB, free: 11.8 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002142/0.3045, allocations: 146.6 kB / 430.3 MB, free: 11.64 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0002008/0.3047, allocations: 362.8 kB / 430.6 MB, free: 11.28 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003253/0.3051, allocations: 165.9 kB / 430.8 MB, free: 11.12 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005409/0.3056, allocations: 453.6 kB / 431.2 MB, free: 10.55 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009092/0.3065, allocations: 0.6479 MB / 431.9 MB, free: 9.777 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.087e-06/0.3066, allocations: 4 kB / 431.9 MB, free: 9.773 MB / 350.1 MB Notification: Performance of matching and sorting (n=98) (initialization): time 0.001322/0.3079, allocations: 0.7648 MB / 432.6 MB, free: 9 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.256e-05/0.3079, allocations: 10.66 kB / 432.6 MB, free: 8.992 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.431e-05/0.3079, allocations: 8 kB / 432.7 MB, free: 8.984 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003093/0.3082, allocations: 89.31 kB / 432.7 MB, free: 8.895 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006694/0.3089, allocations: 191.7 kB / 432.9 MB, free: 8.707 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002224/0.3112, allocations: 2.006 MB / 434.9 MB, free: 6.559 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005456/0.3117, allocations: 87.36 kB / 435 MB, free: 6.473 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.432e-05/0.3118, allocations: 43.92 kB / 435.1 MB, free: 6.43 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 41 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (89): * Single equations (assignments): 88 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,9,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0003211/0.3121, allocations: 213.5 kB / 435.3 MB, free: 6.211 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001075/0.3122, allocations: 63.62 kB / 435.3 MB, free: 6.148 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001281/0.3124, allocations: 65.5 kB / 435.4 MB, free: 6.082 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.609e-06/0.3124, allocations: 4.062 kB / 435.4 MB, free: 6.078 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.648e-06/0.3124, allocations: 4 kB / 435.4 MB, free: 6.074 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.244e-06/0.3124, allocations: 4 kB / 435.4 MB, free: 6.07 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008529/0.3133, allocations: 0.6376 MB / 436 MB, free: 5.383 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.745e-06/0.3133, allocations: 3.938 kB / 436.1 MB, free: 5.379 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004152/0.3137, allocations: 99.88 kB / 436.2 MB, free: 5.281 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002248/0.3139, allocations: 72.8 kB / 436.2 MB, free: 5.207 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.572e-05/0.314, allocations: 8 kB / 436.2 MB, free: 5.199 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002021/0.316, allocations: 1.995 MB / 438.2 MB, free: 3.066 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.194e-06/0.316, allocations: 0 / 438.2 MB, free: 3.066 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001075/0.3171, allocations: 0.6703 MB / 438.9 MB, free: 2.379 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001567/0.3173, allocations: 136.7 kB / 439 MB, free: 2.227 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.128e-05/0.3174, allocations: 4 kB / 439 MB, free: 2.223 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004091/0.3178, allocations: 47.97 kB / 439.1 MB, free: 2.176 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.264e-05/0.3179, allocations: 31.95 kB / 439.1 MB, free: 2.145 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.747e-05/0.3179, allocations: 12 kB / 439.1 MB, free: 2.133 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0004107/0.3183, allocations: 342.9 kB / 439.5 MB, free: 1.801 MB / 350.1 MB Notification: Performance of sort global known variables: time 2e-07/0.3183, allocations: 0 / 439.5 MB, free: 1.801 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0008084/0.3191, allocations: 251.4 kB / 439.7 MB, free: 1.555 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 5 (C1.v,C2.v,C3.v,C4.v,C7.v) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (33): * Single equations (assignments): 32 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,9,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.00137/0.3205, allocations: 1.214 MB / 440.9 MB, free: 320 kB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001091/0.3216, allocations: 0.6009 MB / 441.5 MB, free: 15.7 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 6.753e-06/0.3216, allocations: 8.375 kB / 441.5 MB, free: 15.69 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004888/0.3221, allocations: 310.8 kB / 441.8 MB, free: 15.38 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006051/0.3227, allocations: 122.5 kB / 441.9 MB, free: 15.26 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007868/0.3306, allocations: 5.493 MB / 447.4 MB, free: 9.414 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006253/0.3313, allocations: 0.9337 MB / 448.4 MB, free: 8.449 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0003178/0.3316, allocations: 65.22 kB / 448.4 MB, free: 8.383 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003268/0.332, allocations: 267.3 kB / 448.7 MB, free: 8.121 MB / 366.1 MB Notification: Performance of SimCode: time 7.31e-07/0.332, allocations: 0 / 448.7 MB, free: 8.121 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04494/0.3769, allocations: 12.81 MB / 461.5 MB, free: 11.51 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.91/11.29, allocations: 20.14 kB / 461.5 MB, free: 11.49 MB / 382.1 MB (rm -f Modelica_trunk_Modelica.Electrical.Analog.Examples.CauerLowPassOPV.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.Analog.Examples.CauerLowPassOPV.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.Analog.Examples.CauerLowPassOPV.pipe >> ../files/Modelica_trunk_Modelica.Electrical.Analog.Examples.CauerLowPassOPV.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_trunk_Modelica.Electrical.Analog.Examples.CauerLowPassOPV_res.mat --tempDir=temp_Modelica_trunk_Modelica_Electrical_Analog_Examples_CauerLowPassOPV_fmu --startTime=0 --stopTime=60 --timeout=50 --tolerance=1e-06 Modelica_trunk_Modelica_Electrical_Analog_Examples_CauerLowPassOPV.fmu > Modelica_trunk_Modelica.Electrical.Analog.Examples.CauerLowPassOPV.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Electrical.Analog.Examples.CauerLowPassOPV_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Analog/Examples/CauerLowPassOPV/CauerLowPassOPV.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Electrical.Analog.Examples.CauerLowPassOPV.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches