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.0009381/0.0009381, allocations: 83.89 kB / 21.18 MB, free: 3.391 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.0008987/0.0008987, allocations: 145.1 kB / 24.54 MB, free: 32 kB / 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.9969/0.9969, allocations: 173.3 MB / 201.1 MB, free: 9.324 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.183e-06/1.183e-06, allocations: 0 / 268 MB, free: 6.391 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.849e-05/1.967e-05, allocations: 2.312 kB / 268 MB, free: 6.387 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.NonInvertingAmplifier): time 0.009645/0.009665, allocations: 2.947 MB / 271 MB, free: 3.422 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.001388/0.01105, allocations: 0.7167 MB / 271.7 MB, free: 2.699 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001308/0.01118, allocations: 4 kB / 271.7 MB, free: 2.695 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001477/0.01133, allocations: 47.52 kB / 271.7 MB, free: 2.648 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001777/0.01151, allocations: 111 kB / 271.8 MB, free: 2.539 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002587/0.01177, allocations: 127.8 kB / 272 MB, free: 2.414 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003558/0.01212, allocations: 430.2 kB / 272.4 MB, free: 1.992 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003233/0.01536, allocations: 87.61 kB / 272.5 MB, free: 1.902 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003308/0.01569, allocations: 227.5 kB / 272.7 MB, free: 1.68 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001938/0.01588, allocations: 143.6 kB / 272.8 MB, free: 1.539 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 5.618e-05/0.01594, allocations: 40 kB / 272.9 MB, free: 1.5 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 5.174e-05/0.01599, allocations: 40 kB / 272.9 MB, free: 1.461 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 6.517e-05/0.01605, allocations: 75.75 kB / 273 MB, free: 1.387 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001313/0.01619, allocations: 127.7 kB / 273.1 MB, free: 1.262 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003107/0.0165, allocations: 263.1 kB / 273.4 MB, free: 1.004 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.937e-06/0.0165, allocations: 7.984 kB / 273.4 MB, free: 0.9961 MB / 250.7 MB Notification: Performance of FrontEnd: time 1.012e-06/0.0165, allocations: 0 / 273.4 MB, free: 0.9961 MB / 250.7 MB Notification: Performance of Transformations before backend: time 4.759e-06/0.01651, allocations: 0 / 273.4 MB, free: 0.9961 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.0009076/0.01741, allocations: 0.6739 MB / 274.1 MB, free: 284 kB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.578e-05/0.01745, allocations: 12.03 kB / 274.1 MB, free: 272 kB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.865e-05/0.01754, allocations: 56.75 kB / 274.1 MB, free: 216 kB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003082/0.01785, allocations: 248 kB / 274.4 MB, free: 15.94 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.988e-05/0.01787, allocations: 20.88 kB / 274.4 MB, free: 15.92 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.518e-05/0.0179, allocations: 24.38 kB / 274.4 MB, free: 15.9 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003503/0.0214, allocations: 301.1 kB / 274.7 MB, free: 15.57 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.385e-05/0.02142, allocations: 192 / 274.7 MB, free: 15.57 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.606e-05/0.02144, allocations: 12.38 kB / 274.7 MB, free: 15.56 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.231e-05/0.02146, allocations: 11.94 kB / 274.7 MB, free: 15.55 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002221/0.02168, allocations: 106.9 kB / 274.8 MB, free: 15.45 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001254/0.02293, allocations: 1.033 MB / 275.9 MB, free: 14.35 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00027/0.0232, allocations: 107.2 kB / 276 MB, free: 14.23 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.082e-05/0.02328, allocations: 43.66 kB / 276 MB, free: 14.18 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.776e-05/0.02331, allocations: 0 / 276 MB, free: 14.18 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002235/0.02354, allocations: 187.4 kB / 276.2 MB, free: 13.96 MB / 266.7 MB Notification: Performance of pre-optimization done (n=13): time 1.633e-06/0.02354, allocations: 0 / 276.2 MB, free: 13.96 MB / 266.7 MB Notification: Performance of matching and sorting (n=13): time 0.003965/0.0275, allocations: 320.4 kB / 276.5 MB, free: 13.64 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.473e-05/0.02756, allocations: 102.8 kB / 276.6 MB, free: 13.52 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002536/0.02781, allocations: 308.4 kB / 276.9 MB, free: 13.2 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 2.2e-05/0.02783, allocations: 33.7 kB / 276.9 MB, free: 13.16 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003807/0.02821, allocations: 258.6 kB / 277.2 MB, free: 12.9 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.313e-05/0.02825, allocations: 43.64 kB / 277.2 MB, free: 12.86 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.075e-05/0.02833, allocations: 55.59 kB / 277.3 MB, free: 12.79 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001317/0.02846, allocations: 0.504 MB / 277.8 MB, free: 12.27 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.218e-05/0.02855, allocations: 57.91 kB / 277.9 MB, free: 12.21 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001747/0.02873, allocations: 260.8 kB / 278.1 MB, free: 11.88 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000215/0.02894, allocations: 228.5 kB / 278.3 MB, free: 11.59 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.078e-06/0.02894, allocations: 4 kB / 278.3 MB, free: 11.59 MB / 266.7 MB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0004918/0.02944, allocations: 336.1 kB / 278.7 MB, free: 11.24 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.649e-05/0.02946, allocations: 29.7 kB / 278.7 MB, free: 11.2 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.961e-06/0.02947, allocations: 4 kB / 278.7 MB, free: 11.2 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003201/0.02979, allocations: 87.88 kB / 278.8 MB, free: 11.11 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001318/0.02992, allocations: 47.91 kB / 278.8 MB, free: 11.06 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004604/0.03452, allocations: 2.176 MB / 281 MB, free: 8.762 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001957/0.03472, allocations: 47.84 kB / 281.1 MB, free: 8.715 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.179e-05/0.03474, allocations: 12 kB / 281.1 MB, free: 8.703 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 0.0001182/0.03486, allocations: 180.5 kB / 281.2 MB, free: 8.516 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.978e-05/0.0349, allocations: 31.8 kB / 281.3 MB, free: 8.484 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.056e-05/0.03494, allocations: 25.77 kB / 281.3 MB, free: 8.457 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.32e-06/0.03495, allocations: 4 kB / 281.3 MB, free: 8.453 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.425e-06/0.03495, allocations: 0 / 281.3 MB, free: 8.453 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.888e-06/0.03495, allocations: 0 / 281.3 MB, free: 8.453 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002121/0.03516, allocations: 216.5 kB / 281.5 MB, free: 8.207 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.654e-06/0.03517, allocations: 4 kB / 281.5 MB, free: 8.203 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.554e-05/0.03524, allocations: 20.11 kB / 281.5 MB, free: 8.184 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002556/0.0355, allocations: 87.5 kB / 281.6 MB, free: 8.094 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.258e-05/0.03551, allocations: 0 / 281.6 MB, free: 8.094 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00431/0.03982, allocations: 2.133 MB / 283.8 MB, free: 5.84 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.478e-06/0.03983, allocations: 3.938 kB / 283.8 MB, free: 5.836 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003382/0.04016, allocations: 215.8 kB / 284 MB, free: 5.598 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.204e-05/0.0402, allocations: 23.86 kB / 284 MB, free: 5.574 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.521e-05/0.04022, allocations: 4 kB / 284 MB, free: 5.57 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001149/0.04034, allocations: 23.97 kB / 284 MB, free: 5.547 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.579e-05/0.04043, allocations: 16.02 kB / 284 MB, free: 5.531 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.378e-05/0.04045, allocations: 16.11 kB / 284 MB, free: 5.516 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0001475/0.04059, allocations: 217.1 kB / 284.3 MB, free: 5.305 MB / 266.7 MB Notification: Performance of sort global known variables: time 8.1e-08/0.04059, allocations: 3.938 kB / 284.3 MB, free: 5.301 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0003975/0.04099, allocations: 83.78 kB / 284.3 MB, free: 5.219 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 0.0001196/0.04111, allocations: 99.25 kB / 284.4 MB, free: 5.109 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0006047/0.04171, allocations: 429.9 kB / 284.9 MB, free: 4.652 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.994e-06/0.04172, allocations: 0 / 284.9 MB, free: 4.652 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003257/0.04497, allocations: 237.4 kB / 285.1 MB, free: 4.398 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002867/0.04526, allocations: 48.98 kB / 285.1 MB, free: 4.352 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001796/0.04706, allocations: 0.6901 MB / 285.8 MB, free: 3.633 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.387e-05/0.04711, allocations: 84.31 kB / 285.9 MB, free: 3.531 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 8.172e-05/0.04719, allocations: 22.3 kB / 285.9 MB, free: 3.512 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.542e-05/0.04725, allocations: 20.5 kB / 286 MB, free: 3.492 MB / 266.7 MB Notification: Performance of SimCode: time 1.042e-06/0.04725, allocations: 0 / 286 MB, free: 3.492 MB / 266.7 MB Notification: Performance of Templates: time 0.1206/0.1679, allocations: 4.146 MB / 290.1 MB, free: 30.16 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 -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: 3.092637644149363]