Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.Integrator.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.0007959/0.0007959, allocations: 77.36 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001196/0.001992, allocations: 445.8 kB / 10.44 MB, free: 256 kB / 10.45 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.0006825/0.0006825, allocations: 148.9 kB / 11.34 MB, free: 2.836 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001047/0.00173, allocations: 475.6 kB / 11.8 MB, free: 2.367 MB / 13.93 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 0.8935/0.8935, allocations: 173.4 MB / 186 MB, free: 7.52 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1649/1.058, allocations: 52.48 MB / 238.5 MB, free: 7.645 MB / 234.7 MB " [Timeout remaining time 179] 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.Integrator,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|integrator.c.v|integrator.opAmp.out.v|integrator.opAmp.out.i",fileNamePrefix="Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.Integrator") translateModel(Modelica.Electrical.Analog.Examples.OpAmps.Integrator,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|integrator.c.v|integrator.opAmp.out.v|integrator.opAmp.out.i",fileNamePrefix="Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.Integrator") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.593e-06/1.593e-06, allocations: 0 / 239.8 MB, free: 6.344 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.255e-05/2.415e-05, allocations: 6.312 kB / 239.8 MB, free: 6.336 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.Integrator): time 0.003147/0.003171, allocations: 2.889 MB / 242.7 MB, free: 3.449 MB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.0008358/0.004007, allocations: 0.7344 MB / 243.4 MB, free: 2.711 MB / 234.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000104/0.004111, allocations: 4 kB / 243.4 MB, free: 2.707 MB / 234.7 MB Notification: Performance of NFTyping.typeComponents: time 9.622e-05/0.004207, allocations: 42.58 kB / 243.5 MB, free: 2.668 MB / 234.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001356/0.004343, allocations: 115.1 kB / 243.6 MB, free: 2.555 MB / 234.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001656/0.004508, allocations: 115.7 kB / 243.7 MB, free: 2.441 MB / 234.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002874/0.004796, allocations: 402.3 kB / 244.1 MB, free: 2.047 MB / 234.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001472/0.004943, allocations: 87.11 kB / 244.2 MB, free: 1.957 MB / 234.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002566/0.005199, allocations: 264 kB / 244.4 MB, free: 1.699 MB / 234.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001569/0.005356, allocations: 132.8 kB / 244.5 MB, free: 1.57 MB / 234.7 MB Notification: Performance of NFPackage.collectConstants: time 4.493e-05/0.005401, allocations: 40 kB / 244.6 MB, free: 1.531 MB / 234.7 MB Notification: Performance of NFFlatten.collectFunctions: time 3.571e-05/0.005437, allocations: 36 kB / 244.6 MB, free: 1.496 MB / 234.7 MB Notification: Performance of NFScalarize.scalarize: time 6.521e-05/0.005502, allocations: 56.78 kB / 244.7 MB, free: 1.441 MB / 234.7 MB Notification: Performance of NFVerifyModel.verify: time 7.531e-05/0.005577, allocations: 91.88 kB / 244.8 MB, free: 1.352 MB / 234.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002228/0.0058, allocations: 224.2 kB / 245 MB, free: 1.133 MB / 234.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.112e-05/0.005811, allocations: 0 / 245 MB, free: 1.133 MB / 234.7 MB Notification: Performance of FrontEnd: time 1.142e-06/0.005813, allocations: 3.938 kB / 245 MB, free: 1.129 MB / 234.7 MB Notification: Performance of Transformations before backend: time 1.183e-05/0.005824, allocations: 0.9062 kB / 245 MB, free: 1.129 MB / 234.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 59 * Number of variables: 59 Notification: Performance of Generate backend data structure: time 0.0007686/0.006593, allocations: 0.6005 MB / 245.6 MB, free: 0.4961 MB / 234.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.115e-05/0.006624, allocations: 12.69 kB / 245.6 MB, free: 496 kB / 234.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.707e-05/0.006681, allocations: 36.91 kB / 245.6 MB, free: 460 kB / 234.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000219/0.0069, allocations: 196.8 kB / 245.8 MB, free: 240 kB / 234.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.967e-05/0.00692, allocations: 16.88 kB / 245.8 MB, free: 224 kB / 234.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.537e-05/0.006955, allocations: 24.38 kB / 245.9 MB, free: 200 kB / 234.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003756/0.007331, allocations: 253.7 kB / 246.1 MB, free: 15.93 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.277e-06/0.00734, allocations: 1.656 kB / 246.1 MB, free: 15.93 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.559e-05/0.007356, allocations: 8.375 kB / 246.1 MB, free: 15.92 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.595e-06/0.007363, allocations: 7.938 kB / 246.1 MB, free: 15.91 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.258e-05/0.007456, allocations: 72.03 kB / 246.2 MB, free: 15.84 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008595/0.008315, allocations: 0.8217 MB / 247 MB, free: 14.97 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002022/0.008518, allocations: 91.42 kB / 247.1 MB, free: 14.88 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.776e-05/0.008555, allocations: 32.83 kB / 247.1 MB, free: 14.84 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.207e-05/0.008577, allocations: 4 kB / 247.2 MB, free: 14.84 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001387/0.008716, allocations: 127.7 kB / 247.3 MB, free: 14.69 MB / 250.7 MB Notification: Performance of pre-optimization done (n=12): time 1.273e-06/0.008717, allocations: 0 / 247.3 MB, free: 14.69 MB / 250.7 MB Notification: Performance of matching and sorting (n=12): time 0.0004248/0.009142, allocations: 210.8 kB / 247.5 MB, free: 14.48 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.963e-05/0.009172, allocations: 57.03 kB / 247.5 MB, free: 14.41 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000258/0.00943, allocations: 232.9 kB / 247.8 MB, free: 14.17 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 1.791e-05/0.009448, allocations: 29.7 kB / 247.8 MB, free: 14.14 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.129e-05/0.009519, allocations: 191.9 kB / 248 MB, free: 13.95 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.555e-05/0.009545, allocations: 43.67 kB / 248 MB, free: 13.9 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.085e-05/0.009595, allocations: 45.69 kB / 248.1 MB, free: 13.85 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 7.697e-05/0.009672, allocations: 338.7 kB / 248.4 MB, free: 13.51 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.695e-05/0.009719, allocations: 45.92 kB / 248.4 MB, free: 13.46 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.68e-05/0.009806, allocations: 170.9 kB / 248.6 MB, free: 13.24 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001204/0.009927, allocations: 183.7 kB / 248.8 MB, free: 13.02 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.124e-06/0.009929, allocations: 0 / 248.8 MB, free: 13.02 MB / 250.7 MB Notification: Performance of matching and sorting (n=27) (initialization): time 0.0002528/0.01018, allocations: 252.2 kB / 249 MB, free: 12.75 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.459e-05/0.01022, allocations: 33.7 kB / 249.1 MB, free: 12.71 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.52e-06/0.01022, allocations: 0 / 249.1 MB, free: 12.71 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001612/0.01038, allocations: 52.89 kB / 249.1 MB, free: 12.66 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001322/0.01051, allocations: 59.91 kB / 249.2 MB, free: 12.6 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008704/0.01139, allocations: 1.398 MB / 250.6 MB, free: 11.11 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001146/0.0115, allocations: 39.81 kB / 250.6 MB, free: 11.07 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.3e-05/0.01151, allocations: 8 kB / 250.6 MB, free: 11.06 MB / 250.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: 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 (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,1)} Notification: Performance of prepare postOptimizeDAE: time 8.588e-05/0.0116, allocations: 129.8 kB / 250.8 MB, free: 10.92 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.313e-05/0.01162, allocations: 23.97 kB / 250.8 MB, free: 10.9 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.367e-05/0.01165, allocations: 17.78 kB / 250.8 MB, free: 10.88 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.575e-06/0.01165, allocations: 4 kB / 250.8 MB, free: 10.88 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.573e-06/0.01165, allocations: 0 / 250.8 MB, free: 10.88 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.449e-06/0.01165, allocations: 3.984 kB / 250.8 MB, free: 10.88 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001144/0.01177, allocations: 141.7 kB / 250.9 MB, free: 10.72 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.535e-06/0.01177, allocations: 4 kB / 250.9 MB, free: 10.71 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001077/0.01188, allocations: 39.84 kB / 251 MB, free: 10.68 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.091e-05/0.0119, allocations: 19.84 kB / 251 MB, free: 10.66 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001133/0.01201, allocations: 48.81 kB / 251 MB, free: 10.61 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.704e-06/0.01202, allocations: 0 / 251 MB, free: 10.61 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008227/0.01284, allocations: 1.194 MB / 252.2 MB, free: 9.324 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.172e-06/0.01284, allocations: 0 / 252.2 MB, free: 9.324 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002119/0.01306, allocations: 189.2 kB / 252.4 MB, free: 9.121 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.81e-05/0.01307, allocations: 8.156 kB / 252.4 MB, free: 9.113 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.677e-05/0.01314, allocations: 15.98 kB / 252.4 MB, free: 9.098 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.449e-05/0.01319, allocations: 19.97 kB / 252.5 MB, free: 9.078 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.811e-06/0.01319, allocations: 0 / 252.5 MB, free: 9.078 MB / 250.7 MB Notification: Performance of sorting global known variables: time 5.781e-05/0.01325, allocations: 82.72 kB / 252.5 MB, free: 8.996 MB / 250.7 MB Notification: Performance of sort global known variables: time 4e-08/0.01325, allocations: 0 / 252.5 MB, free: 8.996 MB / 250.7 MB Notification: Performance of remove unused functions: time 0.0001819/0.01343, allocations: 63.89 kB / 252.6 MB, free: 8.934 MB / 250.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (integrator.c.v) * 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 (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,1)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0001023/0.01353, allocations: 88.41 kB / 252.7 MB, free: 8.84 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 0.0003343/0.01387, allocations: 324.1 kB / 253 MB, free: 8.488 MB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 8.997e-06/0.01388, allocations: 7.984 kB / 253 MB, free: 8.48 MB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001137/0.01399, allocations: 152.8 kB / 253.2 MB, free: 8.316 MB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003327/0.01432, allocations: 0.496 MB / 253.7 MB, free: 7.73 MB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00192/0.01624, allocations: 0.6112 MB / 254.3 MB, free: 7.09 MB / 250.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.325e-05/0.01629, allocations: 80.31 kB / 254.4 MB, free: 6.992 MB / 250.7 MB Notification: Performance of simCode: alias equations: time 6.522e-05/0.01635, allocations: 22.3 kB / 254.4 MB, free: 6.973 MB / 250.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001205/0.01647, allocations: 103.3 kB / 254.5 MB, free: 6.871 MB / 250.7 MB Notification: Performance of SimCode: time 7.31e-07/0.01647, allocations: 0 / 254.5 MB, free: 6.871 MB / 250.7 MB Notification: Performance of Templates: time 0.006021/0.02249, allocations: 4.135 MB / 258.6 MB, free: 2.816 MB / 250.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.Integrator.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.Integrator.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.Integrator.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.Integrator.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.Integrator.sim & ./Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.Integrator -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.Integrator.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.Integrator_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Analog/Examples/OpAmps/Integrator/Integrator.csv","",relTol=0.003,relTolDiffMinMax=0.003,tube=OpenModelica.Scripting.TubeAlgorithm.rectangle) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.461963483132422]