Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.Differentiator.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.00192/0.00192, allocations: 122.5 kB / 18.51 MB, free: 4.539 MB / 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.001869/0.001869, allocations: 215.2 kB / 21.46 MB, free: 1.59 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.586/1.586, allocations: 230.2 MB / 254.5 MB, free: 15.4 MB / 206.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.Differentiator,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|der_.c.v|der_.opAmp.out.v|der_.opAmp.out.i",fileNamePrefix="Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.Differentiator") translateModel(Modelica.Electrical.Analog.Examples.OpAmps.Differentiator,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|der_.c.v|der_.opAmp.out.v|der_.opAmp.out.i",fileNamePrefix="Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.Differentiator") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001923/0.001923, allocations: 67.89 kB / 373.9 MB, free: 9.863 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1198/0.1217, allocations: 53.33 MB / 427.2 MB, free: 4.441 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.Differentiator): time 0.005097/0.1268, allocations: 2.878 MB / 430.1 MB, free: 1.551 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001824/0.1286, allocations: 0.7557 MB / 430.8 MB, free: 0.7891 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001963/0.1288, allocations: 11.94 kB / 430.8 MB, free: 0.7773 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001911/0.129, allocations: 43.58 kB / 430.9 MB, free: 0.7344 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002407/0.1292, allocations: 107.2 kB / 431 MB, free: 0.6289 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003469/0.1296, allocations: 111.8 kB / 431.1 MB, free: 0.5195 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004756/0.1301, allocations: 390.5 kB / 431.5 MB, free: 140 kB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000233/0.1303, allocations: 95.25 kB / 431.6 MB, free: 36 kB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004167/0.1307, allocations: 159.4 kB / 431.7 MB, free: 15.88 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002489/0.131, allocations: 159.4 kB / 431.9 MB, free: 15.72 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 5.712e-05/0.131, allocations: 36 kB / 431.9 MB, free: 15.69 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.471e-05/0.1311, allocations: 40 kB / 432 MB, free: 15.65 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 8.557e-05/0.1312, allocations: 75.69 kB / 432 MB, free: 15.57 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001902/0.1314, allocations: 167.2 kB / 432.2 MB, free: 15.41 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005793/0.1319, allocations: 430.3 kB / 432.6 MB, free: 14.99 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.001e-06/0.1319, allocations: 0 / 432.6 MB, free: 14.99 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.793e-06/0.1319, allocations: 0 / 432.6 MB, free: 14.99 MB / 366.1 MB Notification: Performance of Transformations before backend: time 9.368e-06/0.132, allocations: 3.938 kB / 432.6 MB, free: 14.98 MB / 366.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 59 * Number of variables: 59 Notification: Performance of Generate backend data structure: time 0.00152/0.1335, allocations: 0.6651 MB / 433.3 MB, free: 14.27 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.723e-05/0.1335, allocations: 12.03 kB / 433.3 MB, free: 14.25 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.528e-05/0.1336, allocations: 32.75 kB / 433.3 MB, free: 14.22 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000504/0.1341, allocations: 304.7 kB / 433.6 MB, free: 13.89 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.809e-05/0.1341, allocations: 16.94 kB / 433.6 MB, free: 13.87 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.71e-05/0.1342, allocations: 24.38 kB / 433.7 MB, free: 13.84 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007963/0.135, allocations: 320 kB / 434 MB, free: 13.52 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.514e-05/0.135, allocations: 4 kB / 434 MB, free: 13.52 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.983e-05/0.135, allocations: 4 kB / 434 MB, free: 13.51 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.241e-05/0.1351, allocations: 8 kB / 434 MB, free: 13.5 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000849/0.1359, allocations: 278 kB / 434.3 MB, free: 13.23 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001971/0.1379, allocations: 1.104 MB / 435.4 MB, free: 12.05 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009553/0.1388, allocations: 242.5 kB / 435.6 MB, free: 11.8 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003469/0.1392, allocations: 108.7 kB / 435.7 MB, free: 11.7 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.591e-05/0.1392, allocations: 3.938 kB / 435.7 MB, free: 11.69 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004889/0.1397, allocations: 165 kB / 435.9 MB, free: 11.51 MB / 366.1 MB Notification: Performance of pre-optimization done (n=12): time 2.164e-06/0.1397, allocations: 0 / 435.9 MB, free: 11.51 MB / 366.1 MB Notification: Performance of matching and sorting (n=12): time 0.001122/0.1408, allocations: 321.3 kB / 436.2 MB, free: 11.19 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.841e-05/0.1409, allocations: 77.11 kB / 436.3 MB, free: 11.1 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002906/0.1412, allocations: 266.6 kB / 436.5 MB, free: 10.83 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.999e-05/0.1412, allocations: 29.7 kB / 436.6 MB, free: 10.8 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001583/0.1414, allocations: 191.9 kB / 436.7 MB, free: 10.6 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.121e-05/0.1414, allocations: 51.62 kB / 436.8 MB, free: 10.55 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.807e-05/0.1415, allocations: 45.7 kB / 436.8 MB, free: 10.5 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001706/0.1417, allocations: 338.8 kB / 437.2 MB, free: 10.16 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003573/0.142, allocations: 100.2 kB / 437.3 MB, free: 10.06 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004207/0.1425, allocations: 199.5 kB / 437.5 MB, free: 9.824 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007195/0.1432, allocations: 299.7 kB / 437.8 MB, free: 9.488 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.675e-06/0.1432, allocations: 0 / 437.8 MB, free: 9.488 MB / 366.1 MB Notification: Performance of matching and sorting (n=27) (initialization): time 0.000891/0.1441, allocations: 368.9 kB / 438.1 MB, free: 9.117 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.063e-05/0.1441, allocations: 33.7 kB / 438.1 MB, free: 9.078 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.288e-05/0.1441, allocations: 4 kB / 438.1 MB, free: 9.074 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.732e-05/0.1441, allocations: 4 kB / 438.2 MB, free: 9.07 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002994/0.1444, allocations: 71.88 kB / 438.2 MB, free: 9 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.197e-06/0.1445, allocations: 4 kB / 438.2 MB, free: 8.996 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002995/0.1448, allocations: 59.75 kB / 438.3 MB, free: 8.938 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.185e-05/0.1448, allocations: 8 kB / 438.3 MB, free: 8.93 MB / 366.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 12 * Number of states: 0 () * Number of discrete variables: 5 (vIn.signalSource.count,$PRE.vIn.signalSource.count,vIn.signalSource.T_start,$PRE.vIn.signalSource.T_start,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (26): * Single equations (assignments): 25 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001619/0.1449, allocations: 149.8 kB / 438.4 MB, free: 8.773 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.688e-05/0.145, allocations: 19.86 kB / 438.5 MB, free: 8.754 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.314e-05/0.145, allocations: 25.7 kB / 438.5 MB, free: 8.723 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.386e-06/0.145, allocations: 3.938 kB / 438.5 MB, free: 8.719 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.264e-06/0.145, allocations: 3.984 kB / 438.5 MB, free: 8.715 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.761e-06/0.1451, allocations: 3.938 kB / 438.5 MB, free: 8.711 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003445/0.1454, allocations: 309.5 kB / 438.8 MB, free: 8.359 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.397e-06/0.1454, allocations: 4 kB / 438.8 MB, free: 8.355 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000245/0.1456, allocations: 39.95 kB / 438.8 MB, free: 8.316 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.984e-06/0.1456, allocations: 7.875 kB / 438.8 MB, free: 8.309 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.116e-05/0.1457, allocations: 8 kB / 438.9 MB, free: 8.301 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.446e-06/0.1457, allocations: 3.984 kB / 438.9 MB, free: 8.297 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.31e-07/0.1457, allocations: 0 / 438.9 MB, free: 8.297 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001127/0.1468, allocations: 368.7 kB / 439.2 MB, free: 7.918 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.369e-05/0.1469, allocations: 108.9 kB / 439.3 MB, free: 7.793 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.013e-05/0.1469, allocations: 0 / 439.3 MB, free: 7.793 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002352/0.1472, allocations: 31.95 kB / 439.4 MB, free: 7.762 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.596e-05/0.1472, allocations: 15.98 kB / 439.4 MB, free: 7.746 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.687e-05/0.1473, allocations: 7.938 kB / 439.4 MB, free: 7.738 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0002093/0.1475, allocations: 194 kB / 439.6 MB, free: 7.551 MB / 366.1 MB Notification: Performance of sort global known variables: time 6e-08/0.1475, allocations: 0 / 439.6 MB, free: 7.551 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0003185/0.1478, allocations: 71.78 kB / 439.6 MB, free: 7.48 MB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (der_.c.v) * Number of discrete variables: 3 ($whenCondition1,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 (12): * Single equations (assignments): 10 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.000155/0.1479, allocations: 107.2 kB / 439.7 MB, free: 7.367 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0008445/0.1488, allocations: 287.2 kB / 440 MB, free: 7.074 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.244e-06/0.1488, allocations: 0 / 440 MB, free: 7.074 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003564/0.1491, allocations: 96.42 kB / 440.1 MB, free: 6.98 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003266/0.1495, allocations: 45.05 kB / 440.2 MB, free: 6.941 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001213/0.1507, allocations: 0.5363 MB / 440.7 MB, free: 6.379 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000371/0.151, allocations: 0.7557 MB / 441.5 MB, free: 5.598 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001133/0.1512, allocations: 22.3 kB / 441.5 MB, free: 5.574 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.378e-05/0.1512, allocations: 23.42 kB / 441.5 MB, free: 5.555 MB / 366.1 MB Notification: Performance of SimCode: time 3.01e-07/0.1512, allocations: 0 / 441.5 MB, free: 5.555 MB / 366.1 MB Notification: Performance of Templates: time 0.007298/0.1585, allocations: 3.065 MB / 444.6 MB, free: 2.52 MB / 366.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.Differentiator.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.Differentiator.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.Differentiator.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.Differentiator.pipe >> ../files/Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.Differentiator.sim & ./Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.Differentiator -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.Differentiator.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.Differentiator_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Analog/Examples/OpAmps/Differentiator/Differentiator.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.Differentiator.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.803468205034733]