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.0009867/0.0009867, allocations: 71.77 kB / 21.69 MB, free: 2.855 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.00102/0.00102, allocations: 166.4 kB / 24.99 MB, free: 8.746 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.03/1.03, allocations: 177.1 MB / 205.3 MB, free: 5.648 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.413e-06/1.413e-06, allocations: 0 / 273.1 MB, free: 1.832 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.77e-05/2.912e-05, allocations: 2.312 kB / 273.1 MB, free: 1.828 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.InvertingAmp): time 0.003203/0.003232, allocations: 2.807 MB / 275.9 MB, free: 15.01 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.001315/0.004547, allocations: 0.666 MB / 276.6 MB, free: 14.34 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001777/0.004725, allocations: 4 kB / 276.6 MB, free: 14.33 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001639/0.004888, allocations: 47.5 kB / 276.6 MB, free: 14.29 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000211/0.005099, allocations: 107.1 kB / 276.7 MB, free: 14.18 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000321/0.00542, allocations: 83.83 kB / 276.8 MB, free: 14.1 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004102/0.005831, allocations: 390.3 kB / 277.2 MB, free: 13.71 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001848/0.006015, allocations: 79.34 kB / 277.2 MB, free: 13.64 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002472/0.006262, allocations: 223.5 kB / 277.5 MB, free: 13.42 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001576/0.00642, allocations: 123.6 kB / 277.6 MB, free: 13.3 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 4.616e-05/0.006466, allocations: 32 kB / 277.6 MB, free: 13.27 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 3.464e-05/0.006501, allocations: 40 kB / 277.7 MB, free: 13.23 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 5.542e-05/0.006556, allocations: 71.73 kB / 277.7 MB, free: 13.16 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001158/0.006672, allocations: 119.7 kB / 277.8 MB, free: 13.04 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003041/0.006976, allocations: 251.1 kB / 278.1 MB, free: 12.79 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.983e-06/0.006983, allocations: 0 / 278.1 MB, free: 12.79 MB / 266.7 MB Notification: Performance of FrontEnd: time 2.655e-06/0.006986, allocations: 3.984 kB / 278.1 MB, free: 12.79 MB / 266.7 MB Notification: Performance of Transformations before backend: time 8.546e-06/0.006994, allocations: 0 / 278.1 MB, free: 12.79 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.0009132/0.007908, allocations: 0.6662 MB / 278.8 MB, free: 12.08 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.189e-05/0.007949, allocations: 12.03 kB / 278.8 MB, free: 12.07 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.666e-05/0.008046, allocations: 56.7 kB / 278.8 MB, free: 12.02 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002822/0.008328, allocations: 213.1 kB / 279 MB, free: 11.78 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.857e-05/0.008347, allocations: 16.88 kB / 279 MB, free: 11.76 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.537e-05/0.008382, allocations: 24.38 kB / 279.1 MB, free: 11.74 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003895/0.008772, allocations: 301 kB / 279.4 MB, free: 11.41 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.035e-05/0.008782, allocations: 192 / 279.4 MB, free: 11.41 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.185e-05/0.008804, allocations: 12.38 kB / 279.4 MB, free: 11.4 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.084e-05/0.008815, allocations: 7.938 kB / 279.4 MB, free: 11.39 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002041/0.009019, allocations: 106.9 kB / 279.5 MB, free: 11.29 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001085/0.0101, allocations: 1.001 MB / 280.5 MB, free: 10.21 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002177/0.01032, allocations: 115 kB / 280.6 MB, free: 10.09 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.321e-05/0.01038, allocations: 31.67 kB / 280.6 MB, free: 10.05 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.089e-05/0.01041, allocations: 4 kB / 280.6 MB, free: 10.05 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001964/0.0106, allocations: 179.4 kB / 280.8 MB, free: 9.832 MB / 266.7 MB Notification: Performance of pre-optimization done (n=12): time 1.113e-06/0.0106, allocations: 0 / 280.8 MB, free: 9.832 MB / 266.7 MB Notification: Performance of matching and sorting (n=12): time 0.0006975/0.0113, allocations: 256.8 kB / 281.1 MB, free: 9.57 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.354e-05/0.01135, allocations: 106.8 kB / 281.2 MB, free: 9.441 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002099/0.01156, allocations: 300.2 kB / 281.5 MB, free: 9.133 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 2.416e-05/0.01159, allocations: 37.69 kB / 281.5 MB, free: 9.09 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001088/0.0117, allocations: 250.7 kB / 281.7 MB, free: 8.84 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.732e-05/0.01172, allocations: 43.62 kB / 281.8 MB, free: 8.797 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.611e-05/0.01179, allocations: 59.55 kB / 281.8 MB, free: 8.727 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001219/0.01191, allocations: 0.504 MB / 282.3 MB, free: 8.211 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.881e-05/0.012, allocations: 61.92 kB / 282.4 MB, free: 8.145 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001509/0.01215, allocations: 272.5 kB / 282.7 MB, free: 7.793 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001942/0.01235, allocations: 233.2 kB / 282.9 MB, free: 7.5 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.827e-06/0.01235, allocations: 4 kB / 282.9 MB, free: 7.496 MB / 266.7 MB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0004053/0.01276, allocations: 323.8 kB / 283.2 MB, free: 7.16 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.738e-05/0.01279, allocations: 37.7 kB / 283.3 MB, free: 7.117 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.251e-06/0.0128, allocations: 0 / 283.3 MB, free: 7.117 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002858/0.01309, allocations: 79.91 kB / 283.3 MB, free: 7.035 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001129/0.0132, allocations: 43.91 kB / 283.4 MB, free: 6.992 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001249/0.01445, allocations: 1.915 MB / 285.3 MB, free: 4.957 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001549/0.0146, allocations: 47.84 kB / 285.3 MB, free: 4.91 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.62e-05/0.01462, allocations: 12 kB / 285.4 MB, free: 4.898 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.0001098/0.01473, allocations: 172.5 kB / 285.5 MB, free: 4.719 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.102e-05/0.01476, allocations: 31.8 kB / 285.6 MB, free: 4.688 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.064e-05/0.01479, allocations: 25.77 kB / 285.6 MB, free: 4.66 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.733e-06/0.01479, allocations: 0 / 285.6 MB, free: 4.66 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.532e-06/0.01479, allocations: 0 / 285.6 MB, free: 4.66 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.995e-06/0.0148, allocations: 0 / 285.6 MB, free: 4.66 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001581/0.01495, allocations: 220.4 kB / 285.8 MB, free: 4.41 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.773e-06/0.01496, allocations: 4 kB / 285.8 MB, free: 4.406 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.809e-05/0.01499, allocations: 11.98 kB / 285.8 MB, free: 4.395 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001856/0.01518, allocations: 75.62 kB / 285.9 MB, free: 4.316 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.237e-05/0.01519, allocations: 7.922 kB / 285.9 MB, free: 4.309 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009665/0.01616, allocations: 1.897 MB / 287.8 MB, free: 2.285 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.172e-06/0.01616, allocations: 0 / 287.8 MB, free: 2.285 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002737/0.01643, allocations: 195.8 kB / 288 MB, free: 2.066 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.717e-05/0.01649, allocations: 35.83 kB / 288 MB, free: 2.031 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.096e-05/0.01651, allocations: 3.938 kB / 288 MB, free: 2.027 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.888e-05/0.0166, allocations: 23.97 kB / 288 MB, free: 2.004 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.978e-05/0.01667, allocations: 24 kB / 288.1 MB, free: 1.98 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.548e-06/0.01668, allocations: 7.938 kB / 288.1 MB, free: 1.973 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0001213/0.0168, allocations: 209.1 kB / 288.3 MB, free: 1.77 MB / 266.7 MB Notification: Performance of sort global known variables: time 4e-08/0.0168, allocations: 3.938 kB / 288.3 MB, free: 1.766 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0002645/0.01707, allocations: 83.84 kB / 288.4 MB, free: 1.684 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.000118/0.01718, allocations: 95.25 kB / 288.5 MB, free: 1.582 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0004542/0.01764, allocations: 385.8 kB / 288.8 MB, free: 1.168 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 2.084e-06/0.01764, allocations: 0 / 288.8 MB, free: 1.168 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001593/0.0178, allocations: 241.3 kB / 289.1 MB, free: 0.9102 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002027/0.018, allocations: 45.03 kB / 289.1 MB, free: 0.8672 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008246/0.01883, allocations: 439.6 kB / 289.5 MB, free: 416 kB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.384e-05/0.01888, allocations: 92.17 kB / 289.6 MB, free: 304 kB / 266.7 MB Notification: Performance of simCode: alias equations: time 6.586e-05/0.01895, allocations: 22.28 kB / 289.7 MB, free: 284 kB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.475e-05/0.01899, allocations: 20.5 kB / 289.7 MB, free: 264 kB / 266.7 MB Notification: Performance of SimCode: time 8.42e-07/0.01899, allocations: 0 / 289.7 MB, free: 264 kB / 266.7 MB Notification: Performance of Templates: time 0.006298/0.02529, allocations: 4.13 MB / 293.8 MB, free: 12.19 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.932069157017395]