Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_Modelica.Electrical.Analog.Examples.CauerLowPassAnalog.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.CauerLowPassAnalog,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|C1.v|C3.v|C5.v|L1.i|L2.i",fileNamePrefix="Modelica_3.2.3_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_3.2.3_Modelica.Electrical.Analog.Examples.CauerLowPassAnalog") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009844/0.0009846, allocations: 95.45 kB / 17.3 MB, free: 6.344 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.0009041/0.0009045, allocations: 179.8 kB / 18.21 MB, free: 5.531 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.784/1.784, allocations: 205.4 MB / 224.4 MB, free: 13.07 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.0005813/0.0005807, allocations: 8 kB / 281.4 MB, free: 3.434 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1225/0.1231, allocations: 47.59 MB / 329 MB, free: 3.773 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.CauerLowPassAnalog): time 0.003129/0.1262, allocations: 2.437 MB / 331.4 MB, free: 1.316 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.001144/0.1274, allocations: 0.6437 MB / 332 MB, free: 0.6641 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001364/0.1276, allocations: 8 kB / 332 MB, free: 0.6562 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001447/0.1277, allocations: 43.62 kB / 332.1 MB, free: 0.6133 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001801/0.1279, allocations: 71.38 kB / 332.2 MB, free: 0.543 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000217/0.1281, allocations: 71.92 kB / 332.2 MB, free: 484 kB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003626/0.1285, allocations: 334.9 kB / 332.5 MB, free: 148 kB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003027/0.1288, allocations: 119.5 kB / 332.7 MB, free: 28 kB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000157/0.129, allocations: 111.7 kB / 332.8 MB, free: 15.91 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002075/0.1292, allocations: 135.3 kB / 332.9 MB, free: 15.78 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 4.205e-05/0.1293, allocations: 16 kB / 332.9 MB, free: 15.77 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.635e-05/0.1293, allocations: 20 kB / 332.9 MB, free: 15.75 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 5.704e-05/0.1294, allocations: 51.77 kB / 333 MB, free: 15.7 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001448/0.1295, allocations: 161 kB / 333.2 MB, free: 15.53 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002978/0.1298, allocations: 334.7 kB / 333.5 MB, free: 15.21 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.458e-06/0.1299, allocations: 0 / 333.5 MB, free: 15.21 MB / 286.1 MB Notification: Performance of FrontEnd: time 2.023e-06/0.1299, allocations: 3.938 kB / 333.5 MB, free: 15.2 MB / 286.1 MB Notification: Performance of Transformations before backend: time 6.111e-06/0.1299, allocations: 0 / 333.5 MB, free: 15.2 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: 69 * Number of variables: 69 Notification: Performance of Generate backend data structure: time 0.0008301/0.1307, allocations: 0.5459 MB / 334 MB, free: 14.61 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.079e-05/0.1308, allocations: 12.03 kB / 334 MB, free: 14.6 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.365e-05/0.1308, allocations: 32.56 kB / 334.1 MB, free: 14.57 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002983/0.1312, allocations: 251.8 kB / 334.3 MB, free: 14.28 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.663e-05/0.1312, allocations: 28.94 kB / 334.3 MB, free: 14.25 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.248e-05/0.1313, allocations: 28.38 kB / 334.4 MB, free: 14.23 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004582/0.1317, allocations: 253.1 kB / 334.6 MB, free: 13.97 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.208e-05/0.1317, allocations: 3.938 kB / 334.6 MB, free: 13.97 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.059e-05/0.1318, allocations: 12 kB / 334.6 MB, free: 13.96 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.023e-05/0.1318, allocations: 8 kB / 334.6 MB, free: 13.95 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003393/0.1321, allocations: 190.2 kB / 334.8 MB, free: 13.77 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001598/0.1338, allocations: 1.029 MB / 335.9 MB, free: 12.66 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004754/0.1342, allocations: 328.9 kB / 336.2 MB, free: 12.29 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002369/0.1345, allocations: 144.8 kB / 336.3 MB, free: 12.14 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.029e-05/0.1345, allocations: 0 / 336.3 MB, free: 12.14 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.263e-05/0.1346, allocations: 38.55 kB / 336.4 MB, free: 12.1 MB / 286.1 MB Notification: Performance of pre-optimization done (n=21): time 1.212e-06/0.1346, allocations: 4 kB / 336.4 MB, free: 12.09 MB / 286.1 MB Notification: Performance of matching and sorting (n=25): time 0.001507/0.1361, allocations: 0.7753 MB / 337.1 MB, free: 11.26 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.902e-05/0.1361, allocations: 55.41 kB / 337.2 MB, free: 11.2 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001898/0.1363, allocations: 198.2 kB / 337.4 MB, free: 10.99 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 2.48e-05/0.1364, allocations: 33.64 kB / 337.4 MB, free: 10.95 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001012/0.1365, allocations: 168.3 kB / 337.6 MB, free: 10.78 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.21e-05/0.1365, allocations: 90.66 kB / 337.7 MB, free: 10.69 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.074e-05/0.1366, allocations: 29.7 kB / 337.7 MB, free: 10.66 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0001189/0.1367, allocations: 334.8 kB / 338 MB, free: 10.32 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001359/0.1369, allocations: 76.53 kB / 338.1 MB, free: 10.25 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001626/0.137, allocations: 102.7 kB / 338.2 MB, free: 10.14 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002851/0.1373, allocations: 189.7 kB / 338.4 MB, free: 9.949 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.192e-06/0.1373, allocations: 0 / 338.4 MB, free: 9.949 MB / 286.1 MB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0005301/0.1379, allocations: 318 kB / 338.7 MB, free: 9.629 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.945e-05/0.1379, allocations: 4 kB / 338.7 MB, free: 9.625 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.125e-06/0.1379, allocations: 4.078 kB / 338.7 MB, free: 9.621 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002712/0.1382, allocations: 92.77 kB / 338.8 MB, free: 9.527 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001781/0.1384, allocations: 43.92 kB / 338.8 MB, free: 9.484 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002002/0.1404, allocations: 1.905 MB / 340.7 MB, free: 7.445 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001239/0.1405, allocations: 12.09 kB / 340.8 MB, free: 7.434 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.734e-05/0.1406, allocations: 12 kB / 340.8 MB, free: 7.422 MB / 286.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.0001872/0.1407, allocations: 139.8 kB / 340.9 MB, free: 7.277 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.122e-05/0.1408, allocations: 31.67 kB / 340.9 MB, free: 7.246 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.835e-05/0.1409, allocations: 25.88 kB / 341 MB, free: 7.223 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.228e-06/0.1409, allocations: 4 kB / 341 MB, free: 7.219 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.025e-05/0.1409, allocations: 4 kB / 341 MB, free: 7.215 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.212e-06/0.1409, allocations: 7.984 kB / 341 MB, free: 7.207 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001042/0.142, allocations: 0.7528 MB / 341.7 MB, free: 6.395 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.934e-06/0.142, allocations: 0 / 341.7 MB, free: 6.395 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001771/0.1422, allocations: 35.97 kB / 341.8 MB, free: 6.359 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001907/0.1424, allocations: 80.58 kB / 341.8 MB, free: 6.277 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.736e-05/0.1424, allocations: 8 kB / 341.8 MB, free: 6.27 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001649/0.144, allocations: 1.788 MB / 343.6 MB, free: 4.348 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.097e-06/0.1441, allocations: 3.984 kB / 343.6 MB, free: 4.344 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006602/0.1447, allocations: 463.9 kB / 344.1 MB, free: 3.871 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.509e-05/0.1448, allocations: 96.91 kB / 344.2 MB, free: 3.758 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.95e-05/0.1448, allocations: 12 kB / 344.2 MB, free: 3.746 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001831/0.145, allocations: 15.98 kB / 344.2 MB, free: 3.73 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.169e-05/0.1451, allocations: 19.91 kB / 344.2 MB, free: 3.711 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.37e-05/0.1451, allocations: 8 kB / 344.2 MB, free: 3.703 MB / 286.1 MB Notification: Performance of sorting global known variables: time 0.0001198/0.1452, allocations: 144.2 kB / 344.4 MB, free: 3.562 MB / 286.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.1452, allocations: 0 / 344.4 MB, free: 3.562 MB / 286.1 MB Notification: Performance of remove unused functions: time 0.0004218/0.1457, allocations: 84 kB / 344.5 MB, free: 3.48 MB / 286.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.0001529/0.1458, allocations: 103.2 kB / 344.6 MB, free: 3.371 MB / 286.1 MB Notification: Performance of simCode: created initialization part: time 0.0006861/0.1465, allocations: 374.6 kB / 344.9 MB, free: 2.992 MB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 3.166e-06/0.1465, allocations: 3.938 kB / 344.9 MB, free: 2.988 MB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004335/0.147, allocations: 254.9 kB / 345.2 MB, free: 2.727 MB / 286.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004845/0.1475, allocations: 39.94 kB / 345.2 MB, free: 2.688 MB / 286.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001456/0.1489, allocations: 0.9755 MB / 346.2 MB, free: 1.688 MB / 286.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000435/0.1494, allocations: 0.7675 MB / 347 MB, free: 0.8945 MB / 286.1 MB Notification: Performance of simCode: alias equations: time 9.174e-05/0.1495, allocations: 22.28 kB / 347 MB, free: 0.8711 MB / 286.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.006e-05/0.1496, allocations: 15.44 kB / 347 MB, free: 0.8555 MB / 286.1 MB Notification: Performance of SimCode: time 9.32e-07/0.1496, allocations: 0 / 347 MB, free: 0.8555 MB / 286.1 MB Notification: Performance of Templates: time 0.006679/0.1562, allocations: 2.991 MB / 350 MB, free: 13.87 MB / 302.1 MB make -j1 -f Modelica_3.2.3_Modelica.Electrical.Analog.Examples.CauerLowPassAnalog.makefile (rm -f Modelica_3.2.3_Modelica.Electrical.Analog.Examples.CauerLowPassAnalog.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.Analog.Examples.CauerLowPassAnalog.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.Analog.Examples.CauerLowPassAnalog.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.Analog.Examples.CauerLowPassAnalog.sim & ./Modelica_3.2.3_Modelica.Electrical.Analog.Examples.CauerLowPassAnalog -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Electrical.Analog.Examples.CauerLowPassAnalog.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Electrical.Analog.Examples.CauerLowPassAnalog_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Electrical/Analog/Examples/CauerLowPassAnalog/CauerLowPassAnalog.csv","../files/Modelica_3.2.3_Modelica.Electrical.Analog.Examples.CauerLowPassAnalog.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches