Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.Integrator.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.001104/0.001104, allocations: 80.11 kB / 9.934 MB, free: 0.7539 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.00149/0.002595, allocations: 449.7 kB / 10.37 MB, free: 324 kB / 10.45 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.001022/0.001022, allocations: 165.1 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001259/0.002282, allocations: 463.6 kB / 11.72 MB, free: 2.453 MB / 13.93 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 0.9771/0.9771, allocations: 177.4 MB / 189.9 MB, free: 4.82 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0868/1.064, allocations: 53.86 MB / 243.8 MB, free: 14.9 MB / 250.7 MB " [Timeout remaining time 179] 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.Integrator,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|integrator.c.v|integrator.opAmp.out.v|integrator.opAmp.out.i",fileNamePrefix="Modelica_trunk_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_trunk_Modelica.Electrical.Analog.Examples.OpAmps.Integrator") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.263e-06/1.263e-06, allocations: 0 / 245 MB, free: 13.61 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.826e-05/1.953e-05, allocations: 6.25 kB / 245.1 MB, free: 13.6 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.Integrator): time 0.002823/0.002842, allocations: 2.94 MB / 248 MB, free: 10.64 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.0008555/0.003698, allocations: 0.7204 MB / 248.7 MB, free: 9.914 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001072/0.003805, allocations: 7.938 kB / 248.7 MB, free: 9.906 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 9.487e-05/0.0039, allocations: 47.56 kB / 248.8 MB, free: 9.859 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001395/0.004039, allocations: 115.1 kB / 248.9 MB, free: 9.746 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001534/0.004193, allocations: 95.81 kB / 249 MB, free: 9.652 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002906/0.004483, allocations: 398.3 kB / 249.4 MB, free: 9.262 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001681/0.004652, allocations: 94.27 kB / 249.5 MB, free: 9.168 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003416/0.004993, allocations: 271.8 kB / 249.7 MB, free: 8.902 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001821/0.005175, allocations: 135.6 kB / 249.9 MB, free: 8.77 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 3.991e-05/0.005215, allocations: 44 kB / 249.9 MB, free: 8.727 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 3.297e-05/0.005248, allocations: 36 kB / 249.9 MB, free: 8.691 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 4.412e-05/0.005292, allocations: 59.81 kB / 250 MB, free: 8.633 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 7.552e-05/0.005368, allocations: 95.81 kB / 250.1 MB, free: 8.539 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002044/0.005572, allocations: 223.2 kB / 250.3 MB, free: 8.32 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.332e-05/0.005586, allocations: 3.984 kB / 250.3 MB, free: 8.316 MB / 250.7 MB Notification: Performance of FrontEnd: time 6.81e-07/0.005586, allocations: 3.938 kB / 250.3 MB, free: 8.312 MB / 250.7 MB Notification: Performance of Transformations before backend: time 1.373e-05/0.0056, allocations: 0 / 250.3 MB, free: 8.312 MB / 250.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 62 * Number of variables: 62 Notification: Performance of Generate backend data structure: time 0.0007704/0.00637, allocations: 0.6065 MB / 250.9 MB, free: 7.676 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.697e-05/0.006397, allocations: 12.92 kB / 250.9 MB, free: 7.664 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.304e-05/0.00645, allocations: 40.91 kB / 251 MB, free: 7.625 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000185/0.006635, allocations: 185 kB / 251.1 MB, free: 7.418 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.367e-05/0.006649, allocations: 20.88 kB / 251.2 MB, free: 7.398 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.945e-05/0.006679, allocations: 24.38 kB / 251.2 MB, free: 7.375 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000223/0.006902, allocations: 256.6 kB / 251.4 MB, free: 7.105 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.637e-06/0.00691, allocations: 192 / 251.4 MB, free: 7.105 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.517e-05/0.006925, allocations: 12.38 kB / 251.5 MB, free: 7.094 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.322e-06/0.006932, allocations: 7.938 kB / 251.5 MB, free: 7.086 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.307e-05/0.007025, allocations: 63.47 kB / 251.5 MB, free: 7.023 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007973/0.007822, allocations: 0.7777 MB / 252.3 MB, free: 6.188 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001818/0.008004, allocations: 94.45 kB / 252.4 MB, free: 6.086 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.343e-05/0.008037, allocations: 24.86 kB / 252.4 MB, free: 6.059 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.092e-05/0.008058, allocations: 4 kB / 252.4 MB, free: 6.055 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001408/0.008199, allocations: 168.5 kB / 252.6 MB, free: 5.859 MB / 250.7 MB Notification: Performance of pre-optimization done (n=15): time 1.222e-06/0.0082, allocations: 0 / 252.6 MB, free: 5.859 MB / 250.7 MB Notification: Performance of matching and sorting (n=15): time 0.0003311/0.008531, allocations: 178.3 kB / 252.8 MB, free: 5.676 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.413e-05/0.008555, allocations: 51.41 kB / 252.8 MB, free: 5.613 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001177/0.008673, allocations: 240.9 kB / 253 MB, free: 5.367 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 1.641e-05/0.00869, allocations: 29.7 kB / 253.1 MB, free: 5.332 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.785e-05/0.008757, allocations: 188 kB / 253.3 MB, free: 5.141 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.746e-05/0.008785, allocations: 47.58 kB / 253.3 MB, free: 5.094 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.819e-05/0.008833, allocations: 49.92 kB / 253.4 MB, free: 5.035 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 6.844e-05/0.008902, allocations: 342.7 kB / 253.7 MB, free: 4.691 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.04e-05/0.008942, allocations: 53.92 kB / 253.7 MB, free: 4.633 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003207/0.009263, allocations: 196.7 kB / 253.9 MB, free: 4.383 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001118/0.009374, allocations: 170 kB / 254.1 MB, free: 4.18 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.324e-06/0.009377, allocations: 0 / 254.1 MB, free: 4.18 MB / 250.7 MB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0002071/0.009584, allocations: 241.5 kB / 254.3 MB, free: 3.922 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.813e-05/0.009612, allocations: 29.7 kB / 254.4 MB, free: 3.887 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.468e-06/0.009616, allocations: 4.312 kB / 254.4 MB, free: 3.883 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001657/0.009782, allocations: 64.72 kB / 254.4 MB, free: 3.816 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001249/0.009907, allocations: 59.91 kB / 254.5 MB, free: 3.758 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006379/0.01054, allocations: 1.266 MB / 255.8 MB, free: 2.398 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001004/0.01065, allocations: 35.83 kB / 255.8 MB, free: 2.363 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.004e-05/0.01066, allocations: 8 kB / 255.8 MB, free: 2.355 MB / 250.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 11 * Number of states: 0 () * Number of discrete variables: 7 (vIn.signalSource.count,$PRE.vIn.signalSource.count,vIn.signalSource.T_start,$PRE.vIn.signalSource.T_start,integrator.opAmp.satNeg,integrator.opAmp.satPos,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (26): * Single equations (assignments): 24 * 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,2)} Notification: Performance of prepare postOptimizeDAE: time 7.241e-05/0.01073, allocations: 125.8 kB / 255.9 MB, free: 2.223 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.172e-05/0.01075, allocations: 27.84 kB / 256 MB, free: 2.195 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.108e-05/0.01077, allocations: 21.97 kB / 256 MB, free: 2.172 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.436e-06/0.01077, allocations: 7.984 kB / 256 MB, free: 2.164 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.32e-07/0.01077, allocations: 0 / 256 MB, free: 2.164 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.188e-06/0.01078, allocations: 8.016 kB / 256 MB, free: 2.156 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.779e-05/0.01088, allocations: 149.7 kB / 256.1 MB, free: 1.992 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.432e-06/0.01088, allocations: 0 / 256.1 MB, free: 1.992 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.966e-05/0.01097, allocations: 31.97 kB / 256.2 MB, free: 1.961 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.887e-05/0.01099, allocations: 19.8 kB / 256.2 MB, free: 1.941 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001149/0.0111, allocations: 48.81 kB / 256.2 MB, free: 1.891 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.211e-05/0.01111, allocations: 3.984 kB / 256.2 MB, free: 1.887 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005197/0.01163, allocations: 1.266 MB / 257.5 MB, free: 0.5312 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.51e-07/0.01163, allocations: 0 / 257.5 MB, free: 0.5312 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001796/0.01181, allocations: 170 kB / 257.7 MB, free: 352 kB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.825e-05/0.01183, allocations: 7.938 kB / 257.7 MB, free: 344 kB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.77e-05/0.0119, allocations: 24.05 kB / 257.7 MB, free: 320 kB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.691e-05/0.01195, allocations: 27.94 kB / 257.7 MB, free: 292 kB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.552e-06/0.01195, allocations: 4 kB / 257.7 MB, free: 288 kB / 250.7 MB Notification: Performance of sorting global known variables: time 4.92e-05/0.012, allocations: 78.72 kB / 257.8 MB, free: 208 kB / 250.7 MB Notification: Performance of sort global known variables: time 3e-08/0.012, allocations: 0 / 257.8 MB, free: 208 kB / 250.7 MB Notification: Performance of remove unused functions: time 0.0001637/0.01217, allocations: 71.89 kB / 257.9 MB, free: 136 kB / 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: 5 ($whenCondition1,integrator.opAmp.satPos,integrator.opAmp.satNeg,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 (13): * Single equations (assignments): 10 * 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,2)} Notification: Performance of Backend phase and start with SimCode phase: time 7.282e-05/0.01224, allocations: 88.39 kB / 258 MB, free: 36 kB / 250.7 MB Notification: Performance of simCode: created initialization part: time 0.0002741/0.01251, allocations: 310.6 kB / 258.3 MB, free: 15.7 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 8.245e-06/0.01252, allocations: 7.984 kB / 258.3 MB, free: 15.7 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001062/0.01263, allocations: 167.3 kB / 258.4 MB, free: 15.52 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001385/0.01277, allocations: 64.41 kB / 258.5 MB, free: 15.45 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00158/0.01435, allocations: 0.5405 MB / 259 MB, free: 14.88 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.216e-05/0.01439, allocations: 92.31 kB / 259.1 MB, free: 14.77 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 6.554e-05/0.01445, allocations: 26.22 kB / 259.2 MB, free: 14.75 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001147/0.01457, allocations: 107.3 kB / 259.3 MB, free: 14.64 MB / 266.7 MB Notification: Performance of SimCode: time 7.51e-07/0.01457, allocations: 0 / 259.3 MB, free: 14.64 MB / 266.7 MB Notification: Performance of Templates: time 0.005747/0.02032, allocations: 4.408 MB / 263.7 MB, free: 10.3 MB / 266.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.Integrator.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.Integrator.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.Integrator.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.Integrator.pipe >> ../files/Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.Integrator.sim & ./Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.Integrator -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.Integrator.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.Integrator_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Analog/Examples/OpAmps/Integrator/Integrator.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.5737372394651175]