Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.Analog.Examples.InvertingAmp.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.001863/0.001863, allocations: 77.7 kB / 21.25 MB, free: 0.5469 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.002114/0.002114, allocations: 161.3 kB / 24.5 MB, free: 3.711 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.524/1.524, allocations: 177.1 MB / 204.7 MB, free: 8.973 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.InvertingAmp,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|vIn.signalSource.y",fileNamePrefix="Modelica_trunk_Modelica.Electrical.Analog.Examples.InvertingAmp") translateModel(Modelica.Electrical.Analog.Examples.InvertingAmp,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|vIn.signalSource.y",fileNamePrefix="Modelica_trunk_Modelica.Electrical.Analog.Examples.InvertingAmp") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001932/0.001932, allocations: 61.47 kB / 325.5 MB, free: 180 kB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.109/0.111, allocations: 53.39 MB / 378.9 MB, free: 15.45 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.InvertingAmp): time 0.00452/0.1155, allocations: 2.624 MB / 381.6 MB, free: 12.81 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001373/0.1169, allocations: 0.6428 MB / 382.2 MB, free: 12.16 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001625/0.117, allocations: 11.94 kB / 382.2 MB, free: 12.15 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001745/0.1172, allocations: 47.56 kB / 382.3 MB, free: 12.11 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002108/0.1174, allocations: 99.17 kB / 382.4 MB, free: 12.01 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000266/0.1177, allocations: 87.83 kB / 382.4 MB, free: 11.92 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004634/0.1181, allocations: 374.5 kB / 382.8 MB, free: 11.55 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002189/0.1183, allocations: 87.23 kB / 382.9 MB, free: 11.47 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001848/0.1185, allocations: 147.5 kB / 383 MB, free: 11.32 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002284/0.1188, allocations: 155.2 kB / 383.2 MB, free: 11.17 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 6.038e-05/0.1188, allocations: 32 kB / 383.2 MB, free: 11.14 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.262e-05/0.1189, allocations: 36 kB / 383.3 MB, free: 11.11 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 7.906e-05/0.119, allocations: 67.83 kB / 383.3 MB, free: 11.04 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001785/0.1191, allocations: 143.3 kB / 383.5 MB, free: 10.9 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004499/0.1196, allocations: 374.5 kB / 383.8 MB, free: 10.53 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.396e-06/0.1196, allocations: 0 / 383.8 MB, free: 10.53 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.773e-06/0.1196, allocations: 0 / 383.8 MB, free: 10.53 MB / 350.1 MB Notification: Performance of Transformations before backend: time 9.588e-06/0.1196, allocations: 0 / 383.8 MB, free: 10.53 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: 60 * Number of variables: 60 Notification: Performance of Generate backend data structure: time 0.001304/0.1209, allocations: 0.5936 MB / 384.4 MB, free: 9.902 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.734e-05/0.1209, allocations: 8.031 kB / 384.4 MB, free: 9.895 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.704e-05/0.121, allocations: 36.7 kB / 384.5 MB, free: 9.859 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004346/0.1215, allocations: 226.9 kB / 384.7 MB, free: 9.609 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.837e-05/0.1215, allocations: 20.88 kB / 384.7 MB, free: 9.59 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.039e-05/0.1215, allocations: 24.38 kB / 384.7 MB, free: 9.566 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007335/0.1223, allocations: 350.4 kB / 385.1 MB, free: 9.199 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.399e-05/0.1223, allocations: 0 / 385.1 MB, free: 9.199 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.207e-05/0.1223, allocations: 15.98 kB / 385.1 MB, free: 9.184 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.016e-05/0.1223, allocations: 4 kB / 385.1 MB, free: 9.18 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008092/0.1231, allocations: 257.8 kB / 385.3 MB, free: 8.926 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001694/0.1248, allocations: 0.9281 MB / 386.3 MB, free: 7.922 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008182/0.1257, allocations: 202.5 kB / 386.5 MB, free: 7.715 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000316/0.126, allocations: 88.78 kB / 386.6 MB, free: 7.625 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.363e-05/0.126, allocations: 0 / 386.6 MB, free: 7.625 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004901/0.1265, allocations: 221.3 kB / 386.8 MB, free: 7.375 MB / 350.1 MB Notification: Performance of pre-optimization done (n=12): time 1.252e-06/0.1265, allocations: 7.938 kB / 386.8 MB, free: 7.367 MB / 350.1 MB Notification: Performance of matching and sorting (n=12): time 0.002067/0.1286, allocations: 433.9 kB / 387.2 MB, free: 6.934 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.701e-05/0.1286, allocations: 106.8 kB / 387.3 MB, free: 6.805 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003141/0.129, allocations: 269.8 kB / 387.6 MB, free: 6.531 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.216e-05/0.129, allocations: 29.7 kB / 387.6 MB, free: 6.496 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001654/0.1292, allocations: 203.9 kB / 387.8 MB, free: 6.293 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.326e-05/0.1292, allocations: 43.67 kB / 387.8 MB, free: 6.25 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.656e-05/0.1293, allocations: 53.89 kB / 387.9 MB, free: 6.188 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001557/0.1295, allocations: 330.8 kB / 388.2 MB, free: 5.855 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003564/0.1298, allocations: 121.9 kB / 388.3 MB, free: 5.73 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004534/0.1303, allocations: 283.2 kB / 388.6 MB, free: 5.387 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007118/0.131, allocations: 308.3 kB / 388.9 MB, free: 5.039 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.226e-06/0.131, allocations: 4 kB / 388.9 MB, free: 5.035 MB / 350.1 MB Notification: Performance of matching and sorting (n=29) (initialization): time 0.001281/0.1323, allocations: 449.5 kB / 389.4 MB, free: 4.574 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.789e-05/0.1323, allocations: 41.69 kB / 389.4 MB, free: 4.527 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.945e-06/0.1323, allocations: 4 kB / 389.4 MB, free: 4.523 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003672/0.1327, allocations: 72.91 kB / 389.5 MB, free: 4.449 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002498/0.1329, allocations: 55.83 kB / 389.5 MB, free: 4.395 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002421/0.1354, allocations: 1.574 MB / 391.1 MB, free: 2.719 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003389/0.1357, allocations: 51.8 kB / 391.2 MB, free: 2.668 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.521e-05/0.1357, allocations: 16.06 kB / 391.2 MB, free: 2.652 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 14 * 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 (23): * Single equations (assignments): 21 * 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,5)} Notification: Performance of prepare postOptimizeDAE: time 0.0001636/0.1359, allocations: 149.7 kB / 391.3 MB, free: 2.496 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.582e-05/0.1359, allocations: 19.86 kB / 391.3 MB, free: 2.477 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.41e-05/0.136, allocations: 29.77 kB / 391.4 MB, free: 2.449 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.643e-06/0.136, allocations: 0 / 391.4 MB, free: 2.449 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.633e-06/0.136, allocations: 0 / 391.4 MB, free: 2.449 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.216e-06/0.136, allocations: 0 / 391.4 MB, free: 2.449 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002263/0.1362, allocations: 205.4 kB / 391.6 MB, free: 2.219 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.338e-06/0.1362, allocations: 7.938 kB / 391.6 MB, free: 2.211 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001402/0.1364, allocations: 27.91 kB / 391.6 MB, free: 2.184 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002629/0.1366, allocations: 72.8 kB / 391.7 MB, free: 2.109 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.916e-05/0.1366, allocations: 0 / 391.7 MB, free: 2.109 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002242/0.1389, allocations: 1.558 MB / 393.2 MB, free: 456 kB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.052e-06/0.1389, allocations: 0 / 393.2 MB, free: 456 kB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001039/0.1399, allocations: 309.5 kB / 393.5 MB, free: 124 kB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.186e-05/0.14, allocations: 35.83 kB / 393.6 MB, free: 88 kB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.18e-05/0.14, allocations: 8 kB / 393.6 MB, free: 80 kB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002545/0.1403, allocations: 32.14 kB / 393.6 MB, free: 48 kB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.572e-05/0.1404, allocations: 23.97 kB / 393.6 MB, free: 24 kB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.348e-05/0.1404, allocations: 4 kB / 393.6 MB, free: 20 kB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002093/0.1406, allocations: 189.3 kB / 393.8 MB, free: 15.83 MB / 366.1 MB Notification: Performance of sort global known variables: time 1e-07/0.1406, allocations: 0 / 393.8 MB, free: 15.83 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0003711/0.141, allocations: 87.78 kB / 393.9 MB, free: 15.74 MB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * 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 (7): * Single equations (assignments): 4 * 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,5)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0001272/0.1411, allocations: 103 kB / 394 MB, free: 15.64 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001048/0.1421, allocations: 431.9 kB / 394.4 MB, free: 15.18 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.435e-06/0.1422, allocations: 4.25 kB / 394.4 MB, free: 15.18 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004986/0.1426, allocations: 222.5 kB / 394.6 MB, free: 14.95 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000279/0.1429, allocations: 39.64 kB / 394.7 MB, free: 14.91 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00108/0.144, allocations: 468.3 kB / 395.1 MB, free: 14.43 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001469/0.1442, allocations: 142.9 kB / 395.3 MB, free: 14.27 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001113/0.1443, allocations: 26.28 kB / 395.3 MB, free: 14.25 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.661e-05/0.1443, allocations: 16.5 kB / 395.3 MB, free: 14.23 MB / 366.1 MB Notification: Performance of SimCode: time 5.21e-07/0.1443, allocations: 4 kB / 395.3 MB, free: 14.23 MB / 366.1 MB Notification: Performance of Templates: time 0.008981/0.1533, allocations: 4.074 MB / 399.4 MB, free: 10.22 MB / 366.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Electrical.Analog.Examples.InvertingAmp.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Electrical.Analog.Examples.InvertingAmp.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.Analog.Examples.InvertingAmp.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.Analog.Examples.InvertingAmp.pipe >> ../files/Modelica_trunk_Modelica.Electrical.Analog.Examples.InvertingAmp.sim & ./Modelica_trunk_Modelica.Electrical.Analog.Examples.InvertingAmp -abortSlowSimulation -alarm=480 -s ida -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.Analog.Examples.InvertingAmp.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_trunk_Modelica.Electrical.Analog.Examples.InvertingAmp_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Analog/Examples/InvertingAmp/InvertingAmp.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Electrical.Analog.Examples.InvertingAmp.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.561142815975472]