Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.InvertingAmplifier.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001499/0.001499, allocations: 104.2 kB / 20.97 MB, free: 3.438 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001617/0.001617, allocations: 156.8 kB / 24.26 MB, free: 148 kB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.482/1.482, allocations: 177 MB / 204.5 MB, free: 5.617 MB / 186.7 MB " [Timeout remaining time 178] Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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_trunk_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_trunk_Modelica.Electrical.Analog.Examples.OpAmps.InvertingAmplifier") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 5.09e-06/5.09e-06, allocations: 3.984 kB / 272.2 MB, free: 1.762 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.766e-05/3.275e-05, allocations: 6.312 kB / 272.2 MB, free: 1.754 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.InvertingAmplifier): time 0.006919/0.006952, allocations: 2.776 MB / 275 MB, free: 14.96 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.002158/0.00911, allocations: 0.7089 MB / 275.7 MB, free: 14.24 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003019/0.009412, allocations: 7.938 kB / 275.7 MB, free: 14.23 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002803/0.009692, allocations: 51.5 kB / 275.8 MB, free: 14.18 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004324/0.01012, allocations: 111.1 kB / 275.9 MB, free: 14.07 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004798/0.0106, allocations: 111.7 kB / 276 MB, free: 13.96 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0008397/0.01144, allocations: 422.2 kB / 276.4 MB, free: 13.55 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003022/0.01175, allocations: 87.66 kB / 276.5 MB, free: 13.46 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005391/0.01229, allocations: 235.4 kB / 276.7 MB, free: 13.23 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003445/0.01263, allocations: 135.6 kB / 276.9 MB, free: 13.1 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.000106/0.01274, allocations: 40 kB / 276.9 MB, free: 13.06 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.947e-05/0.01284, allocations: 40 kB / 276.9 MB, free: 13.02 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001228/0.01296, allocations: 79.69 kB / 277 MB, free: 12.95 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002554/0.01321, allocations: 123.7 kB / 277.1 MB, free: 12.82 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0008321/0.01405, allocations: 478.5 kB / 277.6 MB, free: 12.36 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.156e-06/0.01405, allocations: 4 kB / 277.6 MB, free: 12.35 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.072e-06/0.01405, allocations: 0 / 277.6 MB, free: 12.35 MB / 266.7 MB Notification: Performance of Transformations before backend: time 1.105e-05/0.01406, allocations: 0 / 277.6 MB, free: 12.35 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: 64 * Number of variables: 64 Notification: Performance of Generate backend data structure: time 0.001763/0.01582, allocations: 0.5936 MB / 278.2 MB, free: 11.72 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.056e-05/0.01588, allocations: 11.98 kB / 278.2 MB, free: 11.71 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001893/0.01606, allocations: 56.75 kB / 278.3 MB, free: 11.65 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006904/0.01675, allocations: 257.1 kB / 278.5 MB, free: 11.38 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.554e-05/0.01679, allocations: 17.03 kB / 278.5 MB, free: 11.36 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.408e-05/0.01686, allocations: 28.38 kB / 278.6 MB, free: 11.33 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001105/0.01797, allocations: 359.7 kB / 278.9 MB, free: 10.96 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.455e-05/0.01798, allocations: 192 / 278.9 MB, free: 10.96 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.508e-05/0.01804, allocations: 16.38 kB / 278.9 MB, free: 10.94 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.727e-05/0.01806, allocations: 11.92 kB / 279 MB, free: 10.93 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001142/0.0192, allocations: 266.4 kB / 279.2 MB, free: 10.67 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002873/0.02207, allocations: 0.9451 MB / 280.2 MB, free: 9.66 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009826/0.02305, allocations: 206.6 kB / 280.4 MB, free: 9.449 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004041/0.02346, allocations: 92.8 kB / 280.5 MB, free: 9.355 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.334e-05/0.02349, allocations: 3.984 kB / 280.5 MB, free: 9.352 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007199/0.02421, allocations: 259 kB / 280.7 MB, free: 9.059 MB / 266.7 MB Notification: Performance of pre-optimization done (n=16): time 1.894e-06/0.02421, allocations: 0 / 280.7 MB, free: 9.059 MB / 266.7 MB Notification: Performance of matching and sorting (n=16): time 0.002595/0.02681, allocations: 461.8 kB / 281.2 MB, free: 8.598 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0003921/0.0272, allocations: 128.5 kB / 281.3 MB, free: 8.441 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005225/0.02772, allocations: 273.8 kB / 281.6 MB, free: 8.16 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 5.393e-05/0.02778, allocations: 33.7 kB / 281.6 MB, free: 8.121 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002454/0.02802, allocations: 204 kB / 281.8 MB, free: 7.918 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.435e-05/0.02812, allocations: 55.53 kB / 281.8 MB, free: 7.863 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001598/0.02828, allocations: 53.69 kB / 281.9 MB, free: 7.805 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0002448/0.02852, allocations: 330.8 kB / 282.2 MB, free: 7.473 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004844/0.029, allocations: 125.6 kB / 282.3 MB, free: 7.344 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007195/0.02972, allocations: 298.8 kB / 282.6 MB, free: 6.984 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009933/0.03072, allocations: 294.1 kB / 282.9 MB, free: 6.66 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.887e-06/0.03072, allocations: 0 / 282.9 MB, free: 6.66 MB / 266.7 MB Notification: Performance of matching and sorting (n=30) (initialization): time 0.001701/0.03242, allocations: 449.5 kB / 283.4 MB, free: 6.199 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.907e-05/0.03248, allocations: 33.7 kB / 283.4 MB, free: 6.16 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.63e-05/0.0325, allocations: 4 kB / 283.4 MB, free: 6.156 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008953/0.03339, allocations: 112.7 kB / 283.5 MB, free: 6.043 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003108/0.0337, allocations: 39.97 kB / 283.5 MB, free: 6.004 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003553/0.03726, allocations: 1.673 MB / 285.2 MB, free: 4.227 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005008/0.03776, allocations: 55.86 kB / 285.3 MB, free: 4.172 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.781e-05/0.0378, allocations: 12.08 kB / 285.3 MB, free: 4.16 MB / 266.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 11 * Number of states: 0 () * Number of discrete variables: 7 (gain.opAmp.satNeg,gain.opAmp.satPos,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 (24): * Single equations (assignments): 22 * 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.0002973/0.03809, allocations: 153.7 kB / 285.4 MB, free: 4 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.52e-05/0.03819, allocations: 27.8 kB / 285.5 MB, free: 3.973 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.144e-05/0.03828, allocations: 30.11 kB / 285.5 MB, free: 3.941 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.082e-06/0.03829, allocations: 4.031 kB / 285.5 MB, free: 3.938 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.916e-06/0.03829, allocations: 0 / 285.5 MB, free: 3.938 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.489e-06/0.03829, allocations: 0 / 285.5 MB, free: 3.938 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004395/0.03873, allocations: 225.1 kB / 285.7 MB, free: 3.688 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.716e-06/0.03874, allocations: 4 kB / 285.7 MB, free: 3.684 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002163/0.03896, allocations: 23.97 kB / 285.7 MB, free: 3.66 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007485/0.03971, allocations: 100.8 kB / 285.8 MB, free: 3.559 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.688e-05/0.03973, allocations: 11.94 kB / 285.8 MB, free: 3.547 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003273/0.04301, allocations: 1.677 MB / 287.5 MB, free: 1.758 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.284e-06/0.04301, allocations: 0 / 287.5 MB, free: 1.758 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001305/0.04431, allocations: 317.5 kB / 287.8 MB, free: 1.426 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.972e-05/0.0444, allocations: 23.84 kB / 287.9 MB, free: 1.402 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.367e-05/0.04447, allocations: 16 kB / 287.9 MB, free: 1.387 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003648/0.04483, allocations: 27.97 kB / 287.9 MB, free: 1.359 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001313/0.04496, allocations: 23.95 kB / 287.9 MB, free: 1.336 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.26e-05/0.04499, allocations: 4 kB / 287.9 MB, free: 1.332 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0003348/0.04532, allocations: 193.2 kB / 288.1 MB, free: 1.148 MB / 266.7 MB Notification: Performance of sort global known variables: time 1.1e-07/0.04532, allocations: 0 / 288.1 MB, free: 1.148 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0009311/0.04625, allocations: 87.83 kB / 288.2 MB, free: 1.062 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: 5 ($whenCondition1,vIn.signalSource.T_start,vIn.signalSource.count,gain.opAmp.satPos,gain.opAmp.satNeg) * Number of discrete states: 1 (vIn.signalSource.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (11): * Single equations (assignments): 8 * 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.0002149/0.04647, allocations: 107.2 kB / 288.3 MB, free: 0.9492 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.001452/0.04792, allocations: 442 kB / 288.7 MB, free: 0.4922 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 2.965e-06/0.04792, allocations: 0 / 288.7 MB, free: 0.4922 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006273/0.04855, allocations: 238.5 kB / 289 MB, free: 252 kB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004955/0.04904, allocations: 52.27 kB / 289 MB, free: 200 kB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002814/0.05186, allocations: 0.5869 MB / 289.6 MB, free: 15.58 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002313/0.05209, allocations: 159.3 kB / 289.8 MB, free: 15.41 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 0.0001736/0.05226, allocations: 26.28 kB / 289.8 MB, free: 15.38 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001027/0.05237, allocations: 24.5 kB / 289.8 MB, free: 15.35 MB / 282.7 MB Notification: Performance of SimCode: time 4.91e-07/0.05237, allocations: 0 / 289.8 MB, free: 15.35 MB / 282.7 MB Notification: Performance of Templates: time 0.01401/0.06637, allocations: 4.392 MB / 294.2 MB, free: 11.02 MB / 282.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.InvertingAmplifier.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.InvertingAmplifier.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.InvertingAmplifier.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.InvertingAmplifier.pipe >> ../files/Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.InvertingAmplifier.sim & ./Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.InvertingAmplifier -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.InvertingAmplifier.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_trunk_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_trunk_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.571274098940194]