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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) 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 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001424/0.001424, allocations: 114.5 kB / 17.93 MB, free: 5.566 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001587/0.001587, allocations: 189.9 kB / 18.86 MB, free: 4.645 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.321/1.321, allocations: 205.1 MB / 224.7 MB, free: 12.45 MB / 190.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001123/0.001124, allocations: 51.92 kB / 280.8 MB, free: 3.492 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08227/0.0834, allocations: 46.62 MB / 327.4 MB, free: 4.805 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.CauerLowPassOPV): time 0.006128/0.08957, allocations: 5.719 MB / 333.1 MB, free: 15.05 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.001994/0.0916, allocations: 1.185 MB / 334.3 MB, free: 13.86 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003473/0.09197, allocations: 23.94 kB / 334.4 MB, free: 13.83 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003268/0.09233, allocations: 131 kB / 334.5 MB, free: 13.7 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004541/0.09279, allocations: 230.1 kB / 334.7 MB, free: 13.48 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003773/0.09318, allocations: 191.8 kB / 334.9 MB, free: 13.29 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0008773/0.09406, allocations: 1.056 MB / 335.9 MB, free: 12.23 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000673/0.09474, allocations: 0.5103 MB / 336.5 MB, free: 11.7 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004205/0.09517, allocations: 418.6 kB / 336.9 MB, free: 11.29 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004759/0.09566, allocations: 477.9 kB / 337.3 MB, free: 10.82 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001204/0.09579, allocations: 100 kB / 337.4 MB, free: 10.72 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001357/0.09593, allocations: 100 kB / 337.5 MB, free: 10.62 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001564/0.09609, allocations: 219.2 kB / 337.7 MB, free: 10.41 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003905/0.09649, allocations: 0.5054 MB / 338.3 MB, free: 9.902 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006951/0.09719, allocations: 0.8301 MB / 339.1 MB, free: 9.07 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.202e-06/0.0972, allocations: 4 kB / 339.1 MB, free: 9.066 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.483e-06/0.09721, allocations: 0 / 339.1 MB, free: 9.066 MB / 286.1 MB Notification: Performance of Transformations before backend: time 1.175e-05/0.09723, allocations: 0 / 339.1 MB, free: 9.066 MB / 286.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.001761/0.099, allocations: 1.24 MB / 340.3 MB, free: 7.777 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.585e-05/0.09904, allocations: 8.031 kB / 340.3 MB, free: 7.77 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001503/0.0992, allocations: 103.7 kB / 340.4 MB, free: 7.668 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005159/0.09972, allocations: 451.2 kB / 340.9 MB, free: 7.184 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.327e-05/0.09978, allocations: 74.31 kB / 340.9 MB, free: 7.109 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000122/0.09991, allocations: 100.3 kB / 341 MB, free: 7.012 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001298/0.1012, allocations: 0.8755 MB / 341.9 MB, free: 6.113 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.11e-05/0.1012, allocations: 0 / 341.9 MB, free: 6.113 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.242e-05/0.1013, allocations: 40 kB / 342 MB, free: 6.074 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.154e-05/0.1014, allocations: 24 kB / 342 MB, free: 6.051 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008774/0.1022, allocations: 0.5661 MB / 342.5 MB, free: 5.48 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003821/0.1061, allocations: 2.964 MB / 345.5 MB, free: 2.395 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003872/0.1065, allocations: 306.3 kB / 345.8 MB, free: 2.086 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003239/0.1068, allocations: 276.8 kB / 346.1 MB, free: 1.812 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.629e-05/0.1068, allocations: 4 kB / 346.1 MB, free: 1.809 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.167e-05/0.1069, allocations: 38.56 kB / 346.1 MB, free: 1.762 MB / 286.1 MB Notification: Performance of pre-optimization done (n=42): time 1.883e-06/0.1069, allocations: 0 / 346.1 MB, free: 1.762 MB / 286.1 MB Notification: Performance of matching and sorting (n=42): time 0.001351/0.1082, allocations: 0.6548 MB / 346.8 MB, free: 1.078 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.305e-05/0.1083, allocations: 55.41 kB / 346.8 MB, free: 1.012 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005179/0.1088, allocations: 0.5141 MB / 347.3 MB, free: 500 kB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 3.282e-05/0.1089, allocations: 33.7 kB / 347.4 MB, free: 460 kB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002812/0.1091, allocations: 489.7 kB / 347.9 MB, free: 15.96 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001056/0.1093, allocations: 157.7 kB / 348 MB, free: 15.8 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00018/0.1094, allocations: 142.5 kB / 348.2 MB, free: 15.66 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001322/0.1096, allocations: 366.8 kB / 348.5 MB, free: 15.29 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002712/0.1099, allocations: 169.9 kB / 348.7 MB, free: 15.12 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004206/0.1103, allocations: 445.6 kB / 349.1 MB, free: 14.56 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007023/0.111, allocations: 0.6557 MB / 349.8 MB, free: 13.78 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.021e-06/0.111, allocations: 4 kB / 349.8 MB, free: 13.78 MB / 302.1 MB Notification: Performance of matching and sorting (n=98) (initialization): time 0.001088/0.1121, allocations: 0.7568 MB / 350.5 MB, free: 13.01 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.119e-05/0.1121, allocations: 8 kB / 350.5 MB, free: 13 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.127e-05/0.1122, allocations: 11.94 kB / 350.5 MB, free: 12.99 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002747/0.1124, allocations: 85.31 kB / 350.6 MB, free: 12.91 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006243/0.1131, allocations: 195.7 kB / 350.8 MB, free: 12.71 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001717/0.1148, allocations: 2.002 MB / 352.8 MB, free: 10.58 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004322/0.1153, allocations: 91.05 kB / 352.9 MB, free: 10.49 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.82e-05/0.1153, allocations: 32 kB / 352.9 MB, free: 10.46 MB / 302.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.0002573/0.1156, allocations: 217.5 kB / 353.2 MB, free: 10.23 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.521e-05/0.1157, allocations: 63.41 kB / 353.2 MB, free: 10.17 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.993e-05/0.1158, allocations: 65.44 kB / 353.3 MB, free: 10.1 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.418e-06/0.1158, allocations: 4 kB / 353.3 MB, free: 10.1 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.734e-06/0.1158, allocations: 4 kB / 353.3 MB, free: 10.09 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.37e-06/0.1158, allocations: 3.984 kB / 353.3 MB, free: 10.09 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006619/0.1165, allocations: 0.6417 MB / 353.9 MB, free: 9.398 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.747e-06/0.1165, allocations: 0 / 353.9 MB, free: 9.398 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003936/0.1169, allocations: 99.86 kB / 354 MB, free: 9.301 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001984/0.1171, allocations: 80.67 kB / 354.1 MB, free: 9.219 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.622e-05/0.1171, allocations: 12 kB / 354.1 MB, free: 9.207 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001566/0.1187, allocations: 1.979 MB / 356.1 MB, free: 7.09 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.363e-06/0.1187, allocations: 0 / 356.1 MB, free: 7.09 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008477/0.1196, allocations: 0.6618 MB / 356.8 MB, free: 6.41 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001131/0.1197, allocations: 136.4 kB / 356.9 MB, free: 6.258 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.549e-05/0.1197, allocations: 12 kB / 356.9 MB, free: 6.246 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003747/0.1201, allocations: 44.03 kB / 357 MB, free: 6.203 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.559e-05/0.1202, allocations: 27.95 kB / 357 MB, free: 6.176 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.591e-05/0.1202, allocations: 12 kB / 357 MB, free: 6.164 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0003289/0.1206, allocations: 354.9 kB / 357.3 MB, free: 5.82 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1206, allocations: 0 / 357.3 MB, free: 5.82 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.000713/0.1213, allocations: 247.4 kB / 357.6 MB, free: 5.578 MB / 302.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.0001319/0.1214, allocations: 107.2 kB / 357.7 MB, free: 5.465 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0009484/0.1224, allocations: 0.6048 MB / 358.3 MB, free: 4.844 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.695e-06/0.1224, allocations: 3.938 kB / 358.3 MB, free: 4.84 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004168/0.1228, allocations: 314.8 kB / 358.6 MB, free: 4.52 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006211/0.1235, allocations: 126.2 kB / 358.7 MB, free: 4.395 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00219/0.1257, allocations: 1.798 MB / 360.5 MB, free: 2.559 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003943/0.1261, allocations: 0.9337 MB / 361.5 MB, free: 1.598 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000118/0.1262, allocations: 51.38 kB / 361.5 MB, free: 1.547 MB / 302.1 MB Notification: Performance of SimCode: time 5.92e-07/0.1262, allocations: 0 / 361.5 MB, free: 1.547 MB / 302.1 MB Notification: Performance of Templates: time 0.01257/0.1388, allocations: 10.98 MB / 372.5 MB, free: 6.555 MB / 318.1 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/jenkins1/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