Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_Modelica.Electrical.Analog.Examples.CauerLowPassOPV.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: translateModel(Modelica.Electrical.Analog.Examples.CauerLowPassOPV,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|C1.v|C2.v|C3.v|C4.v|C7.v",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.Analog.Examples.CauerLowPassOPV") translateModel(Modelica.Electrical.Analog.Examples.CauerLowPassOPV,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|C1.v|C2.v|C3.v|C4.v|C7.v",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.Analog.Examples.CauerLowPassOPV") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001053/0.001053, allocations: 178.4 kB / 8.697 MB, free: 388 kB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.515/1.515, allocations: 205.3 MB / 214.4 MB, free: 1.668 MB / 170.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008544/0.0008547, allocations: 86.72 kB / 262.4 MB, free: 1.613 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 2.107e-05/2.114e-05, allocations: 4 kB / 315.5 MB, free: 22.7 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08936/0.0894, allocations: 47.57 MB / 363.1 MB, free: 7.066 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3981/0.4876, allocations: 78.31 MB / 441.4 MB, free: 1.375 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002031/0.4878, allocations: 69.64 kB / 441.4 MB, free: 1.34 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.03188/0.5197, allocations: 12.69 MB / 454.1 MB, free: 6.727 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.493e-06/0.5198, allocations: 0 / 454.1 MB, free: 6.727 MB / 330.7 MB Notification: Performance of Transformations before backend: time 4.005e-05/0.5198, allocations: 20 kB / 454.2 MB, free: 6.707 MB / 330.7 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.001543/0.5214, allocations: 1 MB / 455.2 MB, free: 5.719 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.156e-05/0.5214, allocations: 12.03 kB / 455.2 MB, free: 5.707 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001545/0.5216, allocations: 102.8 kB / 455.3 MB, free: 5.605 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005589/0.5221, allocations: 445.8 kB / 455.7 MB, free: 5.195 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.477e-05/0.5222, allocations: 32 kB / 455.7 MB, free: 5.164 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.087e-05/0.5223, allocations: 52 kB / 455.8 MB, free: 5.113 MB / 330.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0007841/0.5231, allocations: 497.8 kB / 456.3 MB, free: 4.812 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001053/0.5241, allocations: 0.6973 MB / 457 MB, free: 4.285 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.937e-05/0.5242, allocations: 0 / 457 MB, free: 4.285 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.351e-05/0.5242, allocations: 0 / 457 MB, free: 4.285 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.897e-05/0.5242, allocations: 24 kB / 457 MB, free: 4.262 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003755/0.528, allocations: 2.84 MB / 459.8 MB, free: 1.84 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003282/0.5283, allocations: 271.2 kB / 460.1 MB, free: 1.664 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002834/0.5286, allocations: 246.6 kB / 460.3 MB, free: 1.504 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.877e-05/0.5287, allocations: 4 kB / 460.3 MB, free: 1.5 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.602e-05/0.5287, allocations: 49.12 kB / 460.4 MB, free: 1.449 MB / 330.7 MB Notification: Performance of pre-optimization done (n=42): time 1.683e-06/0.5287, allocations: 0 / 460.4 MB, free: 1.449 MB / 330.7 MB Notification: Performance of matching and sorting (n=42): time 0.0006647/0.5294, allocations: 363.3 kB / 460.7 MB, free: 1.156 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.535e-05/0.5294, allocations: 55.41 kB / 460.8 MB, free: 1.09 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003956/0.5298, allocations: 402.9 kB / 461.2 MB, free: 0.7773 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 2.796e-05/0.5299, allocations: 25.7 kB / 461.2 MB, free: 0.7461 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003371/0.5302, allocations: 498.5 kB / 461.7 MB, free: 340 kB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000136/0.5304, allocations: 151.2 kB / 461.8 MB, free: 208 kB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.094e-05/0.5304, allocations: 0 / 461.8 MB, free: 208 kB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001989/0.5306, allocations: 365.9 kB / 462.2 MB, free: 15.86 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003308/0.531, allocations: 140.2 kB / 462.3 MB, free: 15.78 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005402/0.5315, allocations: 412.4 kB / 462.7 MB, free: 15.33 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004151/0.532, allocations: 218.7 kB / 463 MB, free: 15.18 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.182e-06/0.532, allocations: 0 / 463 MB, free: 15.18 MB / 346.7 MB Notification: Performance of matching and sorting (n=98) (initialization): time 0.00108/0.5331, allocations: 0.6401 MB / 463.6 MB, free: 14.66 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.151e-05/0.5331, allocations: 8 kB / 463.6 MB, free: 14.65 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.447e-05/0.5331, allocations: 12 kB / 463.6 MB, free: 14.64 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002634/0.5334, allocations: 80.55 kB / 463.7 MB, free: 14.57 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007178/0.5341, allocations: 197.7 kB / 463.9 MB, free: 14.38 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001716/0.5358, allocations: 1.744 MB / 465.6 MB, free: 12.73 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004945/0.5364, allocations: 87.06 kB / 465.7 MB, free: 12.64 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.749e-05/0.5364, allocations: 34.06 kB / 465.8 MB, free: 12.61 MB / 346.7 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 () * 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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 9} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001645/0.5366, allocations: 128.6 kB / 465.9 MB, free: 12.48 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.92e-05/0.5367, allocations: 55.34 kB / 465.9 MB, free: 12.43 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000104/0.5368, allocations: 54.23 kB / 466 MB, free: 12.41 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.392e-06/0.5368, allocations: 8 kB / 466 MB, free: 12.4 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.554e-06/0.5368, allocations: 3.984 kB / 466 MB, free: 12.39 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.554e-06/0.5368, allocations: 4 kB / 466 MB, free: 12.39 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006589/0.5375, allocations: 0.5334 MB / 466.5 MB, free: 11.95 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.314e-06/0.5375, allocations: 0 / 466.5 MB, free: 11.95 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004267/0.5379, allocations: 99.5 kB / 466.6 MB, free: 11.85 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002118/0.5382, allocations: 75.05 kB / 466.7 MB, free: 11.79 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.26e-05/0.5382, allocations: 3.562 kB / 466.7 MB, free: 11.79 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001505/0.5397, allocations: 1.716 MB / 468.4 MB, free: 10.16 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.849e-06/0.5397, allocations: 3.984 kB / 468.4 MB, free: 10.15 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007681/0.5405, allocations: 0.5956 MB / 469 MB, free: 9.684 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001218/0.5406, allocations: 136.1 kB / 469.2 MB, free: 9.535 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.828e-05/0.5407, allocations: 0 / 469.2 MB, free: 9.535 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003959/0.5411, allocations: 43.97 kB / 469.2 MB, free: 9.492 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.213e-05/0.5412, allocations: 31.7 kB / 469.2 MB, free: 9.465 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.982e-05/0.5412, allocations: 15.88 kB / 469.2 MB, free: 9.453 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0002895/0.5415, allocations: 291.6 kB / 469.5 MB, free: 9.238 MB / 346.7 MB Notification: Performance of sort global known variables: time 1.91e-07/0.5415, allocations: 3.938 kB / 469.5 MB, free: 9.234 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0008272/0.5424, allocations: 227.1 kB / 469.8 MB, free: 9.012 MB / 346.7 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 () * 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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 9} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001964/0.5426, allocations: 115.3 kB / 469.9 MB, free: 8.891 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0007896/0.5434, allocations: 0.5186 MB / 470.4 MB, free: 8.48 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 2.565e-06/0.5434, allocations: 320 / 470.4 MB, free: 8.48 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000369/0.5437, allocations: 298.3 kB / 470.7 MB, free: 8.234 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004147/0.5442, allocations: 85.31 kB / 470.8 MB, free: 8.176 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001698/0.5459, allocations: 1.066 MB / 471.8 MB, free: 7.152 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004692/0.5464, allocations: 0.9492 MB / 472.8 MB, free: 6.176 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 0.0002779/0.5466, allocations: 64.94 kB / 472.8 MB, free: 6.109 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.128e-05/0.5467, allocations: 39.44 kB / 472.9 MB, free: 6.07 MB / 346.7 MB Notification: Performance of SimCode: time 4.4e-07/0.5467, allocations: 0 / 472.9 MB, free: 6.07 MB / 346.7 MB Notification: Performance of Templates: time 0.01053/0.5573, allocations: 5.635 MB / 478.5 MB, free: 448 kB / 346.7 MB make -j1 -f Modelica_3.2.3_Modelica.Electrical.Analog.Examples.CauerLowPassOPV.makefile (rm -f Modelica_3.2.3_Modelica.Electrical.Analog.Examples.CauerLowPassOPV.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.Analog.Examples.CauerLowPassOPV.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.Analog.Examples.CauerLowPassOPV.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.Analog.Examples.CauerLowPassOPV.sim & ./Modelica_3.2.3_Modelica.Electrical.Analog.Examples.CauerLowPassOPV -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Electrical.Analog.Examples.CauerLowPassOPV.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Electrical.Analog.Examples.CauerLowPassOPV_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Electrical/Analog/Examples/CauerLowPassOPV/CauerLowPassOPV.csv","../files/Modelica_3.2.3_Modelica.Electrical.Analog.Examples.CauerLowPassOPV.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches