Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OpAmps.NonInvertingAmp.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.0008954/0.0008954, allocations: 91.61 kB / 22.18 MB, free: 2.371 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.0008966/0.0008966, allocations: 159.6 kB / 25.45 MB, free: 9.355 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 0.8381/0.8381, allocations: 158.6 MB / 187.2 MB, free: 3.027 MB / 170.7 MB " [Timeout remaining time 179] Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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.OpAmps.NonInvertingAmp,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|opAmp.out.v|opAmp.out.i",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OpAmps.NonInvertingAmp") translateModel(Modelica.Electrical.Analog.Examples.OpAmps.NonInvertingAmp,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|opAmp.out.v|opAmp.out.i",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OpAmps.NonInvertingAmp") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.472e-06/1.472e-06, allocations: 0 / 299.7 MB, free: 6.891 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.02e-05/2.167e-05, allocations: 2.281 kB / 299.7 MB, free: 6.887 MB / 282.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.NonInvertingAmp): time 0.002585/0.002607, allocations: 2.54 MB / 302.3 MB, free: 4.328 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.0008591/0.003466, allocations: 0.6943 MB / 303 MB, free: 3.625 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001013/0.003568, allocations: 7.938 kB / 303 MB, free: 3.617 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001447/0.003712, allocations: 35.58 kB / 303 MB, free: 3.582 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001313/0.003844, allocations: 99.19 kB / 303.1 MB, free: 3.484 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000229/0.004073, allocations: 95.75 kB / 303.2 MB, free: 3.391 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002767/0.004349, allocations: 374.3 kB / 303.6 MB, free: 3.023 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001482/0.004498, allocations: 52.89 kB / 303.6 MB, free: 2.977 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001603/0.004658, allocations: 195.5 kB / 303.8 MB, free: 2.785 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000119/0.004777, allocations: 115.6 kB / 303.9 MB, free: 2.672 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 3.7e-05/0.004814, allocations: 32 kB / 303.9 MB, free: 2.641 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 3.26e-05/0.004847, allocations: 28 kB / 304 MB, free: 2.613 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 4.469e-05/0.004891, allocations: 63.75 kB / 304 MB, free: 2.551 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 8.219e-05/0.004973, allocations: 99.75 kB / 304.1 MB, free: 2.453 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002692/0.005243, allocations: 334.9 kB / 304.5 MB, free: 2.125 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.024e-06/0.005245, allocations: 0 / 304.5 MB, free: 2.125 MB / 282.7 MB Notification: Performance of FrontEnd: time 9.92e-07/0.005246, allocations: 3.938 kB / 304.5 MB, free: 2.121 MB / 282.7 MB Notification: Performance of Transformations before backend: time 4.709e-06/0.00525, allocations: 4 kB / 304.5 MB, free: 2.117 MB / 282.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 49 * Number of variables: 49 Notification: Performance of Generate backend data structure: time 0.0007932/0.006044, allocations: 0.5702 MB / 305 MB, free: 1.512 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.444e-05/0.006078, allocations: 15.98 kB / 305.1 MB, free: 1.496 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.548e-05/0.006133, allocations: 32.73 kB / 305.1 MB, free: 1.465 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002497/0.006383, allocations: 221 kB / 305.3 MB, free: 1.223 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.425e-05/0.006397, allocations: 12.88 kB / 305.3 MB, free: 1.211 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.532e-05/0.006423, allocations: 24.38 kB / 305.3 MB, free: 1.188 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003791/0.006802, allocations: 299.9 kB / 305.6 MB, free: 0.875 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.021e-05/0.006812, allocations: 8.172 kB / 305.6 MB, free: 0.8672 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.07e-05/0.006833, allocations: 8.375 kB / 305.7 MB, free: 0.8594 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.254e-06/0.00684, allocations: 7.938 kB / 305.7 MB, free: 0.8516 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003961/0.007236, allocations: 253.8 kB / 305.9 MB, free: 0.6055 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000904/0.00814, allocations: 0.7236 MB / 306.6 MB, free: 15.83 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004094/0.00855, allocations: 214.5 kB / 306.8 MB, free: 15.61 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001519/0.008701, allocations: 96.78 kB / 306.9 MB, free: 15.52 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.027e-05/0.008722, allocations: 4 kB / 306.9 MB, free: 15.51 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000277/0.008999, allocations: 225.3 kB / 307.2 MB, free: 15.26 MB / 298.7 MB Notification: Performance of pre-optimization done (n=14): time 1.363e-06/0.009, allocations: 0 / 307.2 MB, free: 15.26 MB / 298.7 MB Notification: Performance of matching and sorting (n=14): time 0.001047/0.01005, allocations: 0.5174 MB / 307.7 MB, free: 14.73 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.451e-05/0.0101, allocations: 106.8 kB / 307.8 MB, free: 14.6 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000181/0.01028, allocations: 257.8 kB / 308 MB, free: 14.34 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.804e-05/0.0103, allocations: 25.7 kB / 308.1 MB, free: 14.3 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.414e-05/0.01038, allocations: 180.2 kB / 308.2 MB, free: 14.12 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002304/0.01062, allocations: 47.58 kB / 308.3 MB, free: 14.08 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.468e-05/0.01067, allocations: 53.66 kB / 308.3 MB, free: 14.02 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 7.917e-05/0.01075, allocations: 338.8 kB / 308.7 MB, free: 13.68 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001737/0.01092, allocations: 130.4 kB / 308.8 MB, free: 13.54 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002007/0.01112, allocations: 246.5 kB / 309 MB, free: 13.25 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003256/0.01145, allocations: 272.1 kB / 309.3 MB, free: 12.95 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.414e-06/0.01145, allocations: 0 / 309.3 MB, free: 12.95 MB / 298.7 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0005729/0.01202, allocations: 457.4 kB / 309.7 MB, free: 12.48 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.247e-05/0.01206, allocations: 41.62 kB / 309.8 MB, free: 12.44 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.41e-06/0.01206, allocations: 0 / 309.8 MB, free: 12.44 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002727/0.01233, allocations: 108.8 kB / 309.9 MB, free: 12.33 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.973e-05/0.01243, allocations: 47.89 kB / 309.9 MB, free: 12.28 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001289/0.01372, allocations: 1.793 MB / 311.7 MB, free: 10.39 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001357/0.01386, allocations: 43.86 kB / 311.8 MB, free: 10.34 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.748e-05/0.01388, allocations: 15.98 kB / 311.8 MB, free: 10.33 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0001863/0.01406, allocations: 205.8 kB / 312 MB, free: 10.12 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0001825/0.01425, allocations: 242.5 kB / 312.2 MB, free: 9.828 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0002717/0.01452, allocations: 256 kB / 312.5 MB, free: 9.547 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 9.31e-07/0.01452, allocations: 3.938 kB / 312.5 MB, free: 9.543 MB / 298.7 MB Notification: Performance of matching and sorting (n=26) (initialization_lambda0): time 0.0004194/0.01494, allocations: 373.5 kB / 312.8 MB, free: 9.156 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.304e-05/0.01496, allocations: 41.69 kB / 312.9 MB, free: 9.109 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.237e-06/0.01496, allocations: 4 kB / 312.9 MB, free: 9.105 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.657e-05/0.01504, allocations: 32.84 kB / 312.9 MB, free: 9.07 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.723e-05/0.01513, allocations: 51.89 kB / 313 MB, free: 9.02 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007905/0.01592, allocations: 1.587 MB / 314.6 MB, free: 7.336 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001384/0.01606, allocations: 43.86 kB / 314.6 MB, free: 7.293 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.053e-05/0.01607, allocations: 8.188 kB / 314.6 MB, free: 7.285 MB / 298.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 9 * 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 (20): * Single equations (assignments): 18 * 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.0001017/0.01617, allocations: 192.2 kB / 314.8 MB, free: 7.09 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.154e-05/0.01619, allocations: 27.8 kB / 314.8 MB, free: 7.062 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.024e-05/0.01622, allocations: 33.83 kB / 314.9 MB, free: 7.023 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.713e-06/0.01622, allocations: 4 kB / 314.9 MB, free: 7.02 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.493e-06/0.01622, allocations: 0 / 314.9 MB, free: 7.02 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.636e-06/0.01623, allocations: 0 / 314.9 MB, free: 7.02 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001343/0.01636, allocations: 197.2 kB / 315.1 MB, free: 6.797 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.513e-06/0.01636, allocations: 0 / 315.1 MB, free: 6.797 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.709e-05/0.01642, allocations: 23.97 kB / 315.1 MB, free: 6.773 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000136/0.01656, allocations: 64.81 kB / 315.1 MB, free: 6.707 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.117e-05/0.01657, allocations: 3.938 kB / 315.1 MB, free: 6.703 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001268/0.01784, allocations: 1.735 MB / 316.9 MB, free: 4.871 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.81e-07/0.01784, allocations: 0 / 316.9 MB, free: 4.871 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004273/0.01826, allocations: 326 kB / 317.2 MB, free: 4.531 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.305e-05/0.01829, allocations: 23.8 kB / 317.2 MB, free: 4.508 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.725e-05/0.0183, allocations: 7.938 kB / 317.2 MB, free: 4.5 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.928e-05/0.0184, allocations: 31.95 kB / 317.3 MB, free: 4.469 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.581e-05/0.01846, allocations: 19.97 kB / 317.3 MB, free: 4.449 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.264e-05/0.01847, allocations: 8 kB / 317.3 MB, free: 4.441 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0001201/0.01859, allocations: 177.2 kB / 317.5 MB, free: 4.27 MB / 298.7 MB Notification: Performance of sort global known variables: time 6e-08/0.01859, allocations: 0 / 317.5 MB, free: 4.27 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0003652/0.01896, allocations: 127.8 kB / 317.6 MB, free: 4.145 MB / 298.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 (9): * Single equations (assignments): 6 * 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.0001012/0.01906, allocations: 99.23 kB / 317.7 MB, free: 4.039 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0008471/0.01991, allocations: 0.7801 MB / 318.5 MB, free: 3.199 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 1.613e-06/0.01991, allocations: 0 / 318.5 MB, free: 3.199 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002289/0.02014, allocations: 238.4 kB / 318.7 MB, free: 2.953 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002186/0.02035, allocations: 48.8 kB / 318.7 MB, free: 2.906 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001105/0.02146, allocations: 0.6958 MB / 319.4 MB, free: 2.172 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.345e-05/0.02154, allocations: 146.5 kB / 319.6 MB, free: 2.012 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.983e-05/0.02159, allocations: 24.44 kB / 319.6 MB, free: 1.988 MB / 298.7 MB Notification: Performance of SimCode: time 6.12e-07/0.02159, allocations: 0 / 319.6 MB, free: 1.988 MB / 298.7 MB Notification: Performance of Templates: time 0.004051/0.02565, allocations: 4.252 MB / 323.9 MB, free: 13.73 MB / 314.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OpAmps.NonInvertingAmp.makefile [Timeout 660] (rm -f Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OpAmps.NonInvertingAmp.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OpAmps.NonInvertingAmp.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OpAmps.NonInvertingAmp.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OpAmps.NonInvertingAmp.sim & ./Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OpAmps.NonInvertingAmp -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OpAmps.NonInvertingAmp.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OpAmps.NonInvertingAmp_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Electrical/Analog/Examples/OpAmps/NonInvertingAmp/NonInvertingAmp.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OpAmps.NonInvertingAmp.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 4.385857608169317]