Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.NonInvertingAmplifier.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.001285/0.001285, allocations: 84.31 kB / 20.68 MB, free: 1.027 MB / 14.72 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.001392/0.001392, allocations: 164.5 kB / 23.95 MB, free: 4.156 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.517/1.517, allocations: 177.1 MB / 204.3 MB, free: 9.172 MB / 190.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+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.NonInvertingAmplifier,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|buffer.opAmp.out.v|buffer.opAmp.out.i",fileNamePrefix="Modelica_4.1.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.1.0_Modelica.Electrical.Analog.Examples.OpAmps.NonInvertingAmplifier") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.713e-06/1.713e-06, allocations: 0 / 325.1 MB, free: 0.5156 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.485e-05/2.656e-05, allocations: 2.281 kB / 325.1 MB, free: 0.5117 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.NonInvertingAmplifier): time 0.00446/0.004486, allocations: 2.766 MB / 327.9 MB, free: 14.64 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.001766/0.006252, allocations: 0.7412 MB / 328.6 MB, free: 14.12 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001757/0.006427, allocations: 4.156 kB / 328.6 MB, free: 14.12 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001915/0.006619, allocations: 51.72 kB / 328.7 MB, free: 14.09 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002338/0.006853, allocations: 107.5 kB / 328.8 MB, free: 14.01 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003266/0.007179, allocations: 124.1 kB / 328.9 MB, free: 13.93 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004987/0.007678, allocations: 427.6 kB / 329.3 MB, free: 13.7 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002311/0.007909, allocations: 81.3 kB / 329.4 MB, free: 13.66 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003486/0.008258, allocations: 238 kB / 329.6 MB, free: 13.55 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002277/0.008485, allocations: 128.5 kB / 329.8 MB, free: 13.5 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 6.946e-05/0.008555, allocations: 39.91 kB / 329.8 MB, free: 13.5 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.566e-05/0.00864, allocations: 40.88 kB / 329.8 MB, free: 13.5 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 9.799e-05/0.008738, allocations: 89.12 kB / 329.9 MB, free: 13.44 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000174/0.008912, allocations: 125.3 kB / 330 MB, free: 13.38 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005918/0.009504, allocations: 461.4 kB / 330.5 MB, free: 13.16 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.646e-06/0.009508, allocations: 0 / 330.5 MB, free: 13.16 MB / 302.1 MB Notification: Performance of FrontEnd: time 9.92e-07/0.009509, allocations: 0 / 330.5 MB, free: 13.16 MB / 302.1 MB Notification: Performance of Transformations before backend: time 6.422e-06/0.009515, allocations: 1.094 kB / 330.5 MB, free: 13.16 MB / 302.1 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.001374/0.01089, allocations: 0.6101 MB / 331.1 MB, free: 12.64 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.503e-05/0.01092, allocations: 9.125 kB / 331.1 MB, free: 12.64 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.914e-05/0.01101, allocations: 38.42 kB / 331.1 MB, free: 12.62 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003925/0.01141, allocations: 242 kB / 331.4 MB, free: 12.4 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.669e-05/0.01143, allocations: 24.47 kB / 331.4 MB, free: 12.39 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.609e-05/0.01148, allocations: 28.5 kB / 331.4 MB, free: 12.38 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000798/0.01228, allocations: 374.4 kB / 331.8 MB, free: 12.11 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.239e-05/0.01229, allocations: 192 / 331.8 MB, free: 12.11 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.795e-05/0.01233, allocations: 11.62 kB / 331.8 MB, free: 12.11 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.336e-05/0.01234, allocations: 9.438 kB / 331.8 MB, free: 12.1 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009043/0.01324, allocations: 288.1 kB / 332.1 MB, free: 11.97 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002036/0.01528, allocations: 0.9898 MB / 333.1 MB, free: 11.14 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009084/0.01619, allocations: 233 kB / 333.3 MB, free: 11.03 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003737/0.01656, allocations: 104 kB / 333.4 MB, free: 10.97 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.182e-05/0.01659, allocations: 1.156 kB / 333.4 MB, free: 10.97 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005298/0.01711, allocations: 235.1 kB / 333.7 MB, free: 10.77 MB / 302.1 MB Notification: Performance of pre-optimization done (n=13): time 1.432e-06/0.01712, allocations: 0 / 333.7 MB, free: 10.77 MB / 302.1 MB Notification: Performance of matching and sorting (n=13): time 0.002506/0.01962, allocations: 0.5895 MB / 334.2 MB, free: 10.5 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.135e-05/0.0197, allocations: 105.2 kB / 334.3 MB, free: 10.38 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00033/0.02003, allocations: 275.7 kB / 334.6 MB, free: 10.18 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 3.164e-05/0.02007, allocations: 35.42 kB / 334.6 MB, free: 10.14 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001664/0.02023, allocations: 206.6 kB / 334.9 MB, free: 9.957 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.929e-05/0.02028, allocations: 48.59 kB / 334.9 MB, free: 9.914 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001211/0.0204, allocations: 48.94 kB / 334.9 MB, free: 9.875 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001527/0.02055, allocations: 332.3 kB / 335.3 MB, free: 9.547 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003956/0.02095, allocations: 132.4 kB / 335.4 MB, free: 9.469 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005031/0.02145, allocations: 295.4 kB / 335.7 MB, free: 9.188 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007833/0.02224, allocations: 315.8 kB / 336 MB, free: 8.949 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.506e-06/0.02224, allocations: 5.25 kB / 336 MB, free: 8.945 MB / 302.1 MB Notification: Performance of matching and sorting (n=29) (initialization): time 0.001369/0.02361, allocations: 0.5046 MB / 336.5 MB, free: 8.645 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.096e-05/0.02365, allocations: 32.17 kB / 336.5 MB, free: 8.613 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.248e-06/0.02366, allocations: 3.656 kB / 336.5 MB, free: 8.613 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004152/0.02407, allocations: 85.2 kB / 336.6 MB, free: 8.574 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000234/0.02431, allocations: 55.05 kB / 336.7 MB, free: 8.555 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003205/0.02751, allocations: 1.922 MB / 338.6 MB, free: 6.895 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000368/0.02788, allocations: 54.47 kB / 338.7 MB, free: 6.867 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.79e-05/0.02791, allocations: 13.17 kB / 338.7 MB, free: 6.863 MB / 302.1 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.0001723/0.02808, allocations: 154.1 kB / 338.8 MB, free: 6.723 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.238e-05/0.02812, allocations: 31.45 kB / 338.8 MB, free: 6.703 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.851e-05/0.02819, allocations: 28.23 kB / 338.9 MB, free: 6.688 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.154e-06/0.02819, allocations: 1.156 kB / 338.9 MB, free: 6.688 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.086e-06/0.0282, allocations: 0 / 338.9 MB, free: 6.688 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.857e-06/0.0282, allocations: 0 / 338.9 MB, free: 6.688 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002683/0.02847, allocations: 223.5 kB / 339.1 MB, free: 6.488 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.547e-06/0.02847, allocations: 4 kB / 339.1 MB, free: 6.484 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001507/0.02862, allocations: 26.69 kB / 339.1 MB, free: 6.473 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003062/0.02893, allocations: 81.8 kB / 339.2 MB, free: 6.434 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.77e-05/0.02895, allocations: 9.062 kB / 339.2 MB, free: 6.426 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002646/0.03159, allocations: 1.835 MB / 341 MB, free: 4.52 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.136e-06/0.0316, allocations: 3.938 kB / 341.1 MB, free: 4.516 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001167/0.03276, allocations: 359.1 kB / 341.4 MB, free: 4.145 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.856e-05/0.03281, allocations: 31.84 kB / 341.4 MB, free: 4.113 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.742e-05/0.03285, allocations: 0 / 341.4 MB, free: 4.113 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002585/0.03311, allocations: 35.95 kB / 341.5 MB, free: 4.078 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.094e-05/0.03318, allocations: 19.97 kB / 341.5 MB, free: 4.059 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.469e-05/0.03319, allocations: 4.125 kB / 341.5 MB, free: 4.055 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0002132/0.03341, allocations: 193.2 kB / 341.7 MB, free: 3.867 MB / 302.1 MB Notification: Performance of sort global known variables: time 1e-07/0.03341, allocations: 3.938 kB / 341.7 MB, free: 3.863 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0004525/0.03386, allocations: 87.78 kB / 341.8 MB, free: 3.777 MB / 302.1 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.0001349/0.034, allocations: 103.2 kB / 341.9 MB, free: 3.668 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.001439/0.03543, allocations: 0.5079 MB / 342.4 MB, free: 3.125 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.044e-06/0.03544, allocations: 4.062 kB / 342.4 MB, free: 3.121 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005494/0.03599, allocations: 238.4 kB / 342.6 MB, free: 2.875 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003455/0.03633, allocations: 57.53 kB / 342.7 MB, free: 2.828 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003338/0.03967, allocations: 0.9126 MB / 343.6 MB, free: 1.887 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001451/0.03981, allocations: 146.9 kB / 343.7 MB, free: 1.723 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0001172/0.03993, allocations: 30.27 kB / 343.8 MB, free: 1.691 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.976e-05/0.04, allocations: 20.5 kB / 343.8 MB, free: 1.668 MB / 302.1 MB Notification: Performance of SimCode: time 3.91e-07/0.04, allocations: 0 / 343.8 MB, free: 1.668 MB / 302.1 MB Notification: Performance of Templates: time 0.008944/0.04895, allocations: 4.103 MB / 347.9 MB, free: 13.62 MB / 318.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.NonInvertingAmplifier.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.NonInvertingAmplifier.pipe ; mkfifo Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.NonInvertingAmplifier.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.NonInvertingAmplifier.pipe >> ../files/Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.NonInvertingAmplifier.sim & ./Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.NonInvertingAmplifier -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.NonInvertingAmplifier.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.NonInvertingAmplifier_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Analog/Examples/OpAmps/NonInvertingAmplifier/NonInvertingAmplifier.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.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.555930655449629]