Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.InvertingAmplifier.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.001051/0.001051, allocations: 80.31 kB / 22.21 MB, free: 2.289 MB / 18.57 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.001575/0.001575, allocations: 174 kB / 25.61 MB, free: 8.867 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.927/0.927, allocations: 177.1 MB / 206 MB, free: 4.496 MB / 186.7 MB " [Timeout remaining time 179] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+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.OpAmps.InvertingAmplifier,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|gain.opAmp.out.v|gain.opAmp.out.i",fileNamePrefix="Modelica_4.1.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.1.0_Modelica.Electrical.Analog.Examples.OpAmps.InvertingAmplifier") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.195e-06/2.195e-06, allocations: 0 / 274.2 MB, free: 4.375 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.616e-05/2.835e-05, allocations: 9.547 kB / 274.2 MB, free: 4.367 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.InvertingAmplifier): time 0.005081/0.005109, allocations: 2.914 MB / 277.1 MB, free: 1.449 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.001822/0.006932, allocations: 0.7399 MB / 277.9 MB, free: 0.707 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002433/0.007175, allocations: 10.41 kB / 277.9 MB, free: 0.6992 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002075/0.007383, allocations: 51.5 kB / 277.9 MB, free: 0.6484 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002807/0.007664, allocations: 115 kB / 278.1 MB, free: 0.5352 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003822/0.008046, allocations: 117.8 kB / 278.2 MB, free: 432 kB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0005499/0.008596, allocations: 430.2 kB / 278.6 MB, free: 0 / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002701/0.008866, allocations: 91.75 kB / 278.7 MB, free: 15.9 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003873/0.009253, allocations: 231.5 kB / 278.9 MB, free: 15.68 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002801/0.009533, allocations: 135.6 kB / 279 MB, free: 15.54 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 7.982e-05/0.009613, allocations: 40.66 kB / 279.1 MB, free: 15.5 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 5.987e-05/0.009673, allocations: 40 kB / 279.1 MB, free: 15.46 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 7.731e-05/0.00975, allocations: 83.73 kB / 279.2 MB, free: 15.38 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001484/0.009898, allocations: 127.7 kB / 279.3 MB, free: 15.26 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004207/0.01032, allocations: 259.1 kB / 279.6 MB, free: 15 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.721e-06/0.01032, allocations: 3.938 kB / 279.6 MB, free: 15 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.162e-06/0.01033, allocations: 0 / 279.6 MB, free: 15 MB / 266.7 MB Notification: Performance of Transformations before backend: time 8.316e-06/0.01033, allocations: 0 / 279.6 MB, free: 15 MB / 266.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.001144/0.01148, allocations: 0.6895 MB / 280.3 MB, free: 14.27 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.323e-05/0.01152, allocations: 8.031 kB / 280.3 MB, free: 14.26 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001149/0.01164, allocations: 60.69 kB / 280.3 MB, free: 14.2 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003642/0.012, allocations: 236 kB / 280.6 MB, free: 13.95 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.895e-05/0.01203, allocations: 16.88 kB / 280.6 MB, free: 13.93 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.382e-05/0.01207, allocations: 28.38 kB / 280.6 MB, free: 13.9 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005333/0.01261, allocations: 300.9 kB / 280.9 MB, free: 13.57 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.377e-05/0.01262, allocations: 192 / 280.9 MB, free: 13.57 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.951e-05/0.01265, allocations: 8.375 kB / 280.9 MB, free: 13.57 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.488e-05/0.01267, allocations: 11.94 kB / 280.9 MB, free: 13.55 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001879/0.01285, allocations: 79.42 kB / 281 MB, free: 13.48 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001428/0.01428, allocations: 1.037 MB / 282 MB, free: 12.38 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002608/0.01454, allocations: 107.1 kB / 282.2 MB, free: 12.26 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.996e-05/0.0146, allocations: 31.67 kB / 282.2 MB, free: 12.22 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.055e-05/0.01462, allocations: 4 kB / 282.2 MB, free: 12.22 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002369/0.01486, allocations: 179.4 kB / 282.4 MB, free: 12 MB / 266.7 MB Notification: Performance of pre-optimization done (n=13): time 2.204e-06/0.01486, allocations: 4.156 kB / 282.4 MB, free: 12 MB / 266.7 MB Notification: Performance of matching and sorting (n=13): time 0.0009666/0.01583, allocations: 288.3 kB / 282.6 MB, free: 11.71 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.923e-05/0.01591, allocations: 114.7 kB / 282.8 MB, free: 11.57 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002951/0.0162, allocations: 304.1 kB / 283.1 MB, free: 11.26 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 3.649e-05/0.01624, allocations: 37.69 kB / 283.1 MB, free: 11.22 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001825/0.01642, allocations: 246.7 kB / 283.3 MB, free: 10.97 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.675e-05/0.01647, allocations: 43.67 kB / 283.4 MB, free: 10.93 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001134/0.01658, allocations: 59.52 kB / 283.4 MB, free: 10.86 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.00021/0.01679, allocations: 0.5001 MB / 283.9 MB, free: 10.35 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.759e-05/0.01689, allocations: 50.16 kB / 284 MB, free: 10.29 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001878/0.01708, allocations: 241.6 kB / 284.2 MB, free: 9.98 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002297/0.01731, allocations: 212.1 kB / 284.4 MB, free: 9.719 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.461e-06/0.01731, allocations: 4 kB / 284.4 MB, free: 9.715 MB / 266.7 MB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0005728/0.01788, allocations: 307.9 kB / 284.7 MB, free: 9.395 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.115e-05/0.01794, allocations: 33.7 kB / 284.8 MB, free: 9.355 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.046e-05/0.01795, allocations: 4 kB / 284.8 MB, free: 9.352 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003744/0.01832, allocations: 83.95 kB / 284.8 MB, free: 9.266 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001498/0.01847, allocations: 43.91 kB / 284.9 MB, free: 9.223 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001692/0.02016, allocations: 2.122 MB / 287 MB, free: 6.984 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000231/0.02039, allocations: 39.83 kB / 287.1 MB, free: 6.945 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.03e-05/0.02041, allocations: 8 kB / 287.1 MB, free: 6.938 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 0.0001488/0.02056, allocations: 180.5 kB / 287.2 MB, free: 6.75 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.796e-05/0.02061, allocations: 31.78 kB / 287.3 MB, free: 6.719 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.368e-05/0.02065, allocations: 25.78 kB / 287.3 MB, free: 6.688 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.906e-06/0.02066, allocations: 0 / 287.3 MB, free: 6.688 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.727e-06/0.02066, allocations: 3.984 kB / 287.3 MB, free: 6.684 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.837e-06/0.02067, allocations: 0 / 287.3 MB, free: 6.684 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002005/0.02087, allocations: 177.1 kB / 287.5 MB, free: 6.484 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.795e-06/0.02087, allocations: 0 / 287.5 MB, free: 6.484 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.043e-05/0.02094, allocations: 15.98 kB / 287.5 MB, free: 6.469 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002107/0.02115, allocations: 83.69 kB / 287.6 MB, free: 6.383 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.116e-05/0.02116, allocations: 4 kB / 287.6 MB, free: 6.379 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009584/0.02212, allocations: 1.854 MB / 289.4 MB, free: 4.41 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.91e-07/0.02212, allocations: 0 / 289.4 MB, free: 4.41 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000254/0.02237, allocations: 211.8 kB / 289.6 MB, free: 4.176 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.644e-05/0.0224, allocations: 23.86 kB / 289.7 MB, free: 4.152 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.165e-05/0.02242, allocations: 0 / 289.7 MB, free: 4.152 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.047e-05/0.02251, allocations: 27.97 kB / 289.7 MB, free: 4.125 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.115e-05/0.02256, allocations: 23.84 kB / 289.7 MB, free: 4.102 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.995e-06/0.02257, allocations: 4 kB / 289.7 MB, free: 4.098 MB / 266.7 MB Notification: Performance of sorting global known variables: time 9.737e-05/0.02267, allocations: 201.1 kB / 289.9 MB, free: 3.902 MB / 266.7 MB Notification: Performance of sort global known variables: time 7e-08/0.02267, allocations: 0 / 289.9 MB, free: 3.902 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0002989/0.02297, allocations: 83.84 kB / 290 MB, free: 3.82 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 0.0001454/0.02311, allocations: 107.2 kB / 290.1 MB, free: 3.707 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0003557/0.02347, allocations: 370.9 kB / 290.5 MB, free: 3.309 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.914e-06/0.02347, allocations: 0 / 290.5 MB, free: 3.309 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001648/0.02364, allocations: 238 kB / 290.7 MB, free: 3.055 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002253/0.02386, allocations: 52.59 kB / 290.7 MB, free: 3.004 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007564/0.02462, allocations: 446.4 kB / 291.2 MB, free: 2.543 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.133e-05/0.02467, allocations: 84.31 kB / 291.3 MB, free: 2.441 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 7.16e-05/0.02474, allocations: 22.3 kB / 291.3 MB, free: 2.418 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001293/0.02487, allocations: 122.2 kB / 291.4 MB, free: 2.297 MB / 266.7 MB Notification: Performance of SimCode: time 6.01e-07/0.02487, allocations: 3.938 kB / 291.4 MB, free: 2.293 MB / 266.7 MB Notification: Performance of Templates: time 0.006399/0.03127, allocations: 4.556 MB / 296 MB, free: 13.81 MB / 282.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.InvertingAmplifier.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.InvertingAmplifier.pipe ; mkfifo Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.InvertingAmplifier.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.InvertingAmplifier.pipe >> ../files/Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.InvertingAmplifier.sim & ./Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.InvertingAmplifier -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.InvertingAmplifier.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.InvertingAmplifier_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.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.8450616183690727]