Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_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 4.0.0+maint.om/package.mo", uses=false) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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_4.0.0_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_4.0.0_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.001085/0.001085, allocations: 113.6 kB / 17.69 MB, free: 5.309 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.001027/0.001027, allocations: 191 kB / 18.63 MB, free: 4.375 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.389/1.389, allocations: 222.9 MB / 242.3 MB, free: 15.29 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001028/0.001028, allocations: 47.44 kB / 302.1 MB, free: 5.219 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1265/0.1276, allocations: 49.44 MB / 351.5 MB, free: 3.75 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.CauerLowPassOPV): time 0.009395/0.137, allocations: 5.75 MB / 357.3 MB, free: 13.96 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.003888/0.141, allocations: 1.165 MB / 358.4 MB, free: 12.79 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008732/0.1419, allocations: 16 kB / 358.4 MB, free: 12.78 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006055/0.1425, allocations: 170.4 kB / 358.6 MB, free: 12.61 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0009869/0.1436, allocations: 277.4 kB / 358.9 MB, free: 12.34 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007337/0.1443, allocations: 223.7 kB / 359.1 MB, free: 12.12 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.001509/0.1459, allocations: 1.067 MB / 360.2 MB, free: 11.05 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001083/0.147, allocations: 0.5258 MB / 360.7 MB, free: 10.5 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000684/0.1477, allocations: 410.6 kB / 361.1 MB, free: 10.1 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007787/0.1485, allocations: 470 kB / 361.5 MB, free: 9.637 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001912/0.1487, allocations: 96 kB / 361.6 MB, free: 9.543 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002128/0.1489, allocations: 100 kB / 361.7 MB, free: 9.445 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002443/0.1492, allocations: 223.2 kB / 362 MB, free: 9.227 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005674/0.1497, allocations: 0.5054 MB / 362.5 MB, free: 8.719 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001297/0.151, allocations: 1.098 MB / 363.6 MB, free: 7.617 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.33e-06/0.1511, allocations: 0 / 363.6 MB, free: 7.617 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.392e-06/0.1511, allocations: 0 / 363.6 MB, free: 7.617 MB / 302.1 MB Notification: Performance of Transformations before backend: time 1.878e-05/0.1511, allocations: 0 / 363.6 MB, free: 7.617 MB / 302.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.0027/0.1538, allocations: 1.24 MB / 364.8 MB, free: 6.328 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 7.632e-05/0.1539, allocations: 12.03 kB / 364.8 MB, free: 6.316 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002514/0.1542, allocations: 107.7 kB / 364.9 MB, free: 6.211 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009297/0.1551, allocations: 459.1 kB / 365.4 MB, free: 5.719 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.41e-05/0.1552, allocations: 74.38 kB / 365.4 MB, free: 5.645 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000172/0.1554, allocations: 96.28 kB / 365.5 MB, free: 5.551 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001936/0.1573, allocations: 0.8756 MB / 366.4 MB, free: 4.652 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.824e-05/0.1574, allocations: 3.938 kB / 366.4 MB, free: 4.648 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001102/0.1575, allocations: 36 kB / 366.4 MB, free: 4.613 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.269e-05/0.1575, allocations: 24 kB / 366.5 MB, free: 4.59 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001511/0.1591, allocations: 0.57 MB / 367 MB, free: 4.016 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005964/0.165, allocations: 2.937 MB / 370 MB, free: 0.9648 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006866/0.1658, allocations: 297.4 kB / 370.3 MB, free: 0.668 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006508/0.1664, allocations: 268.8 kB / 370.5 MB, free: 412 kB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.594e-05/0.1665, allocations: 8 kB / 370.5 MB, free: 404 kB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.958e-05/0.1666, allocations: 39.25 kB / 370.6 MB, free: 356 kB / 302.1 MB Notification: Performance of pre-optimization done (n=42): time 3.677e-06/0.1666, allocations: 0 / 370.6 MB, free: 356 kB / 302.1 MB Notification: Performance of matching and sorting (n=42): time 0.2109/0.3775, allocations: 0.6476 MB / 371.2 MB, free: 25.3 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.962e-05/0.3776, allocations: 60.58 kB / 371.3 MB, free: 25.24 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001161/0.3787, allocations: 0.5105 MB / 371.8 MB, free: 25.12 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 7.591e-05/0.3788, allocations: 35.61 kB / 371.8 MB, free: 25.09 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003889/0.3792, allocations: 493 kB / 372.3 MB, free: 24.85 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001846/0.3794, allocations: 156.4 kB / 372.5 MB, free: 24.75 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002534/0.3797, allocations: 135.3 kB / 372.6 MB, free: 24.73 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001942/0.3799, allocations: 364.3 kB / 372.9 MB, free: 24.42 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005079/0.3804, allocations: 172.8 kB / 373.1 MB, free: 24.41 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005971/0.381, allocations: 452.6 kB / 373.6 MB, free: 24.04 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009128/0.3819, allocations: 0.6559 MB / 374.2 MB, free: 23.52 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.708e-05/0.382, allocations: 2.719 kB / 374.2 MB, free: 23.52 MB / 302.1 MB Notification: Performance of matching and sorting (n=98) (initialization): time 0.001645/0.3836, allocations: 0.7626 MB / 375 MB, free: 23.19 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.193e-05/0.3837, allocations: 8.094 kB / 375 MB, free: 23.19 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.775e-05/0.3837, allocations: 9.125 kB / 375 MB, free: 23.19 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003706/0.3841, allocations: 93.47 kB / 375.1 MB, free: 23.16 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007364/0.3848, allocations: 195.6 kB / 375.3 MB, free: 23.14 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002075/0.3869, allocations: 2.002 MB / 377.3 MB, free: 21.36 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006717/0.3876, allocations: 89.98 kB / 377.4 MB, free: 21.3 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.469e-05/0.3877, allocations: 32.88 kB / 377.4 MB, free: 21.29 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.0003336/0.388, allocations: 218.7 kB / 377.6 MB, free: 21.11 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001213/0.3881, allocations: 57.59 kB / 377.7 MB, free: 21.08 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001103/0.3883, allocations: 66.3 kB / 377.7 MB, free: 21.04 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.362e-06/0.3883, allocations: 7.344 kB / 377.7 MB, free: 21.04 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.826e-05/0.3883, allocations: 7.062 kB / 377.7 MB, free: 21.04 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.194e-06/0.3883, allocations: 2.062 kB / 377.7 MB, free: 21.04 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008756/0.3892, allocations: 0.6412 MB / 378.4 MB, free: 20.67 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.707e-06/0.3892, allocations: 1.172 kB / 378.4 MB, free: 20.67 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004479/0.3897, allocations: 97.41 kB / 378.5 MB, free: 20.66 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000243/0.3899, allocations: 76.17 kB / 378.6 MB, free: 20.64 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.707e-05/0.39, allocations: 15.34 kB / 378.6 MB, free: 20.62 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001682/0.3916, allocations: 1.977 MB / 380.6 MB, free: 18.86 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.995e-06/0.3917, allocations: 3.938 kB / 380.6 MB, free: 18.86 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001108/0.3928, allocations: 0.6542 MB / 381.2 MB, free: 18.5 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002265/0.393, allocations: 135.5 kB / 381.3 MB, free: 18.37 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001163/0.3931, allocations: 11.39 kB / 381.4 MB, free: 18.36 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004677/0.3936, allocations: 43.69 kB / 381.4 MB, free: 18.36 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001058/0.3937, allocations: 33.3 kB / 381.4 MB, free: 18.35 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.659e-05/0.3938, allocations: 13.02 kB / 381.4 MB, free: 18.34 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0005911/0.3944, allocations: 348.4 kB / 381.8 MB, free: 18.18 MB / 302.1 MB Notification: Performance of sort global known variables: time 2.2e-07/0.3944, allocations: 0 / 381.8 MB, free: 18.18 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.001076/0.3955, allocations: 245 kB / 382 MB, free: 18.12 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.0001718/0.3956, allocations: 115.8 kB / 382.1 MB, free: 18.02 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.001332/0.397, allocations: 0.5951 MB / 382.7 MB, free: 17.74 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 5.771e-06/0.397, allocations: 1.156 kB / 382.7 MB, free: 17.74 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005005/0.3975, allocations: 325.7 kB / 383 MB, free: 17.55 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007106/0.3982, allocations: 116.1 kB / 383.2 MB, free: 17.51 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003073/0.4013, allocations: 1.383 MB / 384.5 MB, free: 16.7 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006186/0.402, allocations: 0.9303 MB / 385.5 MB, free: 15.98 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0004773/0.4024, allocations: 72.38 kB / 385.5 MB, free: 15.96 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001224/0.4026, allocations: 40.25 kB / 385.6 MB, free: 15.95 MB / 302.1 MB Notification: Performance of SimCode: time 1.804e-06/0.4026, allocations: 0 / 385.6 MB, free: 15.95 MB / 302.1 MB Notification: Performance of Templates: time 0.01943/0.422, allocations: 7.174 MB / 392.8 MB, free: 13.86 MB / 302.1 MB make -j1 -f Modelica_4.0.0_Modelica.Electrical.Analog.Examples.CauerLowPassOPV.makefile (rm -f Modelica_4.0.0_Modelica.Electrical.Analog.Examples.CauerLowPassOPV.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.Analog.Examples.CauerLowPassOPV.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.Analog.Examples.CauerLowPassOPV.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.Analog.Examples.CauerLowPassOPV.sim & ./Modelica_4.0.0_Modelica.Electrical.Analog.Examples.CauerLowPassOPV -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Electrical.Analog.Examples.CauerLowPassOPV.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Electrical.Analog.Examples.CauerLowPassOPV_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Analog/Examples/CauerLowPassOPV/CauerLowPassOPV.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Electrical.Analog.Examples.CauerLowPassOPV.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches