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.001138/0.001138, allocations: 75.59 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.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.001885/0.001885, allocations: 161 kB / 24.56 MB, free: 20 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.067/1.067, allocations: 177.1 MB / 205 MB, free: 5.293 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 2.375e-06/2.375e-06, allocations: 0 / 273 MB, free: 1.379 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.919e-05/3.156e-05, allocations: 2.312 kB / 273 MB, free: 1.375 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.InvertingAmp): time 0.004503/0.004535, allocations: 2.823 MB / 275.8 MB, free: 14.54 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.001534/0.006069, allocations: 0.6621 MB / 276.5 MB, free: 13.87 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001888/0.006258, allocations: 4 kB / 276.5 MB, free: 13.87 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002073/0.006465, allocations: 43.56 kB / 276.5 MB, free: 13.82 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002599/0.006725, allocations: 95.14 kB / 276.6 MB, free: 13.73 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003432/0.007068, allocations: 99.8 kB / 276.7 MB, free: 13.63 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004978/0.007566, allocations: 390.3 kB / 277.1 MB, free: 13.25 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002294/0.007795, allocations: 75.36 kB / 277.2 MB, free: 13.18 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003533/0.008149, allocations: 219.5 kB / 277.4 MB, free: 12.96 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002329/0.008381, allocations: 127.6 kB / 277.5 MB, free: 12.84 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 7.661e-05/0.008458, allocations: 32 kB / 277.5 MB, free: 12.8 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.045e-05/0.008519, allocations: 36 kB / 277.6 MB, free: 12.77 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 7.816e-05/0.008597, allocations: 79.67 kB / 277.7 MB, free: 12.69 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.00014/0.008737, allocations: 111.7 kB / 277.8 MB, free: 12.58 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003607/0.009098, allocations: 259.1 kB / 278 MB, free: 12.33 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.176e-06/0.009101, allocations: 0 / 278 MB, free: 12.33 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.463e-06/0.009102, allocations: 0 / 278 MB, free: 12.33 MB / 266.7 MB Notification: Performance of Transformations before backend: time 9.969e-06/0.009112, allocations: 0 / 278 MB, free: 12.33 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.00128/0.01039, allocations: 0.6662 MB / 278.7 MB, free: 11.62 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.146e-05/0.01044, allocations: 12.03 kB / 278.7 MB, free: 11.61 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001323/0.01058, allocations: 56.7 kB / 278.8 MB, free: 11.55 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003687/0.01094, allocations: 217 kB / 279 MB, free: 11.31 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.897e-05/0.01097, allocations: 16.88 kB / 279 MB, free: 11.3 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.931e-05/0.01102, allocations: 32.31 kB / 279 MB, free: 11.27 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005383/0.01156, allocations: 293.1 kB / 279.3 MB, free: 10.95 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.827e-05/0.01158, allocations: 4.172 kB / 279.3 MB, free: 10.95 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.148e-05/0.01161, allocations: 12.38 kB / 279.3 MB, free: 10.93 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.394e-05/0.01162, allocations: 11.94 kB / 279.3 MB, free: 10.92 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003062/0.01193, allocations: 106.9 kB / 279.4 MB, free: 10.82 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001645/0.01358, allocations: 1 MB / 280.4 MB, free: 9.738 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003187/0.01389, allocations: 103.1 kB / 280.5 MB, free: 9.625 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001047/0.014, allocations: 35.67 kB / 280.6 MB, free: 9.586 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.612e-05/0.01404, allocations: 4 kB / 280.6 MB, free: 9.582 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002866/0.01432, allocations: 183.4 kB / 280.8 MB, free: 9.363 MB / 266.7 MB Notification: Performance of pre-optimization done (n=12): time 1.824e-06/0.01432, allocations: 0 / 280.8 MB, free: 9.363 MB / 266.7 MB Notification: Performance of matching and sorting (n=12): time 0.001085/0.01541, allocations: 253.3 kB / 281 MB, free: 9.105 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.771e-05/0.01548, allocations: 106.8 kB / 281.1 MB, free: 8.977 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000291/0.01577, allocations: 300.2 kB / 281.4 MB, free: 8.668 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 2.895e-05/0.0158, allocations: 33.7 kB / 281.4 MB, free: 8.629 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001672/0.01596, allocations: 254.7 kB / 281.7 MB, free: 8.375 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.197e-05/0.01601, allocations: 43.61 kB / 281.7 MB, free: 8.332 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001104/0.01612, allocations: 59.55 kB / 281.8 MB, free: 8.262 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001737/0.01629, allocations: 0.5001 MB / 282.3 MB, free: 7.75 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001288/0.01642, allocations: 61.91 kB / 282.3 MB, free: 7.684 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002281/0.01665, allocations: 272.5 kB / 282.6 MB, free: 7.332 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002871/0.01693, allocations: 237.1 kB / 282.8 MB, free: 7.035 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.561e-06/0.01694, allocations: 4 kB / 282.8 MB, free: 7.031 MB / 266.7 MB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0006338/0.01757, allocations: 327.5 kB / 283.2 MB, free: 6.691 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.334e-05/0.01762, allocations: 33.7 kB / 283.2 MB, free: 6.652 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.737e-06/0.01763, allocations: 4 kB / 283.2 MB, free: 6.648 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004053/0.01803, allocations: 79.66 kB / 283.3 MB, free: 6.566 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001761/0.01821, allocations: 43.97 kB / 283.3 MB, free: 6.523 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001807/0.02001, allocations: 1.916 MB / 285.2 MB, free: 4.484 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000168/0.02018, allocations: 35.81 kB / 285.3 MB, free: 4.449 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.714e-05/0.0202, allocations: 12 kB / 285.3 MB, free: 4.438 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.0001036/0.0203, allocations: 176.5 kB / 285.5 MB, free: 4.254 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.477e-05/0.02034, allocations: 35.77 kB / 285.5 MB, free: 4.219 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.362e-05/0.02037, allocations: 25.78 kB / 285.5 MB, free: 4.191 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.265e-06/0.02037, allocations: 0 / 285.5 MB, free: 4.191 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.613e-06/0.02037, allocations: 0 / 285.5 MB, free: 4.191 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.988e-06/0.02038, allocations: 3.984 kB / 285.5 MB, free: 4.188 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001607/0.02054, allocations: 212.4 kB / 285.7 MB, free: 3.945 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.763e-06/0.02054, allocations: 0 / 285.7 MB, free: 3.945 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.332e-05/0.02058, allocations: 8 kB / 285.7 MB, free: 3.938 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000193/0.02078, allocations: 71.62 kB / 285.8 MB, free: 3.863 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.424e-05/0.02079, allocations: 7.922 kB / 285.8 MB, free: 3.855 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001053/0.02184, allocations: 1.901 MB / 287.7 MB, free: 1.828 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.82e-07/0.02185, allocations: 0 / 287.7 MB, free: 1.828 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002933/0.02214, allocations: 203.8 kB / 287.9 MB, free: 1.602 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.768e-05/0.0222, allocations: 35.83 kB / 287.9 MB, free: 1.566 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.916e-05/0.02222, allocations: 3.938 kB / 287.9 MB, free: 1.562 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.667e-05/0.0223, allocations: 23.98 kB / 288 MB, free: 1.539 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.927e-05/0.02239, allocations: 19.95 kB / 288 MB, free: 1.52 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.136e-05/0.0224, allocations: 7.938 kB / 288 MB, free: 1.512 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0001395/0.02254, allocations: 209.1 kB / 288.2 MB, free: 1.309 MB / 266.7 MB Notification: Performance of sort global known variables: time 7e-08/0.02254, allocations: 4 kB / 288.2 MB, free: 1.305 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0002376/0.02278, allocations: 83.84 kB / 288.3 MB, free: 1.223 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.0001161/0.0229, allocations: 99.25 kB / 288.4 MB, free: 1.117 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0004783/0.02337, allocations: 386.1 kB / 288.8 MB, free: 0.7031 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.974e-06/0.02338, allocations: 192 / 288.8 MB, free: 0.7031 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001745/0.02355, allocations: 241.3 kB / 289 MB, free: 456 kB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002148/0.02377, allocations: 48.27 kB / 289 MB, free: 408 kB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009249/0.02469, allocations: 423.5 kB / 289.5 MB, free: 15.95 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.622e-05/0.02476, allocations: 88.17 kB / 289.5 MB, free: 15.85 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 6.669e-05/0.02482, allocations: 26.28 kB / 289.6 MB, free: 15.82 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.08e-05/0.02488, allocations: 20.5 kB / 289.6 MB, free: 15.8 MB / 282.7 MB Notification: Performance of SimCode: time 1.112e-06/0.02488, allocations: 4 kB / 289.6 MB, free: 15.8 MB / 282.7 MB Notification: Performance of Templates: time 0.006263/0.03115, allocations: 4.13 MB / 293.7 MB, free: 11.73 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: 3.370899226050824]