Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.NonInvertingAmplifier.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001863/0.001863, allocations: 103.5 kB / 20.97 MB, free: 3.453 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002016/0.002016, allocations: 156.8 kB / 24.27 MB, free: 156 kB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.531/1.531, allocations: 177 MB / 204.5 MB, free: 5.609 MB / 186.7 MB " [Timeout remaining time 178] Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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_trunk_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_trunk_Modelica.Electrical.Analog.Examples.OpAmps.NonInvertingAmplifier") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.934e-06/1.934e-06, allocations: 0 / 272.2 MB, free: 1.758 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.496e-05/3.689e-05, allocations: 2.312 kB / 272.2 MB, free: 1.754 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.NonInvertingAmplifier): time 0.008456/0.008493, allocations: 2.928 MB / 275.2 MB, free: 14.8 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.002793/0.01129, allocations: 0.7361 MB / 275.9 MB, free: 14.06 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002625/0.01155, allocations: 7.938 kB / 275.9 MB, free: 14.05 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003315/0.01188, allocations: 47.52 kB / 276 MB, free: 14.01 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004464/0.01233, allocations: 119 kB / 276.1 MB, free: 13.89 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000565/0.01289, allocations: 107.8 kB / 276.2 MB, free: 13.79 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0009022/0.01379, allocations: 422.2 kB / 276.6 MB, free: 13.37 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003252/0.01412, allocations: 83.67 kB / 276.7 MB, free: 13.29 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005383/0.01466, allocations: 239.4 kB / 276.9 MB, free: 13.05 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004039/0.01506, allocations: 139.6 kB / 277 MB, free: 12.92 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001248/0.01519, allocations: 44 kB / 277.1 MB, free: 12.88 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001213/0.01531, allocations: 40 kB / 277.1 MB, free: 12.84 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001796/0.01549, allocations: 79.69 kB / 277.2 MB, free: 12.76 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002467/0.01573, allocations: 123.7 kB / 277.3 MB, free: 12.64 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0007799/0.01651, allocations: 474.6 kB / 277.8 MB, free: 12.17 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.269e-06/0.01652, allocations: 0 / 277.8 MB, free: 12.17 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.443e-06/0.01652, allocations: 4 kB / 277.8 MB, free: 12.17 MB / 266.7 MB Notification: Performance of Transformations before backend: time 7.604e-06/0.01653, allocations: 3.938 kB / 277.8 MB, free: 12.16 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: 64 * Number of variables: 64 Notification: Performance of Generate backend data structure: time 0.001446/0.01797, allocations: 0.7088 MB / 278.5 MB, free: 11.41 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.134e-05/0.01803, allocations: 15.98 kB / 278.5 MB, free: 11.39 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001387/0.01816, allocations: 52.75 kB / 278.6 MB, free: 11.34 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004705/0.01863, allocations: 256 kB / 278.8 MB, free: 11.07 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.919e-05/0.01866, allocations: 17.03 kB / 278.8 MB, free: 11.05 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.562e-05/0.01872, allocations: 32.36 kB / 278.9 MB, free: 11.02 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006824/0.0194, allocations: 347.7 kB / 279.2 MB, free: 10.66 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.441e-05/0.01942, allocations: 4.188 kB / 279.2 MB, free: 10.65 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.283e-05/0.01945, allocations: 12.31 kB / 279.2 MB, free: 10.64 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.525e-05/0.01946, allocations: 11.94 kB / 279.2 MB, free: 10.63 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005869/0.02005, allocations: 230.5 kB / 279.5 MB, free: 10.4 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002115/0.02217, allocations: 1.09 MB / 280.6 MB, free: 9.246 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005888/0.02276, allocations: 202.1 kB / 280.8 MB, free: 9.039 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000224/0.02298, allocations: 79.64 kB / 280.8 MB, free: 8.957 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.327e-05/0.02301, allocations: 4 kB / 280.8 MB, free: 8.953 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005055/0.02352, allocations: 265.1 kB / 281.1 MB, free: 8.645 MB / 266.7 MB Notification: Performance of pre-optimization done (n=16): time 1.853e-06/0.02352, allocations: 0 / 281.1 MB, free: 8.645 MB / 266.7 MB Notification: Performance of matching and sorting (n=16): time 0.001478/0.025, allocations: 400.9 kB / 281.5 MB, free: 8.242 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001068/0.0251, allocations: 132.5 kB / 281.6 MB, free: 8.082 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004671/0.02557, allocations: 380.1 kB / 282 MB, free: 7.691 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 3.524e-05/0.02561, allocations: 29.7 kB / 282 MB, free: 7.656 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002372/0.02584, allocations: 262.7 kB / 282.3 MB, free: 7.395 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.488e-05/0.02591, allocations: 55.53 kB / 282.3 MB, free: 7.34 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001282/0.02604, allocations: 71.34 kB / 282.4 MB, free: 7.262 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0003513/0.02639, allocations: 0.5157 MB / 282.9 MB, free: 6.734 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002913/0.02668, allocations: 117.7 kB / 283 MB, free: 6.613 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004752/0.02716, allocations: 346 kB / 283.4 MB, free: 6.188 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005893/0.02774, allocations: 309.7 kB / 283.7 MB, free: 5.828 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.985e-06/0.02775, allocations: 0 / 283.7 MB, free: 5.828 MB / 266.7 MB Notification: Performance of matching and sorting (n=31) (initialization): time 0.000996/0.02874, allocations: 434.9 kB / 284.1 MB, free: 5.383 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.32e-05/0.0288, allocations: 37.69 kB / 284.1 MB, free: 5.34 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.086e-05/0.02881, allocations: 4 kB / 284.1 MB, free: 5.336 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005557/0.02936, allocations: 95.64 kB / 284.2 MB, free: 5.238 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000209/0.02957, allocations: 43.92 kB / 284.3 MB, free: 5.195 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003066/0.03264, allocations: 2.44 MB / 286.7 MB, free: 2.629 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003486/0.03299, allocations: 47.77 kB / 286.8 MB, free: 2.582 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.773e-05/0.03301, allocations: 11.98 kB / 286.8 MB, free: 2.57 MB / 266.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 12 * Number of states: 0 () * Number of discrete variables: 7 (buffer.opAmp.satNeg,buffer.opAmp.satPos,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 (25): * Single equations (assignments): 23 * 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,5)} Notification: Performance of prepare postOptimizeDAE: time 0.0002624/0.03328, allocations: 200.5 kB / 287 MB, free: 2.363 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.99e-05/0.03334, allocations: 27.86 kB / 287 MB, free: 2.336 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.514e-05/0.0334, allocations: 30.11 kB / 287 MB, free: 2.305 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.944e-06/0.0334, allocations: 4.031 kB / 287 MB, free: 2.301 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.21e-06/0.03341, allocations: 4 kB / 287 MB, free: 2.297 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.557e-06/0.03341, allocations: 0 / 287 MB, free: 2.297 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000378/0.03379, allocations: 280.4 kB / 287.3 MB, free: 1.988 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.434e-06/0.03379, allocations: 0 / 287.3 MB, free: 1.988 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001115/0.0339, allocations: 15.98 kB / 287.3 MB, free: 1.973 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004411/0.03435, allocations: 91.61 kB / 287.4 MB, free: 1.879 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.443e-05/0.03437, allocations: 11.98 kB / 287.4 MB, free: 1.867 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002832/0.0372, allocations: 2.416 MB / 289.8 MB, free: 15.32 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.633e-06/0.0372, allocations: 0 / 289.8 MB, free: 15.32 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007493/0.03795, allocations: 302.8 kB / 290.1 MB, free: 15 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.061e-05/0.03801, allocations: 27.8 kB / 290.2 MB, free: 14.98 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.264e-05/0.03806, allocations: 7.984 kB / 290.2 MB, free: 14.97 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002039/0.03826, allocations: 24.02 kB / 290.2 MB, free: 14.95 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001047/0.03836, allocations: 27.95 kB / 290.2 MB, free: 14.92 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.753e-05/0.03838, allocations: 8 kB / 290.2 MB, free: 14.91 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0002875/0.03867, allocations: 249.1 kB / 290.5 MB, free: 14.67 MB / 282.7 MB Notification: Performance of sort global known variables: time 7e-08/0.03867, allocations: 0 / 290.5 MB, free: 14.67 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.000525/0.03919, allocations: 87.83 kB / 290.5 MB, free: 14.58 MB / 282.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: 5 ($whenCondition1,vIn.signalSource.T_start,vIn.signalSource.count,buffer.opAmp.satPos,buffer.opAmp.satNeg) * Number of discrete states: 1 (vIn.signalSource.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (11): * Single equations (assignments): 8 * 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,5)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0001651/0.03936, allocations: 99.25 kB / 290.6 MB, free: 14.48 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.001025/0.04038, allocations: 0.4896 MB / 291.1 MB, free: 13.95 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 5.27e-06/0.04039, allocations: 4 kB / 291.1 MB, free: 13.95 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005135/0.0409, allocations: 301.3 kB / 291.4 MB, free: 13.63 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003716/0.04128, allocations: 49.41 kB / 291.5 MB, free: 13.58 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001614/0.04289, allocations: 0.5338 MB / 292 MB, free: 13.02 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001828/0.04307, allocations: 151.5 kB / 292.2 MB, free: 12.85 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 0.0001189/0.04319, allocations: 30.27 kB / 292.2 MB, free: 12.82 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.112e-05/0.04327, allocations: 28.5 kB / 292.2 MB, free: 12.79 MB / 282.7 MB Notification: Performance of SimCode: time 7.72e-07/0.04327, allocations: 0 / 292.2 MB, free: 12.79 MB / 282.7 MB Notification: Performance of Templates: time 0.01073/0.054, allocations: 4.403 MB / 296.6 MB, free: 8.449 MB / 282.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.NonInvertingAmplifier.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.NonInvertingAmplifier.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.NonInvertingAmplifier.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.NonInvertingAmplifier.pipe >> ../files/Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.NonInvertingAmplifier.sim & ./Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.NonInvertingAmplifier -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.NonInvertingAmplifier.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_trunk_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_trunk_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.596434643026441]