Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.LowPass.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001526/0.001526, allocations: 79.73 kB / 21.25 MB, free: 396 kB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001542/0.001542, allocations: 165 kB / 24.5 MB, free: 3.453 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.463/1.463, allocations: 177.1 MB / 204.7 MB, free: 9.023 MB / 190.1 MB " [Timeout remaining time 178] 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.OpAmps.LowPass,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|firstOrder.c.v|firstOrder.opAmp.out.v|firstOrder.opAmp.out.i",fileNamePrefix="Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.LowPass") translateModel(Modelica.Electrical.Analog.Examples.OpAmps.LowPass,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|firstOrder.c.v|firstOrder.opAmp.out.v|firstOrder.opAmp.out.i",fileNamePrefix="Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.LowPass") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001942/0.001942, allocations: 61.14 kB / 325.6 MB, free: 216 kB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1264/0.1284, allocations: 53.39 MB / 378.9 MB, free: 15.5 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.LowPass): time 0.005174/0.1335, allocations: 2.897 MB / 381.8 MB, free: 12.58 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001638/0.1352, allocations: 0.7364 MB / 382.6 MB, free: 11.84 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001887/0.1354, allocations: 11.88 kB / 382.6 MB, free: 11.83 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002057/0.1356, allocations: 55.48 kB / 382.6 MB, free: 11.77 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000261/0.1358, allocations: 127 kB / 382.8 MB, free: 11.65 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003225/0.1362, allocations: 107.8 kB / 382.9 MB, free: 11.54 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005654/0.1367, allocations: 458.2 kB / 383.3 MB, free: 11.09 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002467/0.137, allocations: 95.44 kB / 383.4 MB, free: 11 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003318/0.1373, allocations: 183.3 kB / 383.6 MB, free: 10.82 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002765/0.1376, allocations: 171.1 kB / 383.8 MB, free: 10.65 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 6.861e-05/0.1376, allocations: 48 kB / 383.8 MB, free: 10.61 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.343e-05/0.1377, allocations: 44 kB / 383.8 MB, free: 10.56 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001044/0.1378, allocations: 87.69 kB / 383.9 MB, free: 10.48 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002142/0.1381, allocations: 167.2 kB / 384.1 MB, free: 10.31 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006248/0.1387, allocations: 0.5059 MB / 384.6 MB, free: 9.805 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.909e-06/0.1387, allocations: 0 / 384.6 MB, free: 9.805 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.784e-06/0.1387, allocations: 0 / 384.6 MB, free: 9.805 MB / 350.1 MB Notification: Performance of Transformations before backend: time 7.834e-06/0.1387, allocations: 0 / 384.6 MB, free: 9.805 MB / 350.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 71 * Number of variables: 71 Notification: Performance of Generate backend data structure: time 0.001459/0.1402, allocations: 0.6315 MB / 385.2 MB, free: 9.133 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.154e-05/0.1402, allocations: 11.98 kB / 385.2 MB, free: 9.121 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.774e-05/0.1403, allocations: 44.7 kB / 385.3 MB, free: 9.078 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005258/0.1408, allocations: 269.3 kB / 385.6 MB, free: 8.793 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.08e-05/0.1408, allocations: 25.03 kB / 385.6 MB, free: 8.77 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.095e-05/0.1409, allocations: 24.38 kB / 385.6 MB, free: 8.746 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007695/0.1417, allocations: 387.1 kB / 386 MB, free: 8.344 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.362e-05/0.1417, allocations: 0 / 386 MB, free: 8.344 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.249e-05/0.1417, allocations: 12 kB / 386 MB, free: 8.332 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.006e-05/0.1417, allocations: 11.94 kB / 386 MB, free: 8.32 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000743/0.1425, allocations: 290.4 kB / 386.3 MB, free: 8.035 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002051/0.1445, allocations: 0.9926 MB / 387.3 MB, free: 6.984 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000668/0.1452, allocations: 222.4 kB / 387.5 MB, free: 6.758 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000375/0.1456, allocations: 120.8 kB / 387.6 MB, free: 6.637 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.627e-05/0.1456, allocations: 4 kB / 387.6 MB, free: 6.633 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005009/0.1461, allocations: 279.2 kB / 387.9 MB, free: 6.32 MB / 350.1 MB Notification: Performance of pre-optimization done (n=20): time 1.793e-06/0.1461, allocations: 0 / 387.9 MB, free: 6.32 MB / 350.1 MB Notification: Performance of matching and sorting (n=20): time 0.001597/0.1477, allocations: 429.9 kB / 388.3 MB, free: 5.891 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001135/0.1478, allocations: 136.5 kB / 388.4 MB, free: 5.727 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003528/0.1482, allocations: 285.8 kB / 388.7 MB, free: 5.441 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.523e-05/0.1482, allocations: 33.7 kB / 388.8 MB, free: 5.402 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001917/0.1484, allocations: 212.3 kB / 389 MB, free: 5.188 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.086e-05/0.1484, allocations: 67.44 kB / 389 MB, free: 5.121 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001078/0.1485, allocations: 61.97 kB / 389.1 MB, free: 5.055 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001779/0.1487, allocations: 334.8 kB / 389.4 MB, free: 4.719 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003277/0.1491, allocations: 125.9 kB / 389.5 MB, free: 4.59 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005014/0.1496, allocations: 328.3 kB / 389.9 MB, free: 4.207 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006708/0.1502, allocations: 315.4 kB / 390.2 MB, free: 3.859 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.055e-06/0.1502, allocations: 0 / 390.2 MB, free: 3.859 MB / 350.1 MB Notification: Performance of matching and sorting (n=35) (initialization): time 0.001062/0.1513, allocations: 453.2 kB / 390.6 MB, free: 3.395 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.11e-05/0.1513, allocations: 41.69 kB / 390.7 MB, free: 3.348 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.938e-06/0.1514, allocations: 4 kB / 390.7 MB, free: 3.344 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003174/0.1517, allocations: 57 kB / 390.7 MB, free: 3.285 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004345/0.1521, allocations: 67.88 kB / 390.8 MB, free: 3.219 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001863/0.154, allocations: 1.478 MB / 392.3 MB, free: 1.633 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003286/0.1543, allocations: 51.75 kB / 392.3 MB, free: 1.582 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.696e-05/0.1543, allocations: 16 kB / 392.3 MB, free: 1.566 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 11 * Number of states: 0 () * Number of discrete variables: 7 (vIn.signalSource.count,$PRE.vIn.signalSource.count,vIn.signalSource.T_start,$PRE.vIn.signalSource.T_start,firstOrder.opAmp.satNeg,firstOrder.opAmp.satPos,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (32): * Single equations (assignments): 30 * Array equations: 0 * Algorithm blocks: 1 * 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): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,2)} Notification: Performance of prepare postOptimizeDAE: time 0.0002022/0.1545, allocations: 165.6 kB / 392.5 MB, free: 1.395 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.284e-05/0.1546, allocations: 23.86 kB / 392.5 MB, free: 1.371 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.974e-05/0.1546, allocations: 30.17 kB / 392.5 MB, free: 1.34 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.56e-06/0.1546, allocations: 7.938 kB / 392.5 MB, free: 1.332 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.346e-06/0.1546, allocations: 0 / 392.5 MB, free: 1.332 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.198e-06/0.1546, allocations: 0 / 392.5 MB, free: 1.332 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001323/0.156, allocations: 0.6361 MB / 393.2 MB, free: 0.6523 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.235e-06/0.156, allocations: 96 / 393.2 MB, free: 0.6523 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002329/0.1562, allocations: 47.89 kB / 393.2 MB, free: 0.6055 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002309/0.1564, allocations: 56.75 kB / 393.3 MB, free: 0.5469 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.249e-05/0.1565, allocations: 7.984 kB / 393.3 MB, free: 0.5391 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001837/0.1583, allocations: 1.466 MB / 394.8 MB, free: 14.97 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.446e-06/0.1583, allocations: 3.938 kB / 394.8 MB, free: 14.96 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001197/0.1595, allocations: 0.5037 MB / 395.3 MB, free: 14.44 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.859e-05/0.1595, allocations: 39.7 kB / 395.3 MB, free: 14.4 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.821e-05/0.1596, allocations: 8 kB / 395.3 MB, free: 14.39 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002801/0.1599, allocations: 32.03 kB / 395.3 MB, free: 14.36 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.353e-05/0.1599, allocations: 23.95 kB / 395.4 MB, free: 14.34 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.497e-05/0.16, allocations: 4 kB / 395.4 MB, free: 14.34 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0002435/0.1602, allocations: 205.2 kB / 395.6 MB, free: 14.13 MB / 366.1 MB Notification: Performance of sort global known variables: time 9e-08/0.1602, allocations: 0 / 395.6 MB, free: 14.13 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0003966/0.1606, allocations: 83.89 kB / 395.7 MB, free: 14.05 MB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 1 (firstOrder.c.v) * Number of discrete variables: 5 ($whenCondition1,firstOrder.opAmp.satPos,firstOrder.opAmp.satNeg,vIn.signalSource.T_start,vIn.signalSource.count) * Number of discrete states: 1 (vIn.signalSource.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (18): * Single equations (assignments): 15 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,2)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0001605/0.1608, allocations: 109.4 kB / 395.8 MB, free: 13.94 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001053/0.1618, allocations: 449.5 kB / 396.2 MB, free: 13.47 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.575e-06/0.1618, allocations: 0 / 396.2 MB, free: 13.47 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004681/0.1623, allocations: 251.2 kB / 396.4 MB, free: 13.21 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004138/0.1627, allocations: 48.28 kB / 396.5 MB, free: 13.16 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001749/0.1645, allocations: 0.6626 MB / 397.2 MB, free: 12.48 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001894/0.1646, allocations: 165 kB / 397.3 MB, free: 12.29 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001459/0.1648, allocations: 34.95 kB / 397.3 MB, free: 12.26 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.905e-05/0.1649, allocations: 24.5 kB / 397.4 MB, free: 12.23 MB / 366.1 MB Notification: Performance of SimCode: time 5.51e-07/0.1649, allocations: 0 / 397.4 MB, free: 12.23 MB / 366.1 MB Notification: Performance of Templates: time 0.011/0.1759, allocations: 4.555 MB / 401.9 MB, free: 7.738 MB / 366.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.LowPass.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.LowPass.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.LowPass.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.LowPass.pipe >> ../files/Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.LowPass.sim & ./Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.LowPass -abortSlowSimulation -alarm=480 -s ida -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.LowPass.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.LowPass_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Analog/Examples/OpAmps/LowPass/LowPass.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.LowPass.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 4.620184430037625]