Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Electrical.Analog.Examples.InvertingAmp.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001669/0.001669, allocations: 88.86 kB / 21.44 MB, free: 276 kB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001759/0.001759, allocations: 163.3 kB / 24.71 MB, free: 3.527 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.392/1.392, allocations: 158.6 MB / 186.5 MB, free: 6.402 MB / 174.1 MB " [Timeout remaining time 178] 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.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Modelica.Electrical.Analog.Examples.InvertingAmp,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|vIn.signalSource.y",fileNamePrefix="Modelica_3.2.3_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_3.2.3_Modelica.Electrical.Analog.Examples.InvertingAmp") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.144e-06/2.144e-06, allocations: 0 / 299 MB, free: 8.719 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.554e-05/3.768e-05, allocations: 2.281 kB / 299 MB, free: 8.715 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.InvertingAmp): time 0.005094/0.005131, allocations: 2.559 MB / 301.5 MB, free: 6.133 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.001501/0.006632, allocations: 0.6709 MB / 302.2 MB, free: 5.453 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001838/0.006816, allocations: 4 kB / 302.2 MB, free: 5.449 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001929/0.007009, allocations: 47.52 kB / 302.2 MB, free: 5.402 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002325/0.007242, allocations: 95.12 kB / 302.3 MB, free: 5.309 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003318/0.007573, allocations: 95.8 kB / 302.4 MB, free: 5.215 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005382/0.008112, allocations: 390.3 kB / 302.8 MB, free: 4.832 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002539/0.008366, allocations: 87.25 kB / 302.9 MB, free: 4.75 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003991/0.008765, allocations: 219.4 kB / 303.1 MB, free: 4.535 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002378/0.009002, allocations: 127.6 kB / 303.2 MB, free: 4.41 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 8.213e-05/0.009085, allocations: 36 kB / 303.3 MB, free: 4.375 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.46e-05/0.009149, allocations: 32 kB / 303.3 MB, free: 4.344 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 8.742e-05/0.009237, allocations: 75.69 kB / 303.4 MB, free: 4.27 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001768/0.009413, allocations: 111.7 kB / 303.5 MB, free: 4.16 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004959/0.009909, allocations: 394.8 kB / 303.9 MB, free: 3.773 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.929e-06/0.009914, allocations: 0 / 303.9 MB, free: 3.773 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.322e-06/0.009916, allocations: 0 / 303.9 MB, free: 3.773 MB / 286.1 MB Notification: Performance of Transformations before backend: time 7.584e-06/0.009923, allocations: 0 / 303.9 MB, free: 3.773 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: 60 * Number of variables: 60 Notification: Performance of Generate backend data structure: time 0.001459/0.01138, allocations: 0.5819 MB / 304.5 MB, free: 3.156 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.31e-05/0.01143, allocations: 11.97 kB / 304.5 MB, free: 3.145 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000104/0.01153, allocations: 36.7 kB / 304.5 MB, free: 3.109 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004533/0.01198, allocations: 222.2 kB / 304.7 MB, free: 2.863 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.226e-05/0.01201, allocations: 20.88 kB / 304.7 MB, free: 2.844 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.491e-05/0.01206, allocations: 24.38 kB / 304.8 MB, free: 2.82 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007813/0.01284, allocations: 350.7 kB / 305.1 MB, free: 2.453 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.277e-05/0.01285, allocations: 192 / 305.1 MB, free: 2.453 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.51e-05/0.01289, allocations: 8.375 kB / 305.1 MB, free: 2.445 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.476e-05/0.0129, allocations: 11.94 kB / 305.1 MB, free: 2.434 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008446/0.01375, allocations: 249.8 kB / 305.4 MB, free: 2.191 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001872/0.01562, allocations: 0.9321 MB / 306.3 MB, free: 1.188 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008613/0.01648, allocations: 206.5 kB / 306.5 MB, free: 0.9766 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004141/0.0169, allocations: 84.8 kB / 306.6 MB, free: 0.8906 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.749e-05/0.01692, allocations: 0 / 306.6 MB, free: 0.8906 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005413/0.01746, allocations: 229.2 kB / 306.8 MB, free: 0.6328 MB / 286.1 MB Notification: Performance of pre-optimization done (n=12): time 1.403e-06/0.01747, allocations: 4 kB / 306.8 MB, free: 0.6289 MB / 286.1 MB Notification: Performance of matching and sorting (n=12): time 0.002354/0.01982, allocations: 433.8 kB / 307.2 MB, free: 200 kB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.206e-05/0.01991, allocations: 110.8 kB / 307.3 MB, free: 64 kB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003691/0.02028, allocations: 265.8 kB / 307.6 MB, free: 15.79 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 4.523e-05/0.02033, allocations: 33.7 kB / 307.6 MB, free: 15.75 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001777/0.0205, allocations: 203.9 kB / 307.8 MB, free: 15.55 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.96e-05/0.02055, allocations: 39.69 kB / 307.9 MB, free: 15.51 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001045/0.02066, allocations: 53.89 kB / 307.9 MB, free: 15.45 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001772/0.02083, allocations: 330.8 kB / 308.2 MB, free: 15.12 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003867/0.02122, allocations: 125.8 kB / 308.4 MB, free: 14.99 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005805/0.0218, allocations: 283.2 kB / 308.6 MB, free: 14.64 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007878/0.02259, allocations: 305.3 kB / 308.9 MB, free: 14.3 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.136e-06/0.02259, allocations: 8 kB / 309 MB, free: 14.29 MB / 302.1 MB Notification: Performance of matching and sorting (n=29) (initialization): time 0.001349/0.02394, allocations: 449.5 kB / 309.4 MB, free: 13.83 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.125e-05/0.02399, allocations: 41.69 kB / 309.4 MB, free: 13.78 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.089e-05/0.024, allocations: 4 kB / 309.4 MB, free: 13.78 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003746/0.02438, allocations: 68.91 kB / 309.5 MB, free: 13.71 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002312/0.02461, allocations: 51.89 kB / 309.6 MB, free: 13.66 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002771/0.02738, allocations: 1.576 MB / 311.1 MB, free: 11.98 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003702/0.02775, allocations: 51.8 kB / 311.2 MB, free: 11.93 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.296e-05/0.02778, allocations: 20.06 kB / 311.2 MB, free: 11.91 MB / 302.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.0001987/0.02798, allocations: 141.8 kB / 311.3 MB, free: 11.76 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.238e-05/0.02802, allocations: 27.8 kB / 311.4 MB, free: 11.73 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.526e-05/0.02808, allocations: 25.77 kB / 311.4 MB, free: 11.71 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.274e-06/0.02808, allocations: 0 / 311.4 MB, free: 11.71 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.464e-06/0.02808, allocations: 0 / 311.4 MB, free: 11.71 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.827e-06/0.02809, allocations: 0 / 311.4 MB, free: 11.71 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003074/0.0284, allocations: 209.1 kB / 311.6 MB, free: 11.47 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.385e-06/0.0284, allocations: 0 / 311.6 MB, free: 11.47 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001277/0.02853, allocations: 23.92 kB / 311.6 MB, free: 11.45 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000286/0.02881, allocations: 64.8 kB / 311.7 MB, free: 11.38 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.155e-05/0.02883, allocations: 11.94 kB / 311.7 MB, free: 11.37 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002603/0.03144, allocations: 1.562 MB / 313.3 MB, free: 9.711 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.062e-06/0.03144, allocations: 0 / 313.3 MB, free: 9.711 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001098/0.03254, allocations: 305.6 kB / 313.6 MB, free: 9.391 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.392e-05/0.03263, allocations: 39.77 kB / 313.6 MB, free: 9.352 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.267e-05/0.03267, allocations: 11.94 kB / 313.6 MB, free: 9.34 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002553/0.03293, allocations: 27.97 kB / 313.6 MB, free: 9.312 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.838e-05/0.03303, allocations: 23.95 kB / 313.7 MB, free: 9.289 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.187e-05/0.03304, allocations: 4 kB / 313.7 MB, free: 9.285 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0002063/0.03324, allocations: 185.2 kB / 313.8 MB, free: 9.105 MB / 302.1 MB Notification: Performance of sort global known variables: time 8e-08/0.03324, allocations: 0 / 313.8 MB, free: 9.105 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0003883/0.03363, allocations: 83.84 kB / 313.9 MB, free: 9.023 MB / 302.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.0001455/0.03378, allocations: 95.25 kB / 314 MB, free: 8.918 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.001075/0.03485, allocations: 436 kB / 314.4 MB, free: 8.461 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 1.994e-06/0.03485, allocations: 4.125 kB / 314.4 MB, free: 8.457 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004929/0.03535, allocations: 222.5 kB / 314.7 MB, free: 8.227 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002893/0.03564, allocations: 32.47 kB / 314.7 MB, free: 8.195 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001085/0.03672, allocations: 447.8 kB / 315.1 MB, free: 7.73 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001529/0.03687, allocations: 146.9 kB / 315.3 MB, free: 7.57 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0001216/0.037, allocations: 26.28 kB / 315.3 MB, free: 7.543 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.864e-05/0.03707, allocations: 20.5 kB / 315.3 MB, free: 7.52 MB / 302.1 MB Notification: Performance of SimCode: time 4.31e-07/0.03708, allocations: 0 / 315.3 MB, free: 7.52 MB / 302.1 MB Notification: Performance of Templates: time 0.0126/0.04967, allocations: 4.043 MB / 319.4 MB, free: 3.477 MB / 302.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_3.2.3_Modelica.Electrical.Analog.Examples.InvertingAmp.makefile [Timeout 660] (rm -f Modelica_3.2.3_Modelica.Electrical.Analog.Examples.InvertingAmp.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.Analog.Examples.InvertingAmp.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.Analog.Examples.InvertingAmp.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.Analog.Examples.InvertingAmp.sim & ./Modelica_3.2.3_Modelica.Electrical.Analog.Examples.InvertingAmp -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Electrical.Analog.Examples.InvertingAmp.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_3.2.3_Modelica.Electrical.Analog.Examples.InvertingAmp_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Electrical/Analog/Examples/InvertingAmp/InvertingAmp.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_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.4241369143128395]