Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Electrical.Analog.Examples.InvertingAmp.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.001093/0.001093, allocations: 80.31 kB / 22.21 MB, free: 2.285 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.001165/0.001165, allocations: 171 kB / 25.61 MB, free: 8.91 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 1.014/1.014, allocations: 177.2 MB / 206.1 MB, free: 4.465 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.InvertingAmp,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|vIn.signalSource.y",fileNamePrefix="Modelica_4.1.0_Modelica.Electrical.Analog.Examples.InvertingAmp") translateModel(Modelica.Electrical.Analog.Examples.InvertingAmp,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|vIn.signalSource.y",fileNamePrefix="Modelica_4.1.0_Modelica.Electrical.Analog.Examples.InvertingAmp") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.933e-06/1.933e-06, allocations: 0 / 274.2 MB, free: 4.375 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.67e-05/2.863e-05, allocations: 10.08 kB / 274.2 MB, free: 4.367 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.InvertingAmp): time 0.003208/0.003237, allocations: 2.779 MB / 277 MB, free: 1.586 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.0009951/0.004232, allocations: 0.6638 MB / 277.7 MB, free: 0.9219 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001297/0.004362, allocations: 4 kB / 277.7 MB, free: 0.918 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001475/0.004509, allocations: 51.5 kB / 277.7 MB, free: 0.8672 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001596/0.004669, allocations: 101.1 kB / 277.8 MB, free: 0.7695 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002456/0.004914, allocations: 79.88 kB / 277.9 MB, free: 0.6914 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.000339/0.005253, allocations: 386.3 kB / 278.3 MB, free: 320 kB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001779/0.005431, allocations: 87.83 kB / 278.4 MB, free: 232 kB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002081/0.005639, allocations: 224.1 kB / 278.6 MB, free: 8 kB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001597/0.005799, allocations: 119.7 kB / 278.7 MB, free: 15.89 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 4.58e-05/0.005845, allocations: 36 kB / 278.7 MB, free: 15.86 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 3.522e-05/0.00588, allocations: 36 kB / 278.8 MB, free: 15.82 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 5.866e-05/0.005939, allocations: 83.66 kB / 278.8 MB, free: 15.74 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 9.505e-05/0.006034, allocations: 111.8 kB / 279 MB, free: 15.63 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000264/0.006298, allocations: 251.1 kB / 279.2 MB, free: 15.38 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.685e-06/0.0063, allocations: 0 / 279.2 MB, free: 15.38 MB / 266.7 MB Notification: Performance of FrontEnd: time 9.82e-07/0.006301, allocations: 0 / 279.2 MB, free: 15.38 MB / 266.7 MB Notification: Performance of Transformations before backend: time 5.571e-06/0.006307, allocations: 0 / 279.2 MB, free: 15.38 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: 60 * Number of variables: 60 Notification: Performance of Generate backend data structure: time 0.0008032/0.00711, allocations: 0.6739 MB / 279.9 MB, free: 14.67 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.552e-05/0.007156, allocations: 15.98 kB / 279.9 MB, free: 14.65 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.228e-05/0.007238, allocations: 52.75 kB / 279.9 MB, free: 14.6 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002564/0.007494, allocations: 209 kB / 280.1 MB, free: 14.37 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.337e-05/0.007518, allocations: 20.88 kB / 280.2 MB, free: 14.34 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.94e-05/0.007547, allocations: 24.38 kB / 280.2 MB, free: 14.32 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003456/0.007893, allocations: 285 kB / 280.5 MB, free: 14.01 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.185e-05/0.007904, allocations: 192 / 280.5 MB, free: 14.01 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.455e-05/0.007929, allocations: 20.34 kB / 280.5 MB, free: 13.99 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.807e-06/0.007938, allocations: 7.938 kB / 280.5 MB, free: 13.98 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001331/0.008071, allocations: 81.38 kB / 280.6 MB, free: 13.91 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001282/0.009353, allocations: 1.012 MB / 281.6 MB, free: 12.82 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001801/0.009533, allocations: 91.14 kB / 281.7 MB, free: 12.71 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.299e-05/0.009576, allocations: 35.75 kB / 281.7 MB, free: 12.68 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.406e-05/0.0096, allocations: 11.94 kB / 281.7 MB, free: 12.66 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001842/0.009784, allocations: 171.4 kB / 281.9 MB, free: 12.46 MB / 266.7 MB Notification: Performance of pre-optimization done (n=12): time 1.493e-06/0.009786, allocations: 0 / 281.9 MB, free: 12.46 MB / 266.7 MB Notification: Performance of matching and sorting (n=12): time 0.0006388/0.01042, allocations: 229 kB / 282.1 MB, free: 12.22 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.833e-05/0.01047, allocations: 110.8 kB / 282.2 MB, free: 12.09 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001662/0.01064, allocations: 300.1 kB / 282.5 MB, free: 11.78 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.828e-05/0.01066, allocations: 25.7 kB / 282.5 MB, free: 11.75 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001191/0.01078, allocations: 258.6 kB / 282.8 MB, free: 11.49 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.725e-05/0.0108, allocations: 47.61 kB / 282.8 MB, free: 11.45 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.493e-05/0.01087, allocations: 63.53 kB / 282.9 MB, free: 11.37 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001334/0.011, allocations: 0.504 MB / 283.4 MB, free: 10.86 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.841e-05/0.01106, allocations: 53.86 kB / 283.5 MB, free: 10.8 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001364/0.0112, allocations: 257.3 kB / 283.7 MB, free: 10.46 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001696/0.01137, allocations: 225.1 kB / 283.9 MB, free: 10.18 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.296e-06/0.01137, allocations: 0 / 283.9 MB, free: 10.18 MB / 266.7 MB Notification: Performance of matching and sorting (n=29) (initialization): time 0.000382/0.01175, allocations: 306.8 kB / 284.2 MB, free: 9.855 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.639e-05/0.01179, allocations: 33.7 kB / 284.3 MB, free: 9.816 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.663e-06/0.01179, allocations: 4 kB / 284.3 MB, free: 9.812 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002714/0.01207, allocations: 76.03 kB / 284.3 MB, free: 9.734 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001091/0.01218, allocations: 47.91 kB / 284.4 MB, free: 9.688 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001263/0.01344, allocations: 1.874 MB / 286.3 MB, free: 7.699 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001524/0.01359, allocations: 51.78 kB / 286.3 MB, free: 7.648 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.525e-05/0.01361, allocations: 8 kB / 286.3 MB, free: 7.641 MB / 266.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 14 * 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,5)} Notification: Performance of prepare postOptimizeDAE: time 0.0001067/0.01371, allocations: 172.5 kB / 286.5 MB, free: 7.461 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.958e-05/0.01374, allocations: 23.86 kB / 286.5 MB, free: 7.438 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.662e-05/0.01378, allocations: 37.69 kB / 286.5 MB, free: 7.398 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.913e-06/0.01378, allocations: 0 / 286.5 MB, free: 7.398 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.174e-06/0.01378, allocations: 0 / 286.5 MB, free: 7.398 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.817e-06/0.01379, allocations: 0 / 286.5 MB, free: 7.398 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001472/0.01393, allocations: 177 kB / 286.7 MB, free: 7.199 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.904e-06/0.01394, allocations: 0 / 286.7 MB, free: 7.199 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.562e-05/0.01398, allocations: 15.98 kB / 286.7 MB, free: 7.184 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001887/0.01417, allocations: 71.81 kB / 286.8 MB, free: 7.109 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.905e-06/0.01418, allocations: 3.938 kB / 286.8 MB, free: 7.105 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001433/0.01561, allocations: 1.862 MB / 288.7 MB, free: 5.125 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.92e-07/0.01561, allocations: 0 / 288.7 MB, free: 5.125 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002482/0.01586, allocations: 195.7 kB / 288.9 MB, free: 4.906 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.634e-05/0.01593, allocations: 39.83 kB / 288.9 MB, free: 4.867 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.549e-05/0.01595, allocations: 4 kB / 288.9 MB, free: 4.863 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.918e-05/0.01604, allocations: 24.02 kB / 288.9 MB, free: 4.84 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.601e-05/0.01611, allocations: 27.89 kB / 289 MB, free: 4.812 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.135e-05/0.01612, allocations: 4.188 kB / 289 MB, free: 4.809 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0001033/0.01622, allocations: 197.1 kB / 289.1 MB, free: 4.617 MB / 266.7 MB Notification: Performance of sort global known variables: time 4e-08/0.01622, allocations: 0 / 289.1 MB, free: 4.617 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.000248/0.01647, allocations: 83.83 kB / 289.2 MB, free: 4.535 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 (7): * Single equations (assignments): 4 * 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.0001181/0.01659, allocations: 99.25 kB / 289.3 MB, free: 4.43 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0003954/0.01698, allocations: 377.8 kB / 289.7 MB, free: 4.023 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 2.856e-06/0.01699, allocations: 0 / 289.7 MB, free: 4.023 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001684/0.01716, allocations: 233.4 kB / 289.9 MB, free: 3.773 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002064/0.01736, allocations: 37.11 kB / 290 MB, free: 3.738 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007756/0.01814, allocations: 438.9 kB / 290.4 MB, free: 3.277 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.399e-05/0.01819, allocations: 84.31 kB / 290.5 MB, free: 3.176 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 6.331e-05/0.01825, allocations: 26.27 kB / 290.5 MB, free: 3.152 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001226/0.01838, allocations: 118.2 kB / 290.6 MB, free: 3.035 MB / 266.7 MB Notification: Performance of SimCode: time 9.62e-07/0.01838, allocations: 0 / 290.6 MB, free: 3.035 MB / 266.7 MB Notification: Performance of Templates: time 0.007037/0.02541, allocations: 4.505 MB / 295.1 MB, free: 14.61 MB / 282.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Electrical.Analog.Examples.InvertingAmp.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Electrical.Analog.Examples.InvertingAmp.pipe ; mkfifo Modelica_4.1.0_Modelica.Electrical.Analog.Examples.InvertingAmp.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Electrical.Analog.Examples.InvertingAmp.pipe >> ../files/Modelica_4.1.0_Modelica.Electrical.Analog.Examples.InvertingAmp.sim & ./Modelica_4.1.0_Modelica.Electrical.Analog.Examples.InvertingAmp -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Electrical.Analog.Examples.InvertingAmp.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.1.0_Modelica.Electrical.Analog.Examples.InvertingAmp_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Analog/Examples/InvertingAmp/InvertingAmp.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.8349217954091728]