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.0009698/0.0009698, allocations: 79.91 kB / 21.18 MB, free: 3.391 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.0008918/0.0008918, allocations: 145.1 kB / 24.54 MB, free: 32 kB / 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 1.014/1.014, allocations: 173.3 MB / 201.1 MB, free: 9.336 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.473e-06/1.473e-06, allocations: 3.938 kB / 268 MB, free: 6.395 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.907e-05/2.054e-05, allocations: 2.312 kB / 268 MB, free: 6.391 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.InvertingAmplifier): time 0.003421/0.003442, allocations: 2.939 MB / 271 MB, free: 3.434 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.001086/0.004527, allocations: 0.7206 MB / 271.7 MB, free: 2.707 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001332/0.00466, allocations: 7.938 kB / 271.7 MB, free: 2.699 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001498/0.00481, allocations: 51.5 kB / 271.7 MB, free: 2.648 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001792/0.00499, allocations: 111 kB / 271.9 MB, free: 2.539 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002763/0.005266, allocations: 115.8 kB / 272 MB, free: 2.426 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003768/0.005643, allocations: 426.2 kB / 272.4 MB, free: 2.008 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002375/0.00588, allocations: 95.64 kB / 272.5 MB, free: 1.91 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002428/0.006123, allocations: 235.5 kB / 272.7 MB, free: 1.68 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001694/0.006292, allocations: 127.7 kB / 272.8 MB, free: 1.555 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 5.276e-05/0.006345, allocations: 47.94 kB / 272.9 MB, free: 1.508 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 4.862e-05/0.006394, allocations: 40 kB / 272.9 MB, free: 1.469 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 6.066e-05/0.006454, allocations: 79.73 kB / 273 MB, free: 1.391 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001182/0.006573, allocations: 127.7 kB / 273.1 MB, free: 1.266 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000293/0.006866, allocations: 259.1 kB / 273.4 MB, free: 1.012 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.444e-06/0.006868, allocations: 0 / 273.4 MB, free: 1.012 MB / 250.7 MB Notification: Performance of FrontEnd: time 7.41e-07/0.006869, allocations: 4 kB / 273.4 MB, free: 1.008 MB / 250.7 MB Notification: Performance of Transformations before backend: time 4.278e-06/0.006873, allocations: 0 / 273.4 MB, free: 1.008 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.000868/0.007741, allocations: 0.6856 MB / 274.1 MB, free: 284 kB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.285e-05/0.007774, allocations: 8.031 kB / 274.1 MB, free: 276 kB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.887e-05/0.007863, allocations: 52.75 kB / 274.1 MB, free: 224 kB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004365/0.008299, allocations: 244 kB / 274.4 MB, free: 15.95 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.973e-05/0.008319, allocations: 24.81 kB / 274.4 MB, free: 15.93 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.849e-05/0.008357, allocations: 24.38 kB / 274.4 MB, free: 15.91 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004386/0.008796, allocations: 309 kB / 274.7 MB, free: 15.57 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.326e-05/0.008809, allocations: 192 / 274.7 MB, free: 15.57 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.414e-05/0.008833, allocations: 8.375 kB / 274.7 MB, free: 15.57 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.276e-05/0.008846, allocations: 11.94 kB / 274.7 MB, free: 15.55 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002129/0.009059, allocations: 98.94 kB / 274.8 MB, free: 15.46 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001212/0.01027, allocations: 1.033 MB / 275.9 MB, free: 14.36 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002649/0.01054, allocations: 123.1 kB / 276 MB, free: 14.23 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.214e-05/0.01061, allocations: 35.67 kB / 276 MB, free: 14.19 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.205e-05/0.01063, allocations: 0 / 276 MB, free: 14.19 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001893/0.01082, allocations: 190.5 kB / 276.2 MB, free: 13.96 MB / 266.7 MB Notification: Performance of pre-optimization done (n=13): time 1.022e-06/0.01082, allocations: 0 / 276.2 MB, free: 13.96 MB / 266.7 MB Notification: Performance of matching and sorting (n=13): time 0.0008343/0.01165, allocations: 308.9 kB / 276.5 MB, free: 13.65 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.92e-05/0.0117, allocations: 106.8 kB / 276.6 MB, free: 13.52 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002359/0.01194, allocations: 308.2 kB / 276.9 MB, free: 13.2 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 2.285e-05/0.01196, allocations: 33.7 kB / 276.9 MB, free: 13.16 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001306/0.01209, allocations: 243 kB / 277.2 MB, free: 12.92 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.381e-05/0.01213, allocations: 43.62 kB / 277.2 MB, free: 12.88 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.809e-05/0.01221, allocations: 63.48 kB / 277.3 MB, free: 12.8 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0003395/0.01254, allocations: 0.5001 MB / 277.8 MB, free: 12.29 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.613e-05/0.01264, allocations: 62.14 kB / 277.8 MB, free: 12.23 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000165/0.01281, allocations: 249.6 kB / 278.1 MB, free: 11.91 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002605/0.01307, allocations: 212.6 kB / 278.3 MB, free: 11.64 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.741e-06/0.01307, allocations: 8.031 kB / 278.3 MB, free: 11.64 MB / 266.7 MB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0005248/0.0136, allocations: 320.1 kB / 278.6 MB, free: 11.3 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.393e-05/0.01363, allocations: 42.03 kB / 278.7 MB, free: 11.25 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.921e-06/0.01364, allocations: 4 kB / 278.7 MB, free: 11.25 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003331/0.01397, allocations: 75.64 kB / 278.7 MB, free: 11.17 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001345/0.0141, allocations: 51.91 kB / 278.8 MB, free: 11.12 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00143/0.01553, allocations: 2.141 MB / 280.9 MB, free: 8.855 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001837/0.01572, allocations: 47.84 kB / 281 MB, free: 8.809 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.102e-05/0.01574, allocations: 16 kB / 281 MB, free: 8.793 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.0001152/0.01585, allocations: 172.5 kB / 281.2 MB, free: 8.613 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.313e-05/0.0159, allocations: 31.8 kB / 281.2 MB, free: 8.582 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.082e-05/0.01593, allocations: 21.77 kB / 281.2 MB, free: 8.559 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.504e-06/0.01593, allocations: 4 kB / 281.2 MB, free: 8.555 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.984e-06/0.01593, allocations: 0 / 281.2 MB, free: 8.555 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.878e-06/0.01594, allocations: 0 / 281.2 MB, free: 8.555 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002006/0.01614, allocations: 228.5 kB / 281.4 MB, free: 8.297 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.004e-06/0.01614, allocations: 0 / 281.4 MB, free: 8.297 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.538e-05/0.0162, allocations: 19.92 kB / 281.5 MB, free: 8.277 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002147/0.01642, allocations: 75.7 kB / 281.5 MB, free: 8.199 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.408e-05/0.01643, allocations: 7.984 kB / 281.5 MB, free: 8.191 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001182/0.01762, allocations: 1.885 MB / 283.4 MB, free: 6.184 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.172e-06/0.01762, allocations: 4.031 kB / 283.4 MB, free: 6.18 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003495/0.01797, allocations: 211.8 kB / 283.6 MB, free: 5.945 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.189e-05/0.018, allocations: 23.86 kB / 283.7 MB, free: 5.922 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.672e-05/0.01803, allocations: 7.938 kB / 283.7 MB, free: 5.914 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001136/0.01814, allocations: 24.16 kB / 283.7 MB, free: 5.891 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.755e-05/0.01821, allocations: 19.97 kB / 283.7 MB, free: 5.871 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.17e-05/0.01822, allocations: 8 kB / 283.7 MB, free: 5.863 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0001548/0.01837, allocations: 213.1 kB / 283.9 MB, free: 5.656 MB / 266.7 MB Notification: Performance of sort global known variables: time 4e-08/0.01837, allocations: 4 kB / 283.9 MB, free: 5.652 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0002413/0.01861, allocations: 75.84 kB / 284 MB, free: 5.578 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.0001011/0.01872, allocations: 107.2 kB / 284.1 MB, free: 5.461 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0004041/0.01912, allocations: 390.5 kB / 284.5 MB, free: 5.043 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.874e-06/0.01912, allocations: 4.062 kB / 284.5 MB, free: 5.039 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001846/0.01931, allocations: 236.7 kB / 284.7 MB, free: 4.789 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000221/0.01953, allocations: 44.41 kB / 284.8 MB, free: 4.746 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008113/0.02034, allocations: 446.9 kB / 285.2 MB, free: 4.281 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.029e-05/0.02039, allocations: 84.31 kB / 285.3 MB, free: 4.18 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 6.515e-05/0.02045, allocations: 22.28 kB / 285.3 MB, free: 4.16 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.126e-05/0.02051, allocations: 20.5 kB / 285.3 MB, free: 4.141 MB / 266.7 MB Notification: Performance of SimCode: time 8.32e-07/0.02051, allocations: 8 kB / 285.3 MB, free: 4.133 MB / 266.7 MB Notification: Performance of Templates: time 0.006157/0.02666, allocations: 4.153 MB / 289.5 MB, free: 36 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: 3.0232072127982974]