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.002475/0.002475, allocations: 91.61 kB / 20.96 MB, free: 3.461 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.002884/0.002884, allocations: 161.3 kB / 24.27 MB, free: 152 kB / 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.597/1.597, allocations: 177.1 MB / 204.6 MB, free: 5.621 MB / 186.7 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.603e-06/1.603e-06, allocations: 0 / 272.4 MB, free: 1.805 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.193e-05/3.353e-05, allocations: 2.312 kB / 272.4 MB, free: 1.801 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.NonInvertingAmplifier): time 0.005186/0.00522, allocations: 2.915 MB / 275.3 MB, free: 14.87 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.001674/0.006894, allocations: 0.7362 MB / 276 MB, free: 14.12 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001531/0.007047, allocations: 11.94 kB / 276 MB, free: 14.11 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001769/0.007224, allocations: 51.5 kB / 276.1 MB, free: 14.06 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002541/0.007478, allocations: 107.1 kB / 276.2 MB, free: 13.96 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003358/0.007814, allocations: 119.8 kB / 276.3 MB, free: 13.84 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0005529/0.008366, allocations: 426.2 kB / 276.7 MB, free: 13.42 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002365/0.008603, allocations: 87.61 kB / 276.8 MB, free: 13.34 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003671/0.00897, allocations: 247.5 kB / 277 MB, free: 13.09 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002382/0.009208, allocations: 131.6 kB / 277.2 MB, free: 12.96 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 7.704e-05/0.009285, allocations: 40 kB / 277.2 MB, free: 12.93 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.599e-05/0.009361, allocations: 40 kB / 277.2 MB, free: 12.89 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001038/0.009465, allocations: 79.69 kB / 277.3 MB, free: 12.81 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001809/0.009646, allocations: 131.6 kB / 277.5 MB, free: 12.68 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000624/0.01027, allocations: 470.6 kB / 277.9 MB, free: 12.22 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.358e-06/0.01027, allocations: 0 / 277.9 MB, free: 12.22 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.363e-06/0.01028, allocations: 0 / 277.9 MB, free: 12.22 MB / 266.7 MB Notification: Performance of Transformations before backend: time 6.623e-06/0.01028, allocations: 0 / 277.9 MB, free: 12.22 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.001439/0.01172, allocations: 0.7049 MB / 278.6 MB, free: 11.47 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.35e-05/0.01176, allocations: 8.031 kB / 278.6 MB, free: 11.46 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001367/0.0119, allocations: 56.7 kB / 278.7 MB, free: 11.41 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004687/0.01237, allocations: 256 kB / 278.9 MB, free: 11.13 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.609e-05/0.01241, allocations: 24.88 kB / 279 MB, free: 11.11 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.932e-05/0.01246, allocations: 24.38 kB / 279 MB, free: 11.08 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007768/0.01323, allocations: 372.3 kB / 279.3 MB, free: 10.69 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.443e-05/0.01325, allocations: 192 / 279.3 MB, free: 10.69 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.232e-05/0.01328, allocations: 8.375 kB / 279.4 MB, free: 10.68 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.346e-05/0.01329, allocations: 11.94 kB / 279.4 MB, free: 10.67 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000681/0.01397, allocations: 249.8 kB / 279.6 MB, free: 10.43 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002138/0.01611, allocations: 1.165 MB / 280.8 MB, free: 9.199 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007168/0.01683, allocations: 207.1 kB / 281 MB, free: 8.984 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002616/0.01709, allocations: 83.66 kB / 281.1 MB, free: 8.898 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.988e-05/0.01712, allocations: 4 kB / 281.1 MB, free: 8.895 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009126/0.01803, allocations: 235.4 kB / 281.3 MB, free: 8.625 MB / 266.7 MB Notification: Performance of pre-optimization done (n=13): time 1.472e-06/0.01803, allocations: 0 / 281.3 MB, free: 8.625 MB / 266.7 MB Notification: Performance of matching and sorting (n=13): time 0.001901/0.01993, allocations: 464.8 kB / 281.7 MB, free: 8.16 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.437e-05/0.02003, allocations: 106.8 kB / 281.8 MB, free: 8.031 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004693/0.0205, allocations: 372.2 kB / 282.2 MB, free: 7.652 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 4.206e-05/0.02054, allocations: 33.7 kB / 282.2 MB, free: 7.613 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002324/0.02077, allocations: 266.7 kB / 282.5 MB, free: 7.348 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.701e-05/0.02083, allocations: 51.64 kB / 282.6 MB, free: 7.297 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001397/0.02097, allocations: 63.55 kB / 282.6 MB, free: 7.223 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.000338/0.02131, allocations: 0.5196 MB / 283.1 MB, free: 6.691 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003151/0.02162, allocations: 125.9 kB / 283.3 MB, free: 6.562 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004825/0.0221, allocations: 316.8 kB / 283.6 MB, free: 6.172 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006614/0.02277, allocations: 332.3 kB / 283.9 MB, free: 5.789 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.387e-06/0.02277, allocations: 0 / 283.9 MB, free: 5.789 MB / 266.7 MB Notification: Performance of matching and sorting (n=29) (initialization): time 0.001167/0.02394, allocations: 464.3 kB / 284.3 MB, free: 5.312 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.101e-05/0.02399, allocations: 29.7 kB / 284.4 MB, free: 5.277 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.11e-05/0.024, allocations: 4 kB / 284.4 MB, free: 5.273 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006152/0.02461, allocations: 111.7 kB / 284.5 MB, free: 5.16 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002006/0.02481, allocations: 47.91 kB / 284.5 MB, free: 5.113 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003188/0.028, allocations: 2.407 MB / 286.9 MB, free: 2.578 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000316/0.02832, allocations: 47.86 kB / 287 MB, free: 2.531 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.091e-05/0.02835, allocations: 16.33 kB / 287 MB, free: 2.516 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.0002235/0.02857, allocations: 196.5 kB / 287.2 MB, free: 2.312 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.727e-05/0.02863, allocations: 39.73 kB / 287.2 MB, free: 2.273 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.894e-05/0.02869, allocations: 25.77 kB / 287.3 MB, free: 2.246 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.268e-06/0.02869, allocations: 4 kB / 287.3 MB, free: 2.242 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.214e-06/0.0287, allocations: 0 / 287.3 MB, free: 2.242 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.116e-06/0.0287, allocations: 0 / 287.3 MB, free: 2.242 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003493/0.02905, allocations: 272.5 kB / 287.5 MB, free: 1.941 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.963e-06/0.02905, allocations: 4 kB / 287.5 MB, free: 1.938 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001054/0.02916, allocations: 19.98 kB / 287.6 MB, free: 1.918 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004893/0.02965, allocations: 111.5 kB / 287.7 MB, free: 1.805 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.85e-05/0.02966, allocations: 4 kB / 287.7 MB, free: 1.801 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003301/0.03296, allocations: 2.356 MB / 290 MB, free: 15.33 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.362e-06/0.03297, allocations: 7.938 kB / 290 MB, free: 15.32 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009254/0.0339, allocations: 327.6 kB / 290.4 MB, free: 14.98 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.36e-05/0.03396, allocations: 27.84 kB / 290.4 MB, free: 14.95 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.941e-05/0.03401, allocations: 4 kB / 290.4 MB, free: 14.95 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002038/0.03421, allocations: 23.98 kB / 290.4 MB, free: 14.92 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.479e-05/0.0343, allocations: 19.97 kB / 290.4 MB, free: 14.9 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.819e-05/0.03432, allocations: 7.984 kB / 290.4 MB, free: 14.89 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0002804/0.0346, allocations: 249.1 kB / 290.7 MB, free: 14.65 MB / 282.7 MB Notification: Performance of sort global known variables: time 7e-08/0.0346, allocations: 0 / 290.7 MB, free: 14.65 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0004761/0.03507, allocations: 87.78 kB / 290.8 MB, free: 14.57 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: 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.0001602/0.03523, allocations: 99.25 kB / 290.9 MB, free: 14.46 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.00124/0.03647, allocations: 0.5175 MB / 291.4 MB, free: 13.91 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 2.896e-06/0.03648, allocations: 192 / 291.4 MB, free: 13.91 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005244/0.037, allocations: 297.3 kB / 291.7 MB, free: 13.59 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000361/0.03736, allocations: 48.34 kB / 291.7 MB, free: 13.55 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002474/0.03984, allocations: 0.7252 MB / 292.4 MB, free: 12.79 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001753/0.04001, allocations: 146.9 kB / 292.6 MB, free: 12.63 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 0.0001097/0.04012, allocations: 30.27 kB / 292.6 MB, free: 12.6 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.2e-05/0.04019, allocations: 24.5 kB / 292.6 MB, free: 12.57 MB / 282.7 MB Notification: Performance of SimCode: time 7.72e-07/0.04019, allocations: 0 / 292.6 MB, free: 12.57 MB / 282.7 MB Notification: Performance of Templates: time 0.01/0.0502, allocations: 4.178 MB / 296.8 MB, free: 8.453 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","/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.798513259040192]