Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.Analog.Examples.InvertingAmp.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.0008787/0.0008787, allocations: 85.17 kB / 21.5 MB, free: 2.992 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.000838/0.000838, allocations: 143.4 kB / 24.89 MB, free: 8.727 MB / 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 0.9228/0.9228, allocations: 173.4 MB / 201.5 MB, free: 8.742 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.InvertingAmp,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|vIn.signalSource.y",fileNamePrefix="Modelica_4.0.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.0.0_Modelica.Electrical.Analog.Examples.InvertingAmp") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.804e-06/1.804e-06, allocations: 0 / 268.5 MB, free: 6.02 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.201e-05/2.382e-05, allocations: 2.312 kB / 268.5 MB, free: 6.016 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.InvertingAmp): time 0.003901/0.003924, allocations: 2.773 MB / 271.3 MB, free: 3.227 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.001284/0.005209, allocations: 0.6503 MB / 271.9 MB, free: 2.57 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001436/0.005352, allocations: 4 kB / 271.9 MB, free: 2.566 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001657/0.005518, allocations: 51.5 kB / 272 MB, free: 2.516 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001756/0.005694, allocations: 99.05 kB / 272.1 MB, free: 2.418 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002854/0.005979, allocations: 91.83 kB / 272.1 MB, free: 2.328 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004516/0.006431, allocations: 390.3 kB / 272.5 MB, free: 1.945 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001823/0.006613, allocations: 89.95 kB / 272.6 MB, free: 1.855 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002355/0.006848, allocations: 219.5 kB / 272.8 MB, free: 1.641 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001644/0.007013, allocations: 123.6 kB / 272.9 MB, free: 1.52 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 4.256e-05/0.007055, allocations: 36 kB / 273 MB, free: 1.484 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 3.102e-05/0.007086, allocations: 32 kB / 273 MB, free: 1.453 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 5.518e-05/0.007142, allocations: 79.72 kB / 273.1 MB, free: 1.375 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 9.943e-05/0.007241, allocations: 119.7 kB / 273.2 MB, free: 1.258 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002352/0.007476, allocations: 243.2 kB / 273.4 MB, free: 1.02 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.645e-06/0.007479, allocations: 3.938 kB / 273.4 MB, free: 1.016 MB / 250.7 MB Notification: Performance of FrontEnd: time 9.02e-07/0.00748, allocations: 0 / 273.4 MB, free: 1.016 MB / 250.7 MB Notification: Performance of Transformations before backend: time 3.697e-06/0.007483, allocations: 0 / 273.4 MB, free: 1.016 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: 60 * Number of variables: 60 Notification: Performance of Generate backend data structure: time 0.0006291/0.008113, allocations: 0.5415 MB / 274 MB, free: 452 kB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.409e-05/0.008147, allocations: 12.92 kB / 274 MB, free: 440 kB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.917e-05/0.008206, allocations: 40.91 kB / 274 MB, free: 400 kB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001901/0.008396, allocations: 186.1 kB / 274.2 MB, free: 184 kB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.53e-05/0.008411, allocations: 16.88 kB / 274.2 MB, free: 168 kB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.519e-05/0.008436, allocations: 28.38 kB / 274.3 MB, free: 140 kB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002969/0.008733, allocations: 275.3 kB / 274.5 MB, free: 15.84 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.197e-06/0.008743, allocations: 192 / 274.5 MB, free: 15.84 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.753e-05/0.00876, allocations: 12.38 kB / 274.5 MB, free: 15.83 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.933e-06/0.008767, allocations: 11.94 kB / 274.6 MB, free: 15.82 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001241/0.008891, allocations: 77.41 kB / 274.6 MB, free: 15.74 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009219/0.009813, allocations: 0.7897 MB / 275.4 MB, free: 14.89 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001402/0.009953, allocations: 74.48 kB / 275.5 MB, free: 14.81 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.537e-05/0.009989, allocations: 32.78 kB / 275.5 MB, free: 14.77 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.634e-05/0.01, allocations: 4 kB / 275.5 MB, free: 14.77 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001371/0.01014, allocations: 169.3 kB / 275.7 MB, free: 14.57 MB / 266.7 MB Notification: Performance of pre-optimization done (n=12): time 1.312e-06/0.01014, allocations: 0 / 275.7 MB, free: 14.57 MB / 266.7 MB Notification: Performance of matching and sorting (n=12): time 0.0004763/0.01062, allocations: 202.3 kB / 275.9 MB, free: 14.36 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.745e-05/0.01066, allocations: 106.8 kB / 276 MB, free: 14.23 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001337/0.01079, allocations: 248.8 kB / 276.2 MB, free: 13.98 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.762e-05/0.01081, allocations: 25.7 kB / 276.3 MB, free: 13.95 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.033e-05/0.01088, allocations: 188 kB / 276.5 MB, free: 13.76 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.262e-05/0.0109, allocations: 43.62 kB / 276.5 MB, free: 13.71 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.613e-05/0.01096, allocations: 53.92 kB / 276.5 MB, free: 13.65 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 6.998e-05/0.01103, allocations: 334.8 kB / 276.9 MB, free: 13.32 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.396e-05/0.01107, allocations: 53.88 kB / 276.9 MB, free: 13.26 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001089/0.01118, allocations: 223.1 kB / 277.1 MB, free: 12.97 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001284/0.01131, allocations: 193 kB / 277.3 MB, free: 12.74 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.778e-06/0.01131, allocations: 4 kB / 277.3 MB, free: 12.73 MB / 266.7 MB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0002664/0.01158, allocations: 257.8 kB / 277.6 MB, free: 12.46 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.361e-05/0.0116, allocations: 33.7 kB / 277.6 MB, free: 12.42 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.749e-06/0.01161, allocations: 4 kB / 277.6 MB, free: 12.42 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002052/0.01181, allocations: 72.84 kB / 277.7 MB, free: 12.34 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.916e-05/0.0119, allocations: 39.97 kB / 277.7 MB, free: 12.3 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007827/0.01268, allocations: 1.311 MB / 279 MB, free: 10.91 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001348/0.01282, allocations: 47.75 kB / 279.1 MB, free: 10.86 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.332e-05/0.01283, allocations: 8 kB / 279.1 MB, free: 10.85 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 7.702e-05/0.01291, allocations: 133.8 kB / 279.2 MB, free: 10.71 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.988e-05/0.01293, allocations: 15.98 kB / 279.2 MB, free: 10.7 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.495e-05/0.01295, allocations: 21.77 kB / 279.3 MB, free: 10.67 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.416e-06/0.01296, allocations: 7.938 kB / 279.3 MB, free: 10.66 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.413e-06/0.01296, allocations: 0 / 279.3 MB, free: 10.66 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.725e-06/0.01296, allocations: 0 / 279.3 MB, free: 10.66 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001051/0.01307, allocations: 145.7 kB / 279.4 MB, free: 10.5 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.152e-06/0.01307, allocations: 0 / 279.4 MB, free: 10.5 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.414e-05/0.0131, allocations: 11.98 kB / 279.4 MB, free: 10.49 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001465/0.01325, allocations: 64.8 kB / 279.5 MB, free: 10.43 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.076e-06/0.01326, allocations: 7.984 kB / 279.5 MB, free: 10.42 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006434/0.0139, allocations: 1.296 MB / 280.8 MB, free: 9.039 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.71e-07/0.0139, allocations: 0 / 280.8 MB, free: 9.039 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001784/0.01408, allocations: 153.8 kB / 280.9 MB, free: 8.867 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.434e-05/0.01412, allocations: 31.78 kB / 281 MB, free: 8.836 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.927e-05/0.01414, allocations: 4 kB / 281 MB, free: 8.832 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.45e-05/0.01422, allocations: 15.98 kB / 281 MB, free: 8.816 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.359e-05/0.01427, allocations: 31.89 kB / 281 MB, free: 8.785 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.931e-06/0.01428, allocations: 0 / 281 MB, free: 8.785 MB / 266.7 MB Notification: Performance of sorting global known variables: time 5.647e-05/0.01433, allocations: 78.78 kB / 281.1 MB, free: 8.707 MB / 266.7 MB Notification: Performance of sort global known variables: time 4e-08/0.01433, allocations: 0 / 281.1 MB, free: 8.707 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0001977/0.01453, allocations: 87.83 kB / 281.2 MB, free: 8.621 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 8.141e-05/0.01461, allocations: 76.42 kB / 281.3 MB, free: 8.535 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0002794/0.01489, allocations: 316.8 kB / 281.6 MB, free: 8.191 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 7.404e-06/0.0149, allocations: 4.812 kB / 281.6 MB, free: 8.188 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001172/0.01502, allocations: 187.2 kB / 281.8 MB, free: 7.988 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001259/0.01514, allocations: 40.45 kB / 281.8 MB, free: 7.949 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007407/0.01588, allocations: 421.3 kB / 282.2 MB, free: 7.508 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.229e-05/0.01593, allocations: 84.31 kB / 282.3 MB, free: 7.406 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 5.79e-05/0.01598, allocations: 30.22 kB / 282.3 MB, free: 7.379 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001058/0.01609, allocations: 91.36 kB / 282.4 MB, free: 7.289 MB / 266.7 MB Notification: Performance of SimCode: time 5.01e-07/0.01609, allocations: 0 / 282.4 MB, free: 7.289 MB / 266.7 MB Notification: Performance of Templates: time 0.005837/0.02193, allocations: 4.273 MB / 286.7 MB, free: 3.078 MB / 266.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Electrical.Analog.Examples.InvertingAmp.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Electrical.Analog.Examples.InvertingAmp.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.Analog.Examples.InvertingAmp.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.Analog.Examples.InvertingAmp.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.Analog.Examples.InvertingAmp.sim & ./Modelica_4.0.0_Modelica.Electrical.Analog.Examples.InvertingAmp -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Electrical.Analog.Examples.InvertingAmp.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.0.0_Modelica.Electrical.Analog.Examples.InvertingAmp_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.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.568297612015158]