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.001381/0.001381, allocations: 92.31 kB / 20.96 MB, free: 3.473 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.001458/0.001458, allocations: 161.7 kB / 24.27 MB, free: 172 kB / 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 1.498/1.498, allocations: 177.2 MB / 204.6 MB, free: 5.605 MB / 186.7 MB " [Timeout remaining time 178] 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.515e-06/2.515e-06, allocations: 0 / 272.4 MB, free: 1.789 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.968e-05/4.22e-05, allocations: 2.312 kB / 272.4 MB, free: 1.785 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.InvertingAmplifier): time 0.006752/0.006794, allocations: 2.76 MB / 275.1 MB, free: 15.01 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.002306/0.0091, allocations: 0.74 MB / 275.9 MB, free: 14.26 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002464/0.009346, allocations: 4 kB / 275.9 MB, free: 14.26 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002656/0.009612, allocations: 47.5 kB / 275.9 MB, free: 14.21 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003811/0.009993, allocations: 107.1 kB / 276 MB, free: 14.11 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005177/0.01051, allocations: 119.8 kB / 276.1 MB, free: 13.99 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0008062/0.01132, allocations: 430.2 kB / 276.6 MB, free: 13.57 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003095/0.01163, allocations: 91.61 kB / 276.6 MB, free: 13.48 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004894/0.01212, allocations: 227.5 kB / 276.9 MB, free: 13.25 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003086/0.01242, allocations: 131.6 kB / 277 MB, free: 13.12 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001011/0.01253, allocations: 40 kB / 277 MB, free: 13.09 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.727e-05/0.01262, allocations: 43.94 kB / 277.1 MB, free: 13.04 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001334/0.01276, allocations: 83.67 kB / 277.2 MB, free: 12.96 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.000254/0.01301, allocations: 127.7 kB / 277.3 MB, free: 12.84 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001139/0.01415, allocations: 458.6 kB / 277.7 MB, free: 12.39 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.58e-06/0.01415, allocations: 0 / 277.7 MB, free: 12.39 MB / 266.7 MB Notification: Performance of FrontEnd: time 2.604e-06/0.01416, allocations: 0 / 277.7 MB, free: 12.39 MB / 266.7 MB Notification: Performance of Transformations before backend: time 7.565e-06/0.01416, allocations: 0 / 277.7 MB, free: 12.39 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.001977/0.01614, allocations: 0.6053 MB / 278.3 MB, free: 11.75 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.352e-05/0.01619, allocations: 8.031 kB / 278.3 MB, free: 11.74 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001979/0.01639, allocations: 64.69 kB / 278.4 MB, free: 11.68 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007363/0.01713, allocations: 249.2 kB / 278.7 MB, free: 11.41 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.504e-05/0.01717, allocations: 16.88 kB / 278.7 MB, free: 11.39 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.126e-05/0.01725, allocations: 24.38 kB / 278.7 MB, free: 11.36 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001228/0.01847, allocations: 378.7 kB / 279.1 MB, free: 10.97 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.453e-05/0.01849, allocations: 4.188 kB / 279.1 MB, free: 10.96 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.852e-05/0.01854, allocations: 8.375 kB / 279.1 MB, free: 10.96 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.122e-05/0.01856, allocations: 11.94 kB / 279.1 MB, free: 10.95 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001316/0.01987, allocations: 277.8 kB / 279.4 MB, free: 10.68 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002939/0.02281, allocations: 1 MB / 280.4 MB, free: 9.613 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001248/0.02406, allocations: 246.5 kB / 280.6 MB, free: 9.363 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005418/0.0246, allocations: 100.8 kB / 280.7 MB, free: 9.262 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.539e-05/0.02464, allocations: 4 kB / 280.7 MB, free: 9.258 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008049/0.02544, allocations: 241.2 kB / 280.9 MB, free: 8.988 MB / 266.7 MB Notification: Performance of pre-optimization done (n=13): time 1.974e-06/0.02544, allocations: 0 / 280.9 MB, free: 8.988 MB / 266.7 MB Notification: Performance of matching and sorting (n=13): time 0.003693/0.02914, allocations: 0.5838 MB / 281.5 MB, free: 8.395 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001418/0.02928, allocations: 118.8 kB / 281.6 MB, free: 8.254 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005553/0.02983, allocations: 269.8 kB / 281.9 MB, free: 7.98 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 5.045e-05/0.02988, allocations: 29.7 kB / 281.9 MB, free: 7.945 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002708/0.03015, allocations: 208 kB / 282.1 MB, free: 7.738 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.152e-05/0.03023, allocations: 39.69 kB / 282.2 MB, free: 7.699 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001626/0.03039, allocations: 53.89 kB / 282.2 MB, free: 7.637 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0002758/0.03066, allocations: 330.8 kB / 282.5 MB, free: 7.305 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006097/0.03127, allocations: 138.1 kB / 282.7 MB, free: 7.164 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007967/0.03207, allocations: 285.9 kB / 283 MB, free: 6.824 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00119/0.03326, allocations: 305.2 kB / 283.3 MB, free: 6.484 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.178e-06/0.03327, allocations: 0 / 283.3 MB, free: 6.484 MB / 266.7 MB Notification: Performance of matching and sorting (n=28) (initialization): time 0.001973/0.03524, allocations: 0.5091 MB / 283.8 MB, free: 5.953 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.182e-05/0.0353, allocations: 29.7 kB / 283.8 MB, free: 5.918 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.452e-05/0.03531, allocations: 4 kB / 283.8 MB, free: 5.914 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009985/0.03631, allocations: 144.8 kB / 283.9 MB, free: 5.77 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003286/0.03664, allocations: 47.91 kB / 284 MB, free: 5.723 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004579/0.04122, allocations: 1.856 MB / 285.8 MB, free: 3.766 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005555/0.04178, allocations: 59.81 kB / 285.9 MB, free: 3.707 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.653e-05/0.04181, allocations: 11.98 kB / 285.9 MB, free: 3.695 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.0002759/0.04209, allocations: 149 kB / 286.1 MB, free: 3.543 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.418e-05/0.04217, allocations: 31.8 kB / 286.1 MB, free: 3.512 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.983e-05/0.04225, allocations: 25.98 kB / 286.1 MB, free: 3.477 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.847e-06/0.04226, allocations: 4 kB / 286.1 MB, free: 3.473 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.717e-06/0.04226, allocations: 11.88 kB / 286.1 MB, free: 3.461 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.519e-06/0.04227, allocations: 0 / 286.1 MB, free: 3.461 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004009/0.04267, allocations: 213.2 kB / 286.3 MB, free: 3.223 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.675e-06/0.04267, allocations: 128 / 286.3 MB, free: 3.223 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002083/0.04288, allocations: 27.97 kB / 286.4 MB, free: 3.195 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008255/0.04371, allocations: 140.7 kB / 286.5 MB, free: 3.055 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.878e-05/0.04373, allocations: 48 / 286.5 MB, free: 3.055 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003676/0.0474, allocations: 1.678 MB / 288.2 MB, free: 1.277 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.825e-06/0.0474, allocations: 0 / 288.2 MB, free: 1.277 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001693/0.0491, allocations: 376.6 kB / 288.6 MB, free: 0.8906 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.925e-05/0.04919, allocations: 23.84 kB / 288.6 MB, free: 0.8672 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.489e-05/0.04925, allocations: 8.125 kB / 288.6 MB, free: 0.8594 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003655/0.04962, allocations: 39.95 kB / 288.6 MB, free: 0.8203 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001161/0.04973, allocations: 15.97 kB / 288.6 MB, free: 0.8047 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.087e-05/0.04975, allocations: 8 kB / 288.6 MB, free: 0.7969 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0003443/0.0501, allocations: 193.2 kB / 288.8 MB, free: 0.6094 MB / 266.7 MB Notification: Performance of sort global known variables: time 1.31e-07/0.0501, allocations: 0 / 288.8 MB, free: 0.6094 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0006548/0.05075, allocations: 79.84 kB / 288.9 MB, free: 0.5312 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.0002186/0.05097, allocations: 103.2 kB / 289 MB, free: 432 kB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.001655/0.05263, allocations: 450.8 kB / 289.5 MB, free: 15.95 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 3.095e-06/0.05263, allocations: 0 / 289.5 MB, free: 15.95 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0007206/0.05335, allocations: 239.1 kB / 289.7 MB, free: 15.7 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003535/0.0537, allocations: 44.83 kB / 289.7 MB, free: 15.66 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00124/0.05494, allocations: 489.1 kB / 290.2 MB, free: 15.16 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001814/0.05512, allocations: 146.9 kB / 290.4 MB, free: 15 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 0.0001094/0.05523, allocations: 26.28 kB / 290.4 MB, free: 14.97 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.677e-05/0.05531, allocations: 24.48 kB / 290.4 MB, free: 14.95 MB / 282.7 MB Notification: Performance of SimCode: time 6.71e-07/0.05531, allocations: 0 / 290.4 MB, free: 14.95 MB / 282.7 MB Notification: Performance of Templates: time 0.01086/0.06617, allocations: 4.134 MB / 294.5 MB, free: 10.87 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=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.InvertingAmplifier.pipe 2>&1) [Timeout 480] 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.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: 4.453337406041101]