Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.InvertingAmplifier.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001252/0.001252, allocations: 119.4 kB / 18.41 MB, free: 4.648 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001354/0.001354, allocations: 192.3 kB / 21.35 MB, free: 1.711 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.484/1.484, allocations: 222.9 MB / 247 MB, free: 4.203 MB / 190.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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.OpAmps.InvertingAmplifier,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|gain.opAmp.out.v|gain.opAmp.out.i",fileNamePrefix="Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.InvertingAmplifier") translateModel(Modelica.Electrical.Analog.Examples.OpAmps.InvertingAmplifier,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|gain.opAmp.out.v|gain.opAmp.out.i",fileNamePrefix="Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.InvertingAmplifier") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001532/0.001532, allocations: 51.92 kB / 358.7 MB, free: 8.289 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09912/0.1007, allocations: 49.44 MB / 408.1 MB, free: 6.809 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.InvertingAmplifier): time 0.004402/0.1051, allocations: 2.925 MB / 411.1 MB, free: 3.871 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001437/0.1066, allocations: 0.7285 MB / 411.8 MB, free: 3.137 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001704/0.1068, allocations: 11.94 kB / 411.8 MB, free: 3.125 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001863/0.107, allocations: 47.5 kB / 411.8 MB, free: 3.078 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000203/0.1072, allocations: 95.19 kB / 411.9 MB, free: 2.984 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003275/0.1075, allocations: 123.8 kB / 412.1 MB, free: 2.863 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004787/0.108, allocations: 418.4 kB / 412.5 MB, free: 2.453 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002642/0.1083, allocations: 127.2 kB / 412.6 MB, free: 2.32 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002071/0.1085, allocations: 159.4 kB / 412.7 MB, free: 2.164 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002282/0.1088, allocations: 171.2 kB / 412.9 MB, free: 1.996 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 6.57e-05/0.1088, allocations: 40 kB / 413 MB, free: 1.957 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.708e-05/0.1089, allocations: 40 kB / 413 MB, free: 1.918 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 8.401e-05/0.109, allocations: 83.69 kB / 413.1 MB, free: 1.836 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001915/0.1092, allocations: 167.3 kB / 413.2 MB, free: 1.672 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005426/0.1097, allocations: 466.2 kB / 413.7 MB, free: 1.215 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.747e-06/0.1098, allocations: 0 / 413.7 MB, free: 1.215 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.232e-06/0.1098, allocations: 0 / 413.7 MB, free: 1.215 MB / 334.1 MB Notification: Performance of Transformations before backend: time 6.763e-06/0.1098, allocations: 0 / 413.7 MB, free: 1.215 MB / 334.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 61 * Number of variables: 61 Notification: Performance of Generate backend data structure: time 0.001373/0.1111, allocations: 0.6728 MB / 414.4 MB, free: 500 kB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.119e-05/0.1112, allocations: 15.89 kB / 414.4 MB, free: 484 kB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.416e-05/0.1113, allocations: 36.69 kB / 414.4 MB, free: 448 kB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004859/0.1118, allocations: 307.7 kB / 414.7 MB, free: 100 kB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.683e-05/0.1118, allocations: 20.94 kB / 414.7 MB, free: 80 kB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.966e-05/0.1119, allocations: 24.31 kB / 414.8 MB, free: 56 kB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007856/0.1127, allocations: 335.9 kB / 415.1 MB, free: 15.72 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.253e-05/0.1127, allocations: 0 / 415.1 MB, free: 15.72 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.448e-05/0.1127, allocations: 8 kB / 415.1 MB, free: 15.71 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.18e-05/0.1128, allocations: 4 kB / 415.1 MB, free: 15.71 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008694/0.1136, allocations: 286.1 kB / 415.4 MB, free: 15.43 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002021/0.1157, allocations: 1.151 MB / 416.5 MB, free: 14.2 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009216/0.1166, allocations: 250.5 kB / 416.8 MB, free: 13.95 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003727/0.117, allocations: 108.8 kB / 416.9 MB, free: 13.84 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.549e-05/0.117, allocations: 0 / 416.9 MB, free: 13.84 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000525/0.1175, allocations: 185.8 kB / 417.1 MB, free: 13.63 MB / 350.1 MB Notification: Performance of pre-optimization done (n=13): time 1.282e-06/0.1176, allocations: 0 / 417.1 MB, free: 13.63 MB / 350.1 MB Notification: Performance of matching and sorting (n=13): time 0.002557/0.1201, allocations: 0.6706 MB / 417.7 MB, free: 12.94 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.255e-05/0.1202, allocations: 106.8 kB / 417.8 MB, free: 12.81 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000373/0.1206, allocations: 274.7 kB / 418.1 MB, free: 12.53 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.968e-05/0.1207, allocations: 33.7 kB / 418.1 MB, free: 12.49 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001779/0.1208, allocations: 208 kB / 418.3 MB, free: 12.29 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.588e-05/0.1209, allocations: 43.69 kB / 418.4 MB, free: 12.24 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001038/0.121, allocations: 49.89 kB / 418.4 MB, free: 12.18 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.000176/0.1212, allocations: 342.8 kB / 418.8 MB, free: 11.84 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003887/0.1216, allocations: 100.6 kB / 418.9 MB, free: 11.74 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004654/0.1221, allocations: 202.5 kB / 419.1 MB, free: 11.5 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007856/0.1229, allocations: 315.7 kB / 419.4 MB, free: 11.15 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.136e-06/0.1229, allocations: 0 / 419.4 MB, free: 11.15 MB / 350.1 MB Notification: Performance of matching and sorting (n=28) (initialization): time 0.001361/0.1242, allocations: 477.5 kB / 419.8 MB, free: 10.67 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.062e-05/0.1243, allocations: 29.7 kB / 419.9 MB, free: 10.64 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.226e-05/0.1243, allocations: 4 kB / 419.9 MB, free: 10.63 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004195/0.1247, allocations: 84.86 kB / 420 MB, free: 10.55 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002276/0.125, allocations: 51.89 kB / 420 MB, free: 10.5 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00305/0.128, allocations: 2.002 MB / 422 MB, free: 8.355 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003658/0.1284, allocations: 51.75 kB / 422.1 MB, free: 8.305 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.013e-05/0.1285, allocations: 15.97 kB / 422.1 MB, free: 8.289 MB / 350.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 (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,4)} Notification: Performance of prepare postOptimizeDAE: time 0.0002076/0.1287, allocations: 164.1 kB / 422.2 MB, free: 8.121 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.155e-05/0.1287, allocations: 19.86 kB / 422.3 MB, free: 8.102 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.277e-05/0.1288, allocations: 29.83 kB / 422.3 MB, free: 8.066 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.573e-06/0.1288, allocations: 0 / 422.3 MB, free: 8.066 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.649e-06/0.1288, allocations: 4 kB / 422.3 MB, free: 8.062 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.198e-06/0.1288, allocations: 0 / 422.3 MB, free: 8.062 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003559/0.1292, allocations: 317.4 kB / 422.6 MB, free: 7.703 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.364e-06/0.1292, allocations: 3.938 kB / 422.6 MB, free: 7.699 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001449/0.1293, allocations: 27.97 kB / 422.6 MB, free: 7.672 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002998/0.1296, allocations: 80.8 kB / 422.7 MB, free: 7.59 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.572e-05/0.1297, allocations: 4 kB / 422.7 MB, free: 7.586 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002607/0.1323, allocations: 1.816 MB / 424.5 MB, free: 5.625 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.322e-06/0.1323, allocations: 4.062 kB / 424.5 MB, free: 5.621 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001169/0.1335, allocations: 365.5 kB / 424.9 MB, free: 5.242 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.507e-05/0.1336, allocations: 101 kB / 425 MB, free: 5.125 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.93e-05/0.1336, allocations: 4 kB / 425 MB, free: 5.121 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002604/0.1339, allocations: 39.95 kB / 425 MB, free: 5.082 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.734e-05/0.134, allocations: 19.97 kB / 425.1 MB, free: 5.062 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.372e-05/0.134, allocations: 3.984 kB / 425.1 MB, free: 5.059 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002369/0.1343, allocations: 205.9 kB / 425.3 MB, free: 4.859 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.41e-07/0.1343, allocations: 0 / 425.3 MB, free: 4.859 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0004099/0.1347, allocations: 83.78 kB / 425.3 MB, free: 4.777 MB / 350.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 (9): * Single equations (assignments): 6 * 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,4)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0001767/0.1349, allocations: 115.2 kB / 425.5 MB, free: 4.652 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001159/0.136, allocations: 425.8 kB / 425.9 MB, free: 4.211 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 3.176e-06/0.136, allocations: 4 kB / 425.9 MB, free: 4.207 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005318/0.1366, allocations: 231.1 kB / 426.1 MB, free: 3.969 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003442/0.1369, allocations: 54.03 kB / 426.1 MB, free: 3.914 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001182/0.1381, allocations: 0.5091 MB / 426.7 MB, free: 3.375 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004074/0.1386, allocations: 0.7634 MB / 427.4 MB, free: 2.582 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.195e-05/0.1386, allocations: 19.44 kB / 427.4 MB, free: 2.566 MB / 350.1 MB Notification: Performance of SimCode: time 4.61e-07/0.1386, allocations: 4 kB / 427.4 MB, free: 2.562 MB / 350.1 MB Notification: Performance of Templates: time 0.1936/0.3322, allocations: 4.751 MB / 432.2 MB, free: 22.35 MB / 350.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.InvertingAmplifier.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.InvertingAmplifier.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.InvertingAmplifier.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.InvertingAmplifier.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.InvertingAmplifier.sim & ./Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.InvertingAmplifier -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.InvertingAmplifier.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.InvertingAmplifier_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Analog/Examples/OpAmps/InvertingAmplifier/InvertingAmplifier.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.InvertingAmplifier.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: 7.532136118039489]