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.001477/0.001477, allocations: 72.08 kB / 21.69 MB, free: 2.859 MB / 18.57 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.001794/0.001794, allocations: 142.3 kB / 24.97 MB, free: 8.324 MB / 18.57 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 0.9778/0.9778, allocations: 173.4 MB / 201.5 MB, free: 9.324 MB / 186.7 MB " [Timeout remaining time 179] 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 1.443e-06/1.443e-06, allocations: 3.938 kB / 268.1 MB, free: 6.684 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.152e-05/2.296e-05, allocations: 2.312 kB / 268.1 MB, free: 6.68 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.InvertingAmplifier): time 0.002805/0.002828, allocations: 2.931 MB / 271.1 MB, free: 3.73 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.001045/0.003873, allocations: 0.7128 MB / 271.8 MB, free: 3.012 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001337/0.004007, allocations: 7.938 kB / 271.8 MB, free: 3.004 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001426/0.004149, allocations: 51.5 kB / 271.8 MB, free: 2.953 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001497/0.004299, allocations: 107.1 kB / 271.9 MB, free: 2.848 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002554/0.004554, allocations: 123.8 kB / 272 MB, free: 2.727 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003337/0.004888, allocations: 426.2 kB / 272.5 MB, free: 2.309 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001629/0.005051, allocations: 87.64 kB / 272.5 MB, free: 2.219 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000214/0.005265, allocations: 235.5 kB / 272.8 MB, free: 1.988 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001439/0.005409, allocations: 131.7 kB / 272.9 MB, free: 1.859 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 4.418e-05/0.005453, allocations: 40 kB / 272.9 MB, free: 1.82 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 3.554e-05/0.005488, allocations: 43.94 kB / 273 MB, free: 1.777 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 5.346e-05/0.005542, allocations: 83.72 kB / 273.1 MB, free: 1.695 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 9.244e-05/0.005634, allocations: 119.7 kB / 273.2 MB, free: 1.578 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002474/0.005882, allocations: 259.1 kB / 273.4 MB, free: 1.324 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.406e-06/0.005885, allocations: 4 kB / 273.4 MB, free: 1.32 MB / 250.7 MB Notification: Performance of FrontEnd: time 6.32e-07/0.005886, allocations: 4 kB / 273.4 MB, free: 1.316 MB / 250.7 MB Notification: Performance of Transformations before backend: time 4.96e-06/0.005891, allocations: 0 / 273.4 MB, free: 1.316 MB / 250.7 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.0007728/0.006664, allocations: 0.6856 MB / 274.1 MB, free: 0.5859 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.506e-05/0.006699, allocations: 11.97 kB / 274.1 MB, free: 0.5742 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.646e-05/0.006785, allocations: 56.75 kB / 274.2 MB, free: 0.5195 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002742/0.007059, allocations: 240 kB / 274.4 MB, free: 264 kB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.922e-05/0.007079, allocations: 20.81 kB / 274.5 MB, free: 244 kB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.776e-05/0.007106, allocations: 24.38 kB / 274.5 MB, free: 220 kB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003982/0.007504, allocations: 313 kB / 274.8 MB, free: 15.88 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.937e-06/0.007513, allocations: 192 / 274.8 MB, free: 15.88 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.974e-05/0.007533, allocations: 4.375 kB / 274.8 MB, free: 15.88 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.122e-05/0.007544, allocations: 11.94 kB / 274.8 MB, free: 15.86 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001786/0.007723, allocations: 106.9 kB / 274.9 MB, free: 15.76 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001029/0.008752, allocations: 1.029 MB / 275.9 MB, free: 14.66 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002441/0.008996, allocations: 119.1 kB / 276.1 MB, free: 14.54 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.767e-05/0.009064, allocations: 43.66 kB / 276.1 MB, free: 14.49 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.763e-05/0.009081, allocations: 0 / 276.1 MB, free: 14.49 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001779/0.009259, allocations: 183.4 kB / 276.3 MB, free: 14.27 MB / 266.7 MB Notification: Performance of pre-optimization done (n=13): time 1.193e-06/0.00926, allocations: 0 / 276.3 MB, free: 14.27 MB / 266.7 MB Notification: Performance of matching and sorting (n=13): time 0.000691/0.009951, allocations: 312.9 kB / 276.6 MB, free: 13.95 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.564e-05/0.009997, allocations: 106.8 kB / 276.7 MB, free: 13.82 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000218/0.01022, allocations: 308.2 kB / 277 MB, free: 13.5 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 2.584e-05/0.01024, allocations: 33.7 kB / 277 MB, free: 13.46 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001072/0.01035, allocations: 242.8 kB / 277.3 MB, free: 13.22 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.791e-05/0.01038, allocations: 47.83 kB / 277.3 MB, free: 13.18 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.113e-05/0.01044, allocations: 55.55 kB / 277.4 MB, free: 13.11 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.000117/0.01055, allocations: 0.5117 MB / 277.9 MB, free: 12.59 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.969e-05/0.01063, allocations: 62.14 kB / 277.9 MB, free: 12.52 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00014/0.01077, allocations: 245.6 kB / 278.2 MB, free: 12.2 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001863/0.01096, allocations: 216.8 kB / 278.4 MB, free: 11.94 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.647e-06/0.01096, allocations: 4 kB / 278.4 MB, free: 11.93 MB / 266.7 MB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0004035/0.01137, allocations: 324.4 kB / 278.7 MB, free: 11.59 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.126e-05/0.0114, allocations: 37.69 kB / 278.7 MB, free: 11.55 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.763e-06/0.01141, allocations: 4 kB / 278.7 MB, free: 11.55 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002737/0.01168, allocations: 79.7 kB / 278.8 MB, free: 11.46 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.807e-05/0.01178, allocations: 47.91 kB / 278.9 MB, free: 11.42 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001152/0.01293, allocations: 2.137 MB / 281 MB, free: 9.156 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001341/0.01306, allocations: 47.81 kB / 281 MB, free: 9.109 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.548e-05/0.01308, allocations: 8 kB / 281.1 MB, free: 9.102 MB / 266.7 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 9.808e-05/0.01318, allocations: 176.5 kB / 281.2 MB, free: 8.918 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.925e-05/0.01321, allocations: 31.8 kB / 281.3 MB, free: 8.887 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.716e-05/0.01323, allocations: 21.77 kB / 281.3 MB, free: 8.863 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.683e-06/0.01323, allocations: 4 kB / 281.3 MB, free: 8.859 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.222e-06/0.01324, allocations: 4.031 kB / 281.3 MB, free: 8.855 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.076e-06/0.01324, allocations: 0 / 281.3 MB, free: 8.855 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001604/0.0134, allocations: 220.5 kB / 281.5 MB, free: 8.605 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.373e-06/0.0134, allocations: 0 / 281.5 MB, free: 8.605 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.944e-05/0.01345, allocations: 24.05 kB / 281.5 MB, free: 8.582 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001768/0.01363, allocations: 79.56 kB / 281.6 MB, free: 8.5 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.172e-05/0.01364, allocations: 8 kB / 281.6 MB, free: 8.492 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009026/0.01454, allocations: 1.885 MB / 283.5 MB, free: 6.484 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.212e-06/0.01454, allocations: 0 / 283.5 MB, free: 6.484 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002736/0.01482, allocations: 219.2 kB / 283.7 MB, free: 6.246 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.438e-05/0.01484, allocations: 24.05 kB / 283.7 MB, free: 6.223 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.117e-05/0.01486, allocations: 7.938 kB / 283.7 MB, free: 6.215 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.271e-05/0.01494, allocations: 32 kB / 283.8 MB, free: 6.184 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.716e-05/0.015, allocations: 15.97 kB / 283.8 MB, free: 6.168 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.674e-06/0.01501, allocations: 4 kB / 283.8 MB, free: 6.164 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0001145/0.01512, allocations: 213.1 kB / 284 MB, free: 5.957 MB / 266.7 MB Notification: Performance of sort global known variables: time 1.31e-07/0.01512, allocations: 0 / 284 MB, free: 5.957 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0002364/0.01536, allocations: 79.84 kB / 284.1 MB, free: 5.879 MB / 266.7 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 9.345e-05/0.01545, allocations: 107.2 kB / 284.2 MB, free: 5.762 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0004076/0.01586, allocations: 393.9 kB / 284.6 MB, free: 5.34 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.643e-06/0.01586, allocations: 0 / 284.6 MB, free: 5.34 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001584/0.01602, allocations: 237.4 kB / 284.8 MB, free: 5.086 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002084/0.01623, allocations: 41.03 kB / 284.8 MB, free: 5.047 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007286/0.01696, allocations: 442.9 kB / 285.3 MB, free: 4.586 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.619e-05/0.017, allocations: 84.31 kB / 285.4 MB, free: 4.484 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 6.438e-05/0.01707, allocations: 26.28 kB / 285.4 MB, free: 4.461 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.325e-05/0.01711, allocations: 24.5 kB / 285.4 MB, free: 4.438 MB / 266.7 MB Notification: Performance of SimCode: time 8.21e-07/0.01711, allocations: 0 / 285.4 MB, free: 4.438 MB / 266.7 MB Notification: Performance of Templates: time 0.005558/0.02267, allocations: 4.157 MB / 289.6 MB, free: 344 kB / 266.7 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=240 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.InvertingAmplifier.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.InvertingAmplifier_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Analog/Examples/OpAmps/InvertingAmplifier/InvertingAmplifier.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.7222107420675457]