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: 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_trunk_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_trunk_Modelica.Electrical.Analog.Examples.CauerLowPassOPV") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001248/0.001248, allocations: 94.92 kB / 17 MB, free: 6.355 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001606/0.001605, allocations: 190.9 kB / 17.9 MB, free: 5.914 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.535/1.535, allocations: 227.7 MB / 246.4 MB, free: 11.52 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002674/0.0002678, allocations: 4 kB / 307.1 MB, free: 1.156 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1326/0.1329, allocations: 51.54 MB / 358.6 MB, free: 13.62 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.CauerLowPassOPV): time 0.005903/0.1388, allocations: 5.004 MB / 363.6 MB, free: 8.594 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.00316/0.142, allocations: 1.165 MB / 364.8 MB, free: 7.422 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001076/0.1431, allocations: 16 kB / 364.8 MB, free: 7.406 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005211/0.1437, allocations: 131 kB / 364.9 MB, free: 7.277 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0008253/0.1445, allocations: 230 kB / 365.2 MB, free: 7.051 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005117/0.145, allocations: 167.8 kB / 365.3 MB, free: 6.887 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0009577/0.146, allocations: 0.9816 MB / 366.3 MB, free: 5.902 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006876/0.1467, allocations: 404.2 kB / 366.7 MB, free: 5.492 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003661/0.1471, allocations: 338.8 kB / 367 MB, free: 5.16 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004584/0.1475, allocations: 386.2 kB / 367.4 MB, free: 4.781 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 8.855e-05/0.1476, allocations: 52 kB / 367.5 MB, free: 4.73 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001084/0.1477, allocations: 48 kB / 367.5 MB, free: 4.684 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000138/0.1479, allocations: 155.4 kB / 367.7 MB, free: 4.531 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001793/0.1481, allocations: 205.2 kB / 367.9 MB, free: 4.324 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007154/0.1488, allocations: 0.8064 MB / 368.7 MB, free: 3.516 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.49e-06/0.1488, allocations: 0 / 368.7 MB, free: 3.516 MB / 302.1 MB Notification: Performance of FrontEnd: time 2.004e-06/0.1488, allocations: 0 / 368.7 MB, free: 3.516 MB / 302.1 MB Notification: Performance of Transformations before backend: time 1.146e-05/0.1488, allocations: 0 / 368.7 MB, free: 3.516 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.00164/0.1505, allocations: 1.08 MB / 369.8 MB, free: 2.383 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.061e-05/0.1505, allocations: 16.03 kB / 369.8 MB, free: 2.367 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000152/0.1507, allocations: 106.8 kB / 369.9 MB, free: 2.262 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000534/0.1512, allocations: 438.1 kB / 370.3 MB, free: 1.793 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.216e-05/0.1513, allocations: 73.95 kB / 370.4 MB, free: 1.723 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000128/0.1515, allocations: 95.91 kB / 370.5 MB, free: 1.629 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001333/0.1528, allocations: 0.8713 MB / 371.3 MB, free: 0.7305 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.852e-05/0.1528, allocations: 0 / 371.3 MB, free: 0.7305 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.328e-05/0.1529, allocations: 40 kB / 371.4 MB, free: 0.6914 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.15e-05/0.1529, allocations: 27.94 kB / 371.4 MB, free: 0.6641 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009314/0.1539, allocations: 0.5661 MB / 372 MB, free: 100 kB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2662/0.42, allocations: 2.97 MB / 374.9 MB, free: 17.85 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006516/0.4208, allocations: 309 kB / 375.2 MB, free: 17.81 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004819/0.4212, allocations: 268.7 kB / 375.5 MB, free: 17.8 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.205e-05/0.4213, allocations: 4.438 kB / 375.5 MB, free: 17.8 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.889e-05/0.4213, allocations: 42.66 kB / 375.5 MB, free: 17.76 MB / 302.1 MB Notification: Performance of pre-optimization done (n=42): time 3.216e-06/0.4213, allocations: 0 / 375.5 MB, free: 17.76 MB / 302.1 MB Notification: Performance of matching and sorting (n=42): time 0.001591/0.4229, allocations: 0.666 MB / 376.2 MB, free: 17.43 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.005e-05/0.423, allocations: 56.14 kB / 376.3 MB, free: 17.37 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006789/0.4237, allocations: 0.501 MB / 376.8 MB, free: 17.12 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 3.397e-05/0.4237, allocations: 36.23 kB / 376.8 MB, free: 17.09 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002897/0.424, allocations: 487.1 kB / 377.3 MB, free: 16.7 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001367/0.4242, allocations: 157.6 kB / 377.4 MB, free: 16.59 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.651e-05/0.4242, allocations: 14.66 kB / 377.5 MB, free: 16.57 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001342/0.4243, allocations: 369 kB / 377.8 MB, free: 16.23 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003256/0.4247, allocations: 166.5 kB / 378 MB, free: 16.18 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004332/0.4251, allocations: 451.8 kB / 378.4 MB, free: 15.76 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003611/0.4255, allocations: 239.1 kB / 378.6 MB, free: 15.65 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.993e-06/0.4255, allocations: 2.781 kB / 378.7 MB, free: 15.65 MB / 302.1 MB Notification: Performance of matching and sorting (n=98) (initialization): time 0.001243/0.4267, allocations: 0.755 MB / 379.4 MB, free: 15.31 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.84e-05/0.4268, allocations: 8.938 kB / 379.4 MB, free: 15.31 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.93e-05/0.4268, allocations: 13.31 kB / 379.4 MB, free: 15.3 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000309/0.4271, allocations: 88.83 kB / 379.5 MB, free: 15.28 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006876/0.4278, allocations: 199.1 kB / 379.7 MB, free: 15.26 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001647/0.4295, allocations: 1.81 MB / 381.5 MB, free: 13.66 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004711/0.43, allocations: 86.52 kB / 381.6 MB, free: 13.6 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.193e-05/0.43, allocations: 32.22 kB / 381.6 MB, free: 13.59 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.0003073/0.4303, allocations: 224.8 kB / 381.9 MB, free: 13.4 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.66e-05/0.4304, allocations: 57.59 kB / 381.9 MB, free: 13.38 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001084/0.4305, allocations: 62.28 kB / 382 MB, free: 13.34 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.771e-06/0.4306, allocations: 3.625 kB / 382 MB, free: 13.34 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.755e-05/0.4306, allocations: 7.703 kB / 382 MB, free: 13.33 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.246e-06/0.4306, allocations: 3.609 kB / 382 MB, free: 13.33 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008545/0.4314, allocations: 0.639 MB / 382.6 MB, free: 12.97 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.928e-06/0.4315, allocations: 4.75 kB / 382.6 MB, free: 12.96 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000432/0.4319, allocations: 96.95 kB / 382.7 MB, free: 12.96 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002302/0.4321, allocations: 75.83 kB / 382.8 MB, free: 12.94 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.635e-05/0.4322, allocations: 11.08 kB / 382.8 MB, free: 12.93 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001629/0.4338, allocations: 1.789 MB / 384.6 MB, free: 11.34 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.515e-06/0.4338, allocations: 2.688 kB / 384.6 MB, free: 11.34 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001005/0.4348, allocations: 0.667 MB / 385.3 MB, free: 10.98 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001086/0.435, allocations: 140.7 kB / 385.4 MB, free: 10.84 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.148e-05/0.435, allocations: 7.062 kB / 385.4 MB, free: 10.84 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000362/0.4354, allocations: 53.91 kB / 385.5 MB, free: 10.83 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.593e-05/0.4355, allocations: 27.86 kB / 385.5 MB, free: 10.82 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.073e-05/0.4355, allocations: 14.77 kB / 385.5 MB, free: 10.82 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0004552/0.436, allocations: 347.2 kB / 385.8 MB, free: 10.65 MB / 302.1 MB Notification: Performance of sort global known variables: time 1e-07/0.436, allocations: 0 / 385.8 MB, free: 10.65 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0009841/0.437, allocations: 245.6 kB / 386.1 MB, free: 10.59 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.0001635/0.4372, allocations: 112.7 kB / 386.2 MB, free: 10.49 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.001144/0.4383, allocations: 0.5922 MB / 386.8 MB, free: 10.21 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 5.21e-06/0.4383, allocations: 1.656 kB / 386.8 MB, free: 10.21 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004691/0.4388, allocations: 317.1 kB / 387.1 MB, free: 10.02 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006499/0.4395, allocations: 116.7 kB / 387.2 MB, free: 9.973 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002678/0.4422, allocations: 1.763 MB / 389 MB, free: 8.812 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005134/0.4427, allocations: 0.9277 MB / 389.9 MB, free: 8.105 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0003566/0.443, allocations: 73.5 kB / 390 MB, free: 8.078 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.521e-05/0.4431, allocations: 38.88 kB / 390 MB, free: 8.07 MB / 302.1 MB Notification: Performance of SimCode: time 8.01e-07/0.4432, allocations: 1.312 kB / 390 MB, free: 8.07 MB / 302.1 MB Notification: Performance of Templates: time 0.01458/0.4577, allocations: 6.531 MB / 396.5 MB, free: 5.594 MB / 302.1 MB make -j1 -f Modelica_trunk_Modelica.Electrical.Analog.Examples.CauerLowPassOPV.makefile (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 & ./Modelica_trunk_Modelica.Electrical.Analog.Examples.CauerLowPassOPV -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.Analog.Examples.CauerLowPassOPV.pipe 2>&1) diffSimulationResults("Modelica_trunk_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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Electrical.Analog.Examples.CauerLowPassOPV.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches