Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.NonInvertingAmplifier.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.0008545/0.0008545, allocations: 85.05 kB / 21.5 MB, free: 2.988 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.0009149/0.0009149, allocations: 142.1 kB / 24.89 MB, free: 8.777 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.9665/0.9665, allocations: 173.4 MB / 201.5 MB, free: 8.754 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.OpAmps.NonInvertingAmplifier,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|buffer.opAmp.out.v|buffer.opAmp.out.i",fileNamePrefix="Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.NonInvertingAmplifier") translateModel(Modelica.Electrical.Analog.Examples.OpAmps.NonInvertingAmplifier,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|buffer.opAmp.out.v|buffer.opAmp.out.i",fileNamePrefix="Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.NonInvertingAmplifier") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.373e-06/1.373e-06, allocations: 0 / 268.5 MB, free: 5.945 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.174e-05/2.311e-05, allocations: 5.969 kB / 268.6 MB, free: 5.941 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.NonInvertingAmplifier): time 0.009265/0.009288, allocations: 2.951 MB / 271.5 MB, free: 2.973 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.001766/0.01105, allocations: 0.7399 MB / 272.2 MB, free: 2.227 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001816/0.01124, allocations: 4 kB / 272.2 MB, free: 2.223 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001684/0.0114, allocations: 55.44 kB / 272.3 MB, free: 2.168 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002682/0.01167, allocations: 107.1 kB / 272.4 MB, free: 2.062 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003395/0.01201, allocations: 123.8 kB / 272.5 MB, free: 1.941 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0005067/0.01252, allocations: 426.2 kB / 272.9 MB, free: 1.523 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000184/0.0127, allocations: 90.23 kB / 273 MB, free: 1.43 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003312/0.01303, allocations: 243.4 kB / 273.3 MB, free: 1.191 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002271/0.01326, allocations: 135.6 kB / 273.4 MB, free: 1.059 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 6.732e-05/0.01333, allocations: 44 kB / 273.4 MB, free: 1.016 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 5.807e-05/0.01339, allocations: 44 kB / 273.5 MB, free: 0.9727 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 7.097e-05/0.01346, allocations: 79.69 kB / 273.6 MB, free: 0.8945 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001256/0.01358, allocations: 119.7 kB / 273.7 MB, free: 0.7773 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003178/0.0139, allocations: 259.1 kB / 273.9 MB, free: 0.5234 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.515e-06/0.0139, allocations: 3.938 kB / 273.9 MB, free: 0.5195 MB / 250.7 MB Notification: Performance of FrontEnd: time 2.144e-06/0.01391, allocations: 4 kB / 273.9 MB, free: 0.5156 MB / 250.7 MB Notification: Performance of Transformations before backend: time 6.171e-06/0.01391, allocations: 0 / 273.9 MB, free: 0.5156 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: 61 * Number of variables: 61 Notification: Performance of Generate backend data structure: time 0.0008289/0.01474, allocations: 0.5554 MB / 274.5 MB, free: 15.93 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.783e-05/0.01477, allocations: 8.031 kB / 274.5 MB, free: 15.92 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.203e-05/0.01484, allocations: 44.91 kB / 274.6 MB, free: 15.88 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002814/0.01512, allocations: 193.2 kB / 274.7 MB, free: 15.66 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.122e-05/0.01514, allocations: 20.88 kB / 274.8 MB, free: 15.64 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.125e-05/0.01517, allocations: 24.38 kB / 274.8 MB, free: 15.62 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003785/0.01555, allocations: 291.3 kB / 275.1 MB, free: 15.3 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.001e-05/0.01556, allocations: 192 / 275.1 MB, free: 15.3 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.094e-05/0.01558, allocations: 14.06 kB / 275.1 MB, free: 15.29 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.314e-06/0.01559, allocations: 4 kB / 275.1 MB, free: 15.29 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001298/0.01572, allocations: 67.41 kB / 275.2 MB, free: 15.23 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001114/0.01683, allocations: 0.795 MB / 275.9 MB, free: 14.38 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002183/0.01705, allocations: 102.5 kB / 276 MB, free: 14.27 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.133e-05/0.0171, allocations: 24.86 kB / 276.1 MB, free: 14.25 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.355e-05/0.01712, allocations: 4 kB / 276.1 MB, free: 14.24 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001704/0.01729, allocations: 173.1 kB / 276.2 MB, free: 14.04 MB / 266.7 MB Notification: Performance of pre-optimization done (n=13): time 1.232e-06/0.01729, allocations: 3.938 kB / 276.2 MB, free: 14.04 MB / 266.7 MB Notification: Performance of matching and sorting (n=13): time 0.0006989/0.01799, allocations: 266.2 kB / 276.5 MB, free: 13.77 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.885e-05/0.01804, allocations: 110.8 kB / 276.6 MB, free: 13.64 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001991/0.01824, allocations: 248.8 kB / 276.9 MB, free: 13.38 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 2.111e-05/0.01826, allocations: 29.7 kB / 276.9 MB, free: 13.34 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.888e-05/0.01836, allocations: 191.9 kB / 277.1 MB, free: 13.15 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.339e-05/0.01839, allocations: 43.62 kB / 277.1 MB, free: 13.11 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.483e-05/0.01846, allocations: 49.92 kB / 277.2 MB, free: 13.05 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 9.888e-05/0.01856, allocations: 338.7 kB / 277.5 MB, free: 12.71 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.694e-05/0.01863, allocations: 49.92 kB / 277.5 MB, free: 12.65 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001362/0.01877, allocations: 202.4 kB / 277.7 MB, free: 12.39 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00017/0.01894, allocations: 183.6 kB / 277.9 MB, free: 12.17 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.985e-06/0.01894, allocations: 4 kB / 277.9 MB, free: 12.16 MB / 266.7 MB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0003511/0.01929, allocations: 265.5 kB / 278.2 MB, free: 11.88 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.635e-05/0.01932, allocations: 34.08 kB / 278.2 MB, free: 11.84 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.546e-06/0.01933, allocations: 15.92 kB / 278.2 MB, free: 11.83 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002385/0.01956, allocations: 64.81 kB / 278.3 MB, free: 11.76 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001298/0.01969, allocations: 55.91 kB / 278.4 MB, free: 11.71 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009035/0.0206, allocations: 1.489 MB / 279.8 MB, free: 10.12 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00012/0.02072, allocations: 43.81 kB / 279.9 MB, free: 10.08 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.289e-05/0.02073, allocations: 8 kB / 279.9 MB, free: 10.07 MB / 266.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * 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 (24): * Single equations (assignments): 22 * 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,4)} Notification: Performance of prepare postOptimizeDAE: time 8.49e-05/0.02082, allocations: 133.7 kB / 280 MB, free: 9.934 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.66e-05/0.02084, allocations: 15.98 kB / 280 MB, free: 9.918 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.539e-05/0.02087, allocations: 29.8 kB / 280.1 MB, free: 9.891 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.044e-06/0.02087, allocations: 8.031 kB / 280.1 MB, free: 9.883 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.212e-06/0.02087, allocations: 0 / 280.1 MB, free: 9.883 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.156e-06/0.02087, allocations: 0 / 280.1 MB, free: 9.883 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001102/0.02098, allocations: 161.6 kB / 280.2 MB, free: 9.707 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.442e-06/0.02099, allocations: 0 / 280.2 MB, free: 9.707 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.195e-05/0.02103, allocations: 15.98 kB / 280.2 MB, free: 9.691 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001448/0.02117, allocations: 68.8 kB / 280.3 MB, free: 9.621 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.546e-06/0.02118, allocations: 8 kB / 280.3 MB, free: 9.613 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007785/0.02196, allocations: 1.453 MB / 281.8 MB, free: 8.074 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.11e-07/0.02196, allocations: 0 / 281.8 MB, free: 8.074 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000184/0.02214, allocations: 157.8 kB / 281.9 MB, free: 7.898 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.178e-05/0.02217, allocations: 19.84 kB / 282 MB, free: 7.879 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.787e-05/0.02218, allocations: 7.938 kB / 282 MB, free: 7.871 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.177e-05/0.02226, allocations: 24.02 kB / 282 MB, free: 7.848 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.144e-05/0.0223, allocations: 19.97 kB / 282 MB, free: 7.828 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.322e-06/0.0223, allocations: 3.984 kB / 282 MB, free: 7.824 MB / 266.7 MB Notification: Performance of sorting global known variables: time 6.048e-05/0.02236, allocations: 86.77 kB / 282.1 MB, free: 7.742 MB / 266.7 MB Notification: Performance of sort global known variables: time 4e-08/0.02236, allocations: 0 / 282.1 MB, free: 7.742 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0002216/0.02259, allocations: 83.83 kB / 282.2 MB, free: 7.66 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 (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,4)} Notification: Performance of Backend phase and start with SimCode phase: time 7.794e-05/0.02266, allocations: 76.42 kB / 282.2 MB, free: 7.578 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0003407/0.023, allocations: 356.2 kB / 282.6 MB, free: 7.195 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 5.129e-06/0.02301, allocations: 4 kB / 282.6 MB, free: 7.191 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001333/0.02314, allocations: 164.2 kB / 282.8 MB, free: 7.016 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001401/0.02328, allocations: 64.36 kB / 282.8 MB, free: 6.953 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001141/0.02442, allocations: 0.6922 MB / 283.5 MB, free: 6.238 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.376e-05/0.02447, allocations: 84.31 kB / 283.6 MB, free: 6.137 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 7.252e-05/0.02454, allocations: 26.28 kB / 283.6 MB, free: 6.113 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001196/0.02466, allocations: 99.3 kB / 283.7 MB, free: 6.016 MB / 266.7 MB Notification: Performance of SimCode: time 5.71e-07/0.02466, allocations: 4 kB / 283.7 MB, free: 6.012 MB / 266.7 MB Notification: Performance of Templates: time 0.005534/0.03019, allocations: 4.293 MB / 288 MB, free: 1.781 MB / 266.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.NonInvertingAmplifier.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.NonInvertingAmplifier.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.NonInvertingAmplifier.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.NonInvertingAmplifier.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.NonInvertingAmplifier.sim & ./Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.NonInvertingAmplifier -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.NonInvertingAmplifier.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.NonInvertingAmplifier_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Analog/Examples/OpAmps/NonInvertingAmplifier/NonInvertingAmplifier.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.7919379263184965]