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.0009078/0.0009078, allocations: 78.66 kB / 21.42 MB, free: 3.074 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.0009506/0.0009506, allocations: 164.4 kB / 24.82 MB, free: 9.266 MB / 18.57 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.031/1.031, allocations: 177.1 MB / 205.3 MB, free: 5.473 MB / 186.7 MB " [Timeout remaining time 179] 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.593e-06/1.593e-06, allocations: 0 / 273.4 MB, free: 1.227 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.662e-05/1.821e-05, allocations: 2.312 kB / 273.4 MB, free: 1.223 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.NonInvertingAmplifier): time 0.003199/0.003218, allocations: 2.911 MB / 276.4 MB, free: 14.3 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.0009912/0.004209, allocations: 0.7518 MB / 277.1 MB, free: 13.54 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001268/0.004336, allocations: 7.938 kB / 277.1 MB, free: 13.53 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001418/0.004477, allocations: 47.56 kB / 277.2 MB, free: 13.48 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001534/0.004631, allocations: 119 kB / 277.3 MB, free: 13.37 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000242/0.004873, allocations: 119.7 kB / 277.4 MB, free: 13.25 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003214/0.005194, allocations: 434.2 kB / 277.8 MB, free: 12.82 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001619/0.005356, allocations: 83.67 kB / 277.9 MB, free: 12.74 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002042/0.00556, allocations: 231.5 kB / 278.1 MB, free: 12.51 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001519/0.005712, allocations: 139.6 kB / 278.3 MB, free: 12.38 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 4.718e-05/0.005759, allocations: 40 kB / 278.3 MB, free: 12.34 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 3.837e-05/0.005798, allocations: 40 kB / 278.3 MB, free: 12.3 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 5.354e-05/0.005851, allocations: 79.69 kB / 278.4 MB, free: 12.22 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 9.591e-05/0.005947, allocations: 131.7 kB / 278.5 MB, free: 12.09 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002497/0.006197, allocations: 263.1 kB / 278.8 MB, free: 11.83 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.034e-06/0.006199, allocations: 0 / 278.8 MB, free: 11.83 MB / 266.7 MB Notification: Performance of FrontEnd: time 4.71e-07/0.006199, allocations: 0 / 278.8 MB, free: 11.83 MB / 266.7 MB Notification: Performance of Transformations before backend: time 3.607e-06/0.006203, allocations: 0 / 278.8 MB, free: 11.83 MB / 266.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.0007392/0.006942, allocations: 0.6895 MB / 279.5 MB, free: 11.1 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.452e-05/0.006977, allocations: 8.031 kB / 279.5 MB, free: 11.09 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.648e-05/0.007043, allocations: 64.64 kB / 279.6 MB, free: 11.03 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002141/0.007257, allocations: 232 kB / 279.8 MB, free: 10.78 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.591e-05/0.007273, allocations: 20.88 kB / 279.8 MB, free: 10.76 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.652e-05/0.0073, allocations: 24.38 kB / 279.8 MB, free: 10.73 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003/0.0076, allocations: 296.9 kB / 280.1 MB, free: 10.41 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.604e-06/0.007607, allocations: 4.188 kB / 280.1 MB, free: 10.41 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.742e-05/0.007625, allocations: 8.375 kB / 280.1 MB, free: 10.4 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.693e-06/0.007631, allocations: 7.938 kB / 280.1 MB, free: 10.39 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001044/0.007736, allocations: 83.42 kB / 280.2 MB, free: 10.32 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009319/0.008668, allocations: 1.029 MB / 281.3 MB, free: 9.219 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001748/0.008843, allocations: 107.1 kB / 281.4 MB, free: 9.102 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.049e-05/0.008893, allocations: 35.64 kB / 281.4 MB, free: 9.062 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.657e-05/0.00891, allocations: 4 kB / 281.4 MB, free: 9.059 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001459/0.009056, allocations: 179.4 kB / 281.6 MB, free: 8.844 MB / 266.7 MB Notification: Performance of pre-optimization done (n=13): time 1.092e-06/0.009057, allocations: 0 / 281.6 MB, free: 8.844 MB / 266.7 MB Notification: Performance of matching and sorting (n=13): time 0.0008555/0.009912, allocations: 296.9 kB / 281.9 MB, free: 8.543 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.254e-05/0.009955, allocations: 118.8 kB / 282 MB, free: 8.402 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000162/0.01012, allocations: 304.1 kB / 282.3 MB, free: 8.086 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.593e-05/0.01013, allocations: 29.7 kB / 282.3 MB, free: 8.051 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001022/0.01023, allocations: 250.7 kB / 282.5 MB, free: 7.801 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.562e-05/0.01026, allocations: 47.62 kB / 282.6 MB, free: 7.754 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.216e-05/0.01032, allocations: 63.73 kB / 282.7 MB, free: 7.68 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.000113/0.01044, allocations: 0.5079 MB / 283.2 MB, free: 7.16 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.957e-05/0.01049, allocations: 49.86 kB / 283.2 MB, free: 7.105 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001183/0.0106, allocations: 244.8 kB / 283.5 MB, free: 6.785 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000145/0.01075, allocations: 215.8 kB / 283.7 MB, free: 6.516 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.314e-06/0.01075, allocations: 0 / 283.7 MB, free: 6.516 MB / 266.7 MB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0003384/0.01109, allocations: 324 kB / 284 MB, free: 6.176 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.594e-05/0.01111, allocations: 37.69 kB / 284 MB, free: 6.133 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.793e-06/0.01112, allocations: 8.359 kB / 284 MB, free: 6.125 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002198/0.01134, allocations: 79.58 kB / 284.1 MB, free: 6.043 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.584e-05/0.01144, allocations: 47.97 kB / 284.1 MB, free: 5.996 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001077/0.01251, allocations: 2.146 MB / 286.3 MB, free: 3.734 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001272/0.01264, allocations: 51.75 kB / 286.3 MB, free: 3.684 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.285e-05/0.01265, allocations: 12 kB / 286.4 MB, free: 3.672 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.566e-05/0.01274, allocations: 168.5 kB / 286.5 MB, free: 3.496 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.512e-05/0.01278, allocations: 31.8 kB / 286.6 MB, free: 3.465 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.749e-05/0.0128, allocations: 25.77 kB / 286.6 MB, free: 3.438 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.452e-06/0.0128, allocations: 8.031 kB / 286.6 MB, free: 3.43 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.202e-06/0.01281, allocations: 0 / 286.6 MB, free: 3.43 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.907e-06/0.01281, allocations: 3.984 kB / 286.6 MB, free: 3.426 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001184/0.01293, allocations: 181 kB / 286.8 MB, free: 3.223 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.323e-06/0.01293, allocations: 48 / 286.8 MB, free: 3.223 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.529e-05/0.01297, allocations: 19.97 kB / 286.8 MB, free: 3.203 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001606/0.01314, allocations: 75.61 kB / 286.9 MB, free: 3.125 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.866e-06/0.01314, allocations: 8 kB / 286.9 MB, free: 3.117 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001177/0.01432, allocations: 2.099 MB / 289 MB, free: 0.9062 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.71e-07/0.01432, allocations: 0 / 289 MB, free: 0.9062 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002226/0.01454, allocations: 207.8 kB / 289.2 MB, free: 0.6758 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.855e-05/0.01457, allocations: 31.78 kB / 289.2 MB, free: 0.6445 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.789e-05/0.01459, allocations: 3.938 kB / 289.2 MB, free: 0.6406 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.456e-05/0.01468, allocations: 35.94 kB / 289.2 MB, free: 0.6055 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.21e-05/0.01472, allocations: 15.97 kB / 289.3 MB, free: 0.5898 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.418e-06/0.01473, allocations: 4 kB / 289.3 MB, free: 0.5859 MB / 266.7 MB Notification: Performance of sorting global known variables: time 8.561e-05/0.01481, allocations: 201.1 kB / 289.5 MB, free: 400 kB / 266.7 MB Notification: Performance of sort global known variables: time 8e-08/0.01481, allocations: 0 / 289.5 MB, free: 400 kB / 266.7 MB Notification: Performance of remove unused functions: time 0.000248/0.01506, allocations: 79.84 kB / 289.5 MB, free: 320 kB / 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.187e-05/0.01513, allocations: 99.25 kB / 289.6 MB, free: 212 kB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0003826/0.01552, allocations: 417.2 kB / 290 MB, free: 15.77 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 1.573e-06/0.01552, allocations: 0 / 290 MB, free: 15.77 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001385/0.01566, allocations: 234.1 kB / 290.3 MB, free: 15.52 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002004/0.01586, allocations: 62.11 kB / 290.3 MB, free: 15.46 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001282/0.01714, allocations: 0.6902 MB / 291 MB, free: 14.74 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.835e-05/0.01719, allocations: 92.11 kB / 291.1 MB, free: 14.63 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 6.672e-05/0.01725, allocations: 22.3 kB / 291.1 MB, free: 14.61 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001239/0.01738, allocations: 126.2 kB / 291.3 MB, free: 14.48 MB / 282.7 MB Notification: Performance of SimCode: time 5.51e-07/0.01738, allocations: 4 kB / 291.3 MB, free: 14.48 MB / 282.7 MB Notification: Performance of Templates: time 0.006243/0.02362, allocations: 4.459 MB / 295.7 MB, free: 10.1 MB / 282.7 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=240 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.NonInvertingAmplifier.pipe 2>&1) [Timeout 240] 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","",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.768236445263028]