Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.Analog.Examples.InvertingAmp.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009291/0.0009291, allocations: 91.5 kB / 21.19 MB, free: 3.371 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0009267/0.0009267, allocations: 160.5 kB / 24.56 MB, free: 12 kB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.012/1.012, allocations: 177 MB / 204.8 MB, free: 5.562 MB / 186.7 MB " [Timeout remaining time 179] Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: translateModel(Modelica.Electrical.Analog.Examples.InvertingAmp,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|vIn.signalSource.y",fileNamePrefix="Modelica_trunk_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_trunk_Modelica.Electrical.Analog.Examples.InvertingAmp") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.443e-06/1.443e-06, allocations: 0 / 272.9 MB, free: 1.414 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.535e-05/2.679e-05, allocations: 2.312 kB / 272.9 MB, free: 1.41 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.InvertingAmp): time 0.006753/0.006779, allocations: 2.815 MB / 275.7 MB, free: 14.58 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.00373/0.01051, allocations: 0.6661 MB / 276.4 MB, free: 13.91 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001334/0.01064, allocations: 4 kB / 276.4 MB, free: 13.9 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001446/0.01079, allocations: 51.44 kB / 276.5 MB, free: 13.85 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001804/0.01097, allocations: 103.1 kB / 276.6 MB, free: 13.75 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002505/0.01122, allocations: 87.88 kB / 276.7 MB, free: 13.66 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.000357/0.01158, allocations: 390.1 kB / 277 MB, free: 13.28 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001809/0.01176, allocations: 91.28 kB / 277.1 MB, free: 13.19 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002344/0.01199, allocations: 219.5 kB / 277.3 MB, free: 12.98 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001674/0.01216, allocations: 123.6 kB / 277.5 MB, free: 12.86 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 5.211e-05/0.01221, allocations: 36 kB / 277.5 MB, free: 12.82 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 4.74e-05/0.01226, allocations: 32 kB / 277.5 MB, free: 12.79 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 5.871e-05/0.01232, allocations: 71.73 kB / 277.6 MB, free: 12.72 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001213/0.01244, allocations: 123.7 kB / 277.7 MB, free: 12.6 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000294/0.01273, allocations: 247.1 kB / 278 MB, free: 12.36 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.755e-06/0.01273, allocations: 4 kB / 278 MB, free: 12.35 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.222e-06/0.01274, allocations: 0 / 278 MB, free: 12.35 MB / 266.7 MB Notification: Performance of Transformations before backend: time 5.03e-06/0.01274, allocations: 0 / 278 MB, free: 12.35 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.0008953/0.01364, allocations: 0.6662 MB / 278.6 MB, free: 11.64 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.495e-05/0.01367, allocations: 8.031 kB / 278.6 MB, free: 11.64 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.072e-05/0.01376, allocations: 60.7 kB / 278.7 MB, free: 11.58 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002965/0.01406, allocations: 217 kB / 278.9 MB, free: 11.34 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.402e-05/0.01408, allocations: 20.88 kB / 278.9 MB, free: 11.32 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.591e-05/0.01412, allocations: 20.38 kB / 278.9 MB, free: 11.3 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004263/0.01454, allocations: 301 kB / 279.2 MB, free: 10.98 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.269e-05/0.01456, allocations: 192 / 279.2 MB, free: 10.98 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.317e-05/0.01458, allocations: 8.375 kB / 279.2 MB, free: 10.97 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.265e-05/0.01459, allocations: 11.94 kB / 279.3 MB, free: 10.96 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002208/0.01481, allocations: 110.9 kB / 279.4 MB, free: 10.85 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001107/0.01592, allocations: 1.004 MB / 280.4 MB, free: 9.762 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000219/0.01614, allocations: 99.09 kB / 280.5 MB, free: 9.652 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.145e-05/0.01621, allocations: 39.7 kB / 280.5 MB, free: 9.609 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.589e-05/0.01624, allocations: 4 kB / 280.5 MB, free: 9.605 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001884/0.01642, allocations: 179.1 kB / 280.7 MB, free: 9.395 MB / 266.7 MB Notification: Performance of pre-optimization done (n=12): time 1.263e-06/0.01643, allocations: 0 / 280.7 MB, free: 9.395 MB / 266.7 MB Notification: Performance of matching and sorting (n=12): time 0.0007426/0.01717, allocations: 248.9 kB / 280.9 MB, free: 9.141 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.784e-05/0.01722, allocations: 110.8 kB / 281 MB, free: 9.008 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002161/0.01743, allocations: 304.2 kB / 281.3 MB, free: 8.695 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.981e-05/0.01745, allocations: 29.7 kB / 281.4 MB, free: 8.66 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001199/0.01757, allocations: 250.7 kB / 281.6 MB, free: 8.41 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.11e-05/0.0176, allocations: 47.62 kB / 281.7 MB, free: 8.363 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.912e-05/0.01768, allocations: 59.55 kB / 281.7 MB, free: 8.293 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001271/0.01781, allocations: 0.5001 MB / 282.2 MB, free: 7.781 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.111e-05/0.0179, allocations: 65.86 kB / 282.3 MB, free: 7.711 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001779/0.01808, allocations: 264.5 kB / 282.5 MB, free: 7.367 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004501/0.01853, allocations: 237.2 kB / 282.8 MB, free: 7.07 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.795e-06/0.01853, allocations: 0 / 282.8 MB, free: 7.07 MB / 266.7 MB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0004766/0.01901, allocations: 327.6 kB / 283.1 MB, free: 6.73 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.195e-05/0.01904, allocations: 40.52 kB / 283.1 MB, free: 6.688 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.126e-06/0.01905, allocations: 7.984 kB / 283.1 MB, free: 6.68 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002951/0.01934, allocations: 79.72 kB / 283.2 MB, free: 6.598 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00014/0.01948, allocations: 47.91 kB / 283.3 MB, free: 6.551 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001245/0.02073, allocations: 1.909 MB / 285.2 MB, free: 4.52 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001731/0.0209, allocations: 35.88 kB / 285.2 MB, free: 4.484 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.293e-05/0.02092, allocations: 16 kB / 285.2 MB, free: 4.469 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.0001022/0.02103, allocations: 172.4 kB / 285.4 MB, free: 4.289 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.466e-05/0.02106, allocations: 43.77 kB / 285.4 MB, free: 4.246 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.229e-05/0.02109, allocations: 21.77 kB / 285.5 MB, free: 4.223 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.595e-06/0.0211, allocations: 4 kB / 285.5 MB, free: 4.219 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.653e-06/0.0211, allocations: 192 / 285.5 MB, free: 4.219 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.046e-06/0.0211, allocations: 0 / 285.5 MB, free: 4.219 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000166/0.02127, allocations: 212.5 kB / 285.7 MB, free: 3.977 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.773e-06/0.02127, allocations: 0 / 285.7 MB, free: 3.977 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.736e-05/0.02132, allocations: 15.98 kB / 285.7 MB, free: 3.961 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002075/0.02152, allocations: 79.56 kB / 285.8 MB, free: 3.879 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.267e-05/0.02154, allocations: 3.938 kB / 285.8 MB, free: 3.875 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001059/0.02259, allocations: 1.897 MB / 287.7 MB, free: 1.852 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.072e-06/0.0226, allocations: 192 / 287.7 MB, free: 1.852 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003136/0.02291, allocations: 199.9 kB / 287.9 MB, free: 1.629 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.758e-05/0.02297, allocations: 35.78 kB / 287.9 MB, free: 1.594 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.595e-05/0.02299, allocations: 11.94 kB / 287.9 MB, free: 1.582 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000107/0.0231, allocations: 23.97 kB / 287.9 MB, free: 1.559 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.681e-05/0.02317, allocations: 19.97 kB / 287.9 MB, free: 1.539 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.947e-06/0.02318, allocations: 0 / 287.9 MB, free: 1.539 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0001306/0.02331, allocations: 209.1 kB / 288.1 MB, free: 1.336 MB / 266.7 MB Notification: Performance of sort global known variables: time 9e-08/0.02331, allocations: 4 kB / 288.2 MB, free: 1.332 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0003029/0.02361, allocations: 87.84 kB / 288.2 MB, free: 1.246 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 9.525e-05/0.0237, allocations: 95.23 kB / 288.3 MB, free: 1.145 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0004284/0.02413, allocations: 385.5 kB / 288.7 MB, free: 0.7305 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.674e-06/0.02413, allocations: 4.812 kB / 288.7 MB, free: 0.7266 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001744/0.02431, allocations: 241.4 kB / 288.9 MB, free: 480 kB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002274/0.02454, allocations: 32.48 kB / 289 MB, free: 448 kB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008395/0.02538, allocations: 446.9 kB / 289.4 MB, free: 15.97 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.726e-05/0.02542, allocations: 80.31 kB / 289.5 MB, free: 15.87 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 6.866e-05/0.02549, allocations: 22.3 kB / 289.5 MB, free: 15.85 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.149e-05/0.02554, allocations: 20.5 kB / 289.5 MB, free: 15.83 MB / 282.7 MB Notification: Performance of SimCode: time 6.51e-07/0.02554, allocations: 0 / 289.5 MB, free: 15.83 MB / 282.7 MB Notification: Performance of Templates: time 0.006789/0.03233, allocations: 4.119 MB / 293.7 MB, free: 11.77 MB / 282.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Electrical.Analog.Examples.InvertingAmp.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Electrical.Analog.Examples.InvertingAmp.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.Analog.Examples.InvertingAmp.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.Analog.Examples.InvertingAmp.pipe >> ../files/Modelica_trunk_Modelica.Electrical.Analog.Examples.InvertingAmp.sim & ./Modelica_trunk_Modelica.Electrical.Analog.Examples.InvertingAmp -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.Analog.Examples.InvertingAmp.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_trunk_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.9719999223016202]