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.001504/0.001504, allocations: 96.41 kB / 16.3 MB, free: 5.562 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.00151/0.00151, allocations: 184 kB / 17.2 MB, free: 5.496 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.515/1.515, allocations: 223.2 MB / 241.1 MB, free: 288 kB / 190.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003062/0.0003062, allocations: 12.66 kB / 300.7 MB, free: 6.461 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1329/0.1332, allocations: 50.41 MB / 351.1 MB, free: 4.043 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.CauerLowPassOPV): time 0.005044/0.1383, allocations: 4.555 MB / 355.7 MB, free: 15.46 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.002664/0.141, allocations: 1.212 MB / 356.9 MB, free: 14.25 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004904/0.1415, allocations: 16 kB / 356.9 MB, free: 14.23 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002524/0.1418, allocations: 123.1 kB / 357 MB, free: 14.11 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006769/0.1425, allocations: 335 kB / 357.4 MB, free: 13.78 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003939/0.1429, allocations: 151.8 kB / 357.5 MB, free: 13.63 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0008474/0.1437, allocations: 0.7385 MB / 358.3 MB, free: 12.89 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006428/0.1444, allocations: 396.2 kB / 358.6 MB, free: 12.49 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000369/0.1448, allocations: 338.8 kB / 359 MB, free: 12.16 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004618/0.1452, allocations: 394.2 kB / 359.4 MB, free: 11.77 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 8.602e-05/0.1453, allocations: 52 kB / 359.4 MB, free: 11.72 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.614e-05/0.1454, allocations: 48 kB / 359.5 MB, free: 11.67 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001163/0.1455, allocations: 159.3 kB / 359.6 MB, free: 11.52 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001413/0.1457, allocations: 197.3 kB / 359.8 MB, free: 11.32 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006004/0.1463, allocations: 0.7986 MB / 360.6 MB, free: 10.52 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.806e-06/0.1463, allocations: 0 / 360.6 MB, free: 10.52 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.443e-06/0.1463, allocations: 0 / 360.6 MB, free: 10.52 MB / 302.1 MB Notification: Performance of Transformations before backend: time 9.909e-06/0.1463, allocations: 0 / 360.6 MB, free: 10.52 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.001662/0.148, allocations: 1.088 MB / 361.7 MB, free: 9.375 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.554e-05/0.1481, allocations: 8.031 kB / 361.7 MB, free: 9.367 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001765/0.1482, allocations: 110.8 kB / 361.8 MB, free: 9.258 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006101/0.1489, allocations: 438.1 kB / 362.2 MB, free: 8.789 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.063e-05/0.1489, allocations: 70 kB / 362.3 MB, free: 8.723 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001239/0.1491, allocations: 99.91 kB / 362.4 MB, free: 8.625 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001303/0.1504, allocations: 0.8557 MB / 363.3 MB, free: 7.742 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.624e-05/0.1504, allocations: 0 / 363.3 MB, free: 7.742 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.831e-05/0.1505, allocations: 43.95 kB / 363.3 MB, free: 7.699 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.95e-05/0.1505, allocations: 24 kB / 363.3 MB, free: 7.676 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009348/0.1514, allocations: 0.5699 MB / 363.9 MB, free: 7.109 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004309/0.1558, allocations: 2.972 MB / 366.9 MB, free: 4.016 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004208/0.1562, allocations: 294.5 kB / 367.1 MB, free: 3.719 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.466e-05/0.1562, allocations: 11.94 kB / 367.2 MB, free: 3.707 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.533e-05/0.1563, allocations: 42.5 kB / 367.2 MB, free: 3.656 MB / 302.1 MB Notification: Performance of pre-optimization done (n=42): time 1.443e-06/0.1563, allocations: 0 / 367.2 MB, free: 3.656 MB / 302.1 MB Notification: Performance of matching and sorting (n=42): time 0.001413/0.1577, allocations: 0.6559 MB / 367.9 MB, free: 2.973 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.654e-05/0.1578, allocations: 59.34 kB / 367.9 MB, free: 2.902 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005541/0.1583, allocations: 0.5025 MB / 368.4 MB, free: 2.391 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 3.661e-05/0.1584, allocations: 41.7 kB / 368.5 MB, free: 2.344 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003051/0.1587, allocations: 485.6 kB / 368.9 MB, free: 1.859 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001231/0.1588, allocations: 161.7 kB / 369.1 MB, free: 1.699 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.395e-05/0.1588, allocations: 12 kB / 369.1 MB, free: 1.688 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001913/0.159, allocations: 366.8 kB / 369.5 MB, free: 1.32 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003199/0.1594, allocations: 169.9 kB / 369.6 MB, free: 1.156 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005553/0.1599, allocations: 449.6 kB / 370.1 MB, free: 0.5938 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004162/0.1604, allocations: 238 kB / 370.3 MB, free: 372 kB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.524e-06/0.1604, allocations: 4 kB / 370.3 MB, free: 368 kB / 302.1 MB Notification: Performance of matching and sorting (n=98) (initialization): time 0.1918/0.3522, allocations: 0.7476 MB / 371 MB, free: 23.53 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.23e-05/0.3523, allocations: 9.531 kB / 371.1 MB, free: 23.53 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.047e-05/0.3523, allocations: 10.02 kB / 371.1 MB, free: 23.53 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003203/0.3526, allocations: 90.94 kB / 371.2 MB, free: 23.52 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006828/0.3533, allocations: 197 kB / 371.3 MB, free: 23.52 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001585/0.3549, allocations: 1.824 MB / 373.2 MB, free: 22.19 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005456/0.3555, allocations: 88.12 kB / 373.3 MB, free: 22.19 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.334e-05/0.3555, allocations: 39.47 kB / 373.3 MB, free: 22.19 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 (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.0002777/0.3558, allocations: 209.9 kB / 373.5 MB, free: 22.07 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.307e-05/0.3559, allocations: 66.05 kB / 373.6 MB, free: 22.05 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.394e-05/0.356, allocations: 64.33 kB / 373.6 MB, free: 22.04 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.049e-06/0.356, allocations: 5.031 kB / 373.6 MB, free: 22.04 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.057e-06/0.356, allocations: 1.344 kB / 373.6 MB, free: 22.04 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.114e-06/0.3561, allocations: 6.062 kB / 373.6 MB, free: 22.04 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008159/0.3569, allocations: 0.6396 MB / 374.3 MB, free: 21.84 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.954e-06/0.3569, allocations: 0 / 374.3 MB, free: 21.84 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004364/0.3573, allocations: 107.6 kB / 374.4 MB, free: 21.83 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002091/0.3575, allocations: 68.58 kB / 374.5 MB, free: 21.82 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.746e-05/0.3576, allocations: 9.75 kB / 374.5 MB, free: 21.82 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001452/0.359, allocations: 1.814 MB / 376.3 MB, free: 20.45 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.102e-06/0.3591, allocations: 1.438 kB / 376.3 MB, free: 20.45 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008937/0.36, allocations: 0.6656 MB / 376.9 MB, free: 20.16 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001091/0.3601, allocations: 134.4 kB / 377.1 MB, free: 20.04 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.566e-05/0.3601, allocations: 7.547 kB / 377.1 MB, free: 20.03 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003964/0.3605, allocations: 53.88 kB / 377.1 MB, free: 20.02 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.226e-05/0.3606, allocations: 31.91 kB / 377.2 MB, free: 20.01 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.456e-05/0.3607, allocations: 18.06 kB / 377.2 MB, free: 20.01 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.000374/0.361, allocations: 340 kB / 377.5 MB, free: 19.84 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.361, allocations: 0 / 377.5 MB, free: 19.84 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0008361/0.3619, allocations: 248 kB / 377.8 MB, free: 19.78 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 (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.0001408/0.362, allocations: 118.2 kB / 377.9 MB, free: 19.68 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0009117/0.363, allocations: 0.586 MB / 378.5 MB, free: 19.41 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 3.026e-06/0.363, allocations: 1.875 kB / 378.5 MB, free: 19.41 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004468/0.3634, allocations: 323.7 kB / 378.8 MB, free: 19.21 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004847/0.3639, allocations: 109.8 kB / 378.9 MB, free: 19.17 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002262/0.3662, allocations: 1.75 MB / 380.6 MB, free: 18.02 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003986/0.3666, allocations: 0.953 MB / 381.6 MB, free: 17.3 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0002954/0.3669, allocations: 69.47 kB / 381.7 MB, free: 17.28 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.849e-05/0.367, allocations: 42.34 kB / 381.7 MB, free: 17.27 MB / 302.1 MB Notification: Performance of SimCode: time 6.41e-07/0.367, allocations: 0 / 381.7 MB, free: 17.27 MB / 302.1 MB Notification: Performance of Templates: time 0.01457/0.3816, allocations: 6.514 MB / 388.2 MB, free: 15.72 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 -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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Analog/Examples/CauerLowPassOPV/CauerLowPassOPV.csv","../files/Modelica_4.0.0_Modelica.Electrical.Analog.Examples.CauerLowPassOPV.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches