Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.Analog.Examples.CauerLowPassAnalog.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.CauerLowPassAnalog,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|C1.v|C3.v|C5.v|L1.i|L2.i",fileNamePrefix="Modelica_trunk_Modelica.Electrical.Analog.Examples.CauerLowPassAnalog") translateModel(Modelica.Electrical.Analog.Examples.CauerLowPassAnalog,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|C1.v|C3.v|C5.v|L1.i|L2.i",fileNamePrefix="Modelica_trunk_Modelica.Electrical.Analog.Examples.CauerLowPassAnalog") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0007809/0.0007809, allocations: 94.02 kB / 18 MB, free: 5.602 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.000958/0.0009581, allocations: 201.5 kB / 18.93 MB, free: 4.719 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.338/1.338, allocations: 227.7 MB / 247.5 MB, free: 9.332 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002858/0.0002862, allocations: 8 kB / 308.4 MB, free: 0.5586 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1287/0.129, allocations: 51.52 MB / 359.9 MB, free: 13.04 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.CauerLowPassAnalog): time 0.003416/0.1325, allocations: 2.497 MB / 362.4 MB, free: 10.52 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.001549/0.1341, allocations: 0.6507 MB / 363.1 MB, free: 9.867 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003256/0.1344, allocations: 4 kB / 363.1 MB, free: 9.863 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002262/0.1347, allocations: 35.69 kB / 363.1 MB, free: 9.828 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004291/0.1351, allocations: 79.36 kB / 363.2 MB, free: 9.75 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002933/0.1354, allocations: 59.95 kB / 363.2 MB, free: 9.691 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005027/0.136, allocations: 334.9 kB / 363.6 MB, free: 9.363 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002983/0.1363, allocations: 119.9 kB / 363.7 MB, free: 9.246 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002208/0.1365, allocations: 119.5 kB / 363.8 MB, free: 9.129 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002687/0.1368, allocations: 123.4 kB / 363.9 MB, free: 9.008 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 5.511e-05/0.1368, allocations: 16 kB / 363.9 MB, free: 8.992 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.827e-05/0.1369, allocations: 16 kB / 363.9 MB, free: 8.977 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 6.047e-05/0.137, allocations: 51.77 kB / 364 MB, free: 8.926 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001883/0.1372, allocations: 172.9 kB / 364.2 MB, free: 8.75 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000284/0.1375, allocations: 259.5 kB / 364.4 MB, free: 8.496 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.14e-06/0.1375, allocations: 0 / 364.4 MB, free: 8.496 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.703e-06/0.1375, allocations: 0 / 364.4 MB, free: 8.496 MB / 302.1 MB Notification: Performance of Transformations before backend: time 1.577e-05/0.1375, allocations: 0 / 364.4 MB, free: 8.496 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: 69 * Number of variables: 69 Notification: Performance of Generate backend data structure: time 0.001029/0.1385, allocations: 0.5497 MB / 365 MB, free: 7.898 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.211e-05/0.1386, allocations: 12.03 kB / 365 MB, free: 7.887 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000122/0.1387, allocations: 36.56 kB / 365 MB, free: 7.852 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003775/0.1391, allocations: 251.8 kB / 365.3 MB, free: 7.566 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.407e-05/0.1392, allocations: 32.88 kB / 365.3 MB, free: 7.531 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.15e-05/0.1392, allocations: 28.38 kB / 365.3 MB, free: 7.504 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005161/0.1398, allocations: 253.2 kB / 365.6 MB, free: 7.254 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.187e-05/0.1398, allocations: 0 / 365.6 MB, free: 7.254 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.643e-05/0.1398, allocations: 12 kB / 365.6 MB, free: 7.242 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.075e-05/0.1398, allocations: 8 kB / 365.6 MB, free: 7.234 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003773/0.1402, allocations: 186.2 kB / 365.8 MB, free: 7.055 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001821/0.142, allocations: 1.029 MB / 366.8 MB, free: 5.945 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004425/0.1425, allocations: 331.7 kB / 367.1 MB, free: 5.582 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002359/0.1428, allocations: 156.7 kB / 367.3 MB, free: 5.426 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.459e-05/0.1428, allocations: 0 / 367.3 MB, free: 5.426 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.578e-05/0.1428, allocations: 38.56 kB / 367.3 MB, free: 5.379 MB / 302.1 MB Notification: Performance of pre-optimization done (n=21): time 1.312e-06/0.1428, allocations: 0 / 367.3 MB, free: 5.379 MB / 302.1 MB Notification: Performance of matching and sorting (n=25): time 0.00162/0.1445, allocations: 0.7886 MB / 368.1 MB, free: 4.535 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.24e-05/0.1445, allocations: 55.41 kB / 368.1 MB, free: 4.469 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002113/0.1447, allocations: 198.9 kB / 368.3 MB, free: 4.262 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 2.859e-05/0.1448, allocations: 29.7 kB / 368.4 MB, free: 4.227 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001207/0.1449, allocations: 164.3 kB / 368.5 MB, free: 4.062 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.956e-05/0.145, allocations: 90.66 kB / 368.6 MB, free: 3.973 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.72e-05/0.145, allocations: 33.7 kB / 368.7 MB, free: 3.934 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001471/0.1452, allocations: 334.8 kB / 369 MB, free: 3.598 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001451/0.1453, allocations: 76.53 kB / 369.1 MB, free: 3.523 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001764/0.1455, allocations: 103.6 kB / 369.2 MB, free: 3.418 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003098/0.1459, allocations: 186.2 kB / 369.3 MB, free: 3.23 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.142e-06/0.1459, allocations: 0 / 369.3 MB, free: 3.23 MB / 302.1 MB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0005631/0.1464, allocations: 322 kB / 369.7 MB, free: 2.906 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.306e-05/0.1465, allocations: 6.969 kB / 369.7 MB, free: 2.902 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.078e-05/0.1465, allocations: 8.031 kB / 369.7 MB, free: 2.895 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002906/0.1468, allocations: 80.81 kB / 369.7 MB, free: 2.812 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001943/0.147, allocations: 47.95 kB / 369.8 MB, free: 2.766 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002074/0.1491, allocations: 1.897 MB / 371.7 MB, free: 0.7344 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001366/0.1492, allocations: 8.031 kB / 371.7 MB, free: 0.7266 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.988e-05/0.1493, allocations: 12 kB / 371.7 MB, free: 0.7148 MB / 302.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * 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 (22): * Single equations (assignments): 21 * 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 {(2,10,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001823/0.1494, allocations: 149.2 kB / 371.9 MB, free: 0.5625 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.742e-05/0.1495, allocations: 19.72 kB / 371.9 MB, free: 0.543 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.655e-05/0.1496, allocations: 29.86 kB / 371.9 MB, free: 0.5156 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.923e-06/0.1496, allocations: 4 kB / 371.9 MB, free: 0.5117 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.036e-05/0.1496, allocations: 8.156 kB / 371.9 MB, free: 0.5039 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.687e-06/0.1496, allocations: 3.938 kB / 371.9 MB, free: 0.5 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.2156/0.3652, allocations: 0.7359 MB / 372.7 MB, free: 18.77 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.221e-06/0.3652, allocations: 4.656 kB / 372.7 MB, free: 18.77 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002207/0.3655, allocations: 41.52 kB / 372.7 MB, free: 18.77 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002546/0.3657, allocations: 71.03 kB / 372.8 MB, free: 18.76 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.674e-05/0.3658, allocations: 6.438 kB / 372.8 MB, free: 18.76 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001519/0.3673, allocations: 1.791 MB / 374.6 MB, free: 17.45 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.595e-06/0.3673, allocations: 1.781 kB / 374.6 MB, free: 17.45 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006626/0.368, allocations: 478 kB / 375 MB, free: 17.29 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.104e-05/0.3681, allocations: 94.41 kB / 375.1 MB, free: 17.2 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.942e-05/0.3681, allocations: 9.172 kB / 375.1 MB, free: 17.2 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001711/0.3683, allocations: 15.67 kB / 375.2 MB, free: 17.2 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.734e-05/0.3683, allocations: 19.95 kB / 375.2 MB, free: 17.2 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.996e-05/0.3684, allocations: 6.266 kB / 375.2 MB, free: 17.2 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0001516/0.3685, allocations: 141.1 kB / 375.3 MB, free: 17.12 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.3685, allocations: 0 / 375.3 MB, free: 17.12 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0004957/0.369, allocations: 81.66 kB / 375.4 MB, free: 17.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,C3.v,C5.v,L1.i,L2.i) * 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 (16): * Single equations (assignments): 15 * 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.0001409/0.3692, allocations: 109.5 kB / 375.5 MB, free: 17.03 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0007508/0.37, allocations: 372.2 kB / 375.9 MB, free: 16.9 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 4.008e-06/0.37, allocations: 0.5 kB / 375.9 MB, free: 16.9 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004241/0.3704, allocations: 265.5 kB / 376.1 MB, free: 16.78 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000388/0.3708, allocations: 34.03 kB / 376.2 MB, free: 16.78 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001399/0.3722, allocations: 1.007 MB / 377.2 MB, free: 16.16 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002861/0.3725, allocations: 0.7652 MB / 377.9 MB, free: 15.46 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.801e-05/0.3726, allocations: 17.81 kB / 377.9 MB, free: 15.45 MB / 302.1 MB Notification: Performance of SimCode: time 9.12e-07/0.3726, allocations: 0 / 377.9 MB, free: 15.45 MB / 302.1 MB Notification: Performance of Templates: time 0.008048/0.3806, allocations: 3.984 MB / 381.9 MB, free: 15.22 MB / 302.1 MB make -j1 -f Modelica_trunk_Modelica.Electrical.Analog.Examples.CauerLowPassAnalog.makefile (rm -f Modelica_trunk_Modelica.Electrical.Analog.Examples.CauerLowPassAnalog.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.Analog.Examples.CauerLowPassAnalog.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.Analog.Examples.CauerLowPassAnalog.pipe >> ../files/Modelica_trunk_Modelica.Electrical.Analog.Examples.CauerLowPassAnalog.sim & ./Modelica_trunk_Modelica.Electrical.Analog.Examples.CauerLowPassAnalog -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.Analog.Examples.CauerLowPassAnalog.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Electrical.Analog.Examples.CauerLowPassAnalog_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Analog/Examples/CauerLowPassAnalog/CauerLowPassAnalog.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Electrical.Analog.Examples.CauerLowPassAnalog.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches