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.001502/0.001502, allocations: 92.62 kB / 20.95 MB, free: 3.473 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.00148/0.00148, allocations: 149.5 kB / 24.25 MB, free: 180 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 1.465/1.465, allocations: 173.4 MB / 200.8 MB, free: 9.297 MB / 186.7 MB " [Timeout remaining time 178] 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.663e-06/1.663e-06, allocations: 0 / 267.3 MB, free: 6.684 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.84e-05/3.007e-05, allocations: 2.312 kB / 267.4 MB, free: 6.68 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.NonInvertingAmplifier): time 0.005255/0.005285, allocations: 2.756 MB / 270.1 MB, free: 3.906 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.001768/0.007053, allocations: 0.6895 MB / 270.8 MB, free: 3.211 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002137/0.007267, allocations: 7.938 kB / 270.8 MB, free: 3.203 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.00019/0.007457, allocations: 47.56 kB / 270.9 MB, free: 3.156 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002594/0.007716, allocations: 115 kB / 271 MB, free: 3.043 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003589/0.008075, allocations: 123.7 kB / 271.1 MB, free: 2.922 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0005902/0.008665, allocations: 430.2 kB / 271.5 MB, free: 2.5 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002425/0.008908, allocations: 87.64 kB / 271.6 MB, free: 2.41 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003624/0.00927, allocations: 231.5 kB / 271.8 MB, free: 2.184 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002611/0.009531, allocations: 127.6 kB / 271.9 MB, free: 2.059 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 8.512e-05/0.009616, allocations: 40 kB / 272 MB, free: 2.02 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.501e-05/0.009701, allocations: 40 kB / 272 MB, free: 1.98 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001145/0.009816, allocations: 83.73 kB / 272.1 MB, free: 1.898 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002039/0.01002, allocations: 127.7 kB / 272.2 MB, free: 1.773 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0007589/0.01078, allocations: 458.6 kB / 272.7 MB, free: 1.324 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.869e-06/0.01078, allocations: 0 / 272.7 MB, free: 1.324 MB / 250.7 MB Notification: Performance of FrontEnd: time 2.495e-06/0.01079, allocations: 0 / 272.7 MB, free: 1.324 MB / 250.7 MB Notification: Performance of Transformations before backend: time 1.153e-05/0.0108, allocations: 0 / 272.7 MB, free: 1.324 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.001717/0.01251, allocations: 0.6168 MB / 273.3 MB, free: 0.668 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.541e-05/0.01256, allocations: 12.03 kB / 273.3 MB, free: 0.6562 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001388/0.0127, allocations: 52.75 kB / 273.4 MB, free: 0.6055 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005464/0.01324, allocations: 245.2 kB / 273.6 MB, free: 348 kB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.225e-05/0.01327, allocations: 16.88 kB / 273.6 MB, free: 332 kB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.535e-05/0.01332, allocations: 28.38 kB / 273.6 MB, free: 304 kB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000876/0.0142, allocations: 382.7 kB / 274 MB, free: 15.89 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.778e-05/0.01422, allocations: 4.188 kB / 274 MB, free: 15.89 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.38e-05/0.01425, allocations: 8.375 kB / 274 MB, free: 15.88 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.432e-05/0.01426, allocations: 11.94 kB / 274 MB, free: 15.87 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009204/0.01518, allocations: 281.8 kB / 274.3 MB, free: 15.6 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002102/0.01729, allocations: 0.996 MB / 275.3 MB, free: 14.54 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009376/0.01822, allocations: 234.5 kB / 275.5 MB, free: 14.3 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003622/0.01859, allocations: 104.8 kB / 275.6 MB, free: 14.2 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.573e-05/0.01861, allocations: 4 kB / 275.6 MB, free: 14.2 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005847/0.0192, allocations: 236.8 kB / 275.9 MB, free: 13.93 MB / 266.7 MB Notification: Performance of pre-optimization done (n=13): time 1.704e-06/0.0192, allocations: 0 / 275.9 MB, free: 13.93 MB / 266.7 MB Notification: Performance of matching and sorting (n=13): time 0.002583/0.02178, allocations: 0.5916 MB / 276.5 MB, free: 13.33 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001058/0.02189, allocations: 111 kB / 276.6 MB, free: 13.2 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005012/0.02239, allocations: 277.8 kB / 276.8 MB, free: 12.91 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 3.561e-05/0.02242, allocations: 41.64 kB / 276.9 MB, free: 12.87 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001786/0.0226, allocations: 196 kB / 277.1 MB, free: 12.67 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.457e-05/0.02266, allocations: 51.58 kB / 277.1 MB, free: 12.62 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001065/0.02276, allocations: 45.94 kB / 277.2 MB, free: 12.57 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0002206/0.02298, allocations: 342.8 kB / 277.5 MB, free: 12.22 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004086/0.02339, allocations: 137.8 kB / 277.6 MB, free: 12.08 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000556/0.02395, allocations: 290.4 kB / 277.9 MB, free: 11.73 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008211/0.02477, allocations: 323.5 kB / 278.2 MB, free: 11.38 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.166e-06/0.02477, allocations: 4 kB / 278.2 MB, free: 11.37 MB / 266.7 MB Notification: Performance of matching and sorting (n=29) (initialization): time 0.00143/0.0262, allocations: 0.5014 MB / 278.7 MB, free: 10.85 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.518e-05/0.02626, allocations: 45.69 kB / 278.8 MB, free: 10.8 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.01e-05/0.02627, allocations: 4 kB / 278.8 MB, free: 10.79 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007281/0.027, allocations: 136.7 kB / 278.9 MB, free: 10.66 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000224/0.02722, allocations: 51.95 kB / 279 MB, free: 10.61 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003409/0.03063, allocations: 1.941 MB / 280.9 MB, free: 8.562 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003722/0.031, allocations: 47.81 kB / 281 MB, free: 8.516 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.562e-05/0.03104, allocations: 15.98 kB / 281 MB, free: 8.5 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.0002257/0.03126, allocations: 157.3 kB / 281.1 MB, free: 8.34 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.951e-05/0.03132, allocations: 27.8 kB / 281.2 MB, free: 8.312 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.881e-05/0.03138, allocations: 29.77 kB / 281.2 MB, free: 8.281 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.603e-06/0.03138, allocations: 0 / 281.2 MB, free: 8.281 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.617e-06/0.03139, allocations: 0 / 281.2 MB, free: 8.281 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.318e-06/0.03139, allocations: 0 / 281.2 MB, free: 8.281 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003011/0.03169, allocations: 213.2 kB / 281.4 MB, free: 8.043 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.116e-06/0.03169, allocations: 0 / 281.4 MB, free: 8.043 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001461/0.03184, allocations: 23.97 kB / 281.4 MB, free: 8.02 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000596/0.03244, allocations: 140.7 kB / 281.6 MB, free: 7.879 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.368e-05/0.03246, allocations: 12.11 kB / 281.6 MB, free: 7.867 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002889/0.03535, allocations: 1.844 MB / 283.4 MB, free: 5.922 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.112e-06/0.03536, allocations: 7.922 kB / 283.4 MB, free: 5.914 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00122/0.03658, allocations: 365.6 kB / 283.8 MB, free: 5.535 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002036/0.03678, allocations: 27.78 kB / 283.8 MB, free: 5.508 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.201e-05/0.03682, allocations: 4 kB / 283.8 MB, free: 5.504 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002648/0.03709, allocations: 35.95 kB / 283.8 MB, free: 5.469 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.768e-05/0.03717, allocations: 19.97 kB / 283.9 MB, free: 5.449 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.664e-05/0.03719, allocations: 4 kB / 283.9 MB, free: 5.445 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0002371/0.03743, allocations: 193.2 kB / 284.1 MB, free: 5.258 MB / 266.7 MB Notification: Performance of sort global known variables: time 8.1e-08/0.03743, allocations: 0 / 284.1 MB, free: 5.258 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0004997/0.03793, allocations: 75.89 kB / 284.1 MB, free: 5.184 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.0001735/0.0381, allocations: 111.2 kB / 284.2 MB, free: 5.062 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.001575/0.03968, allocations: 0.515 MB / 284.8 MB, free: 4.516 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 2.635e-06/0.03968, allocations: 0.625 kB / 284.8 MB, free: 4.516 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005714/0.04025, allocations: 242.4 kB / 285 MB, free: 4.266 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003748/0.04062, allocations: 52.47 kB / 285 MB, free: 4.215 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003387/0.04401, allocations: 0.926 MB / 286 MB, free: 3.266 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000167/0.04418, allocations: 146.8 kB / 286.1 MB, free: 3.105 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.0001183/0.0443, allocations: 26.3 kB / 286.1 MB, free: 3.074 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.959e-05/0.04437, allocations: 20.5 kB / 286.2 MB, free: 3.055 MB / 266.7 MB Notification: Performance of SimCode: time 9.12e-07/0.04437, allocations: 0 / 286.2 MB, free: 3.055 MB / 266.7 MB Notification: Performance of Templates: time 0.1175/0.1619, allocations: 4.07 MB / 290.2 MB, free: 32.39 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=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.NonInvertingAmplifier.pipe 2>&1) [Timeout 480] 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.NonInvertingAmplifier.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.325166130962316]