Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.Integrator.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.0009921/0.0009921, allocations: 71.77 kB / 21.69 MB, free: 2.859 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.001528/0.001528, allocations: 166.2 kB / 24.99 MB, free: 8.355 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 0.9704/0.9704, allocations: 177.1 MB / 205.3 MB, free: 5.625 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.Integrator,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|integrator.c.v|integrator.opAmp.out.v|integrator.opAmp.out.i",fileNamePrefix="Modelica_4.1.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.1.0_Modelica.Electrical.Analog.Examples.OpAmps.Integrator") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 3.016e-06/3.016e-06, allocations: 0 / 273.1 MB, free: 1.797 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.681e-05/2.983e-05, allocations: 2.312 kB / 273.1 MB, free: 1.793 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.Integrator): time 0.003219/0.003248, allocations: 2.881 MB / 276 MB, free: 14.89 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.001208/0.004457, allocations: 0.74 MB / 276.7 MB, free: 14.15 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001497/0.004606, allocations: 7.938 kB / 276.7 MB, free: 14.14 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001339/0.00474, allocations: 47.56 kB / 276.8 MB, free: 14.09 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001641/0.004904, allocations: 103.1 kB / 276.9 MB, free: 13.99 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002638/0.005168, allocations: 119.7 kB / 277 MB, free: 13.88 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003251/0.005493, allocations: 402.3 kB / 277.4 MB, free: 13.48 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001602/0.005654, allocations: 87.66 kB / 277.5 MB, free: 13.39 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003337/0.005987, allocations: 231.4 kB / 277.7 MB, free: 13.16 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001404/0.006128, allocations: 131.6 kB / 277.8 MB, free: 13.04 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 3.818e-05/0.006166, allocations: 40 kB / 277.9 MB, free: 13 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 3.41e-05/0.0062, allocations: 36 kB / 277.9 MB, free: 12.96 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 4.811e-05/0.006248, allocations: 75.69 kB / 278 MB, free: 12.89 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 9.044e-05/0.006338, allocations: 123.7 kB / 278.1 MB, free: 12.77 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000231/0.006569, allocations: 247.1 kB / 278.3 MB, free: 12.52 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.205e-06/0.006572, allocations: 0 / 278.3 MB, free: 12.52 MB / 266.7 MB Notification: Performance of FrontEnd: time 9.92e-07/0.006573, allocations: 0 / 278.3 MB, free: 12.52 MB / 266.7 MB Notification: Performance of Transformations before backend: time 4.007e-06/0.006577, allocations: 4 kB / 278.3 MB, free: 12.52 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: 59 * Number of variables: 59 Notification: Performance of Generate backend data structure: time 0.0007645/0.007341, allocations: 0.6652 MB / 279 MB, free: 11.81 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.407e-05/0.007375, allocations: 16.02 kB / 279 MB, free: 11.8 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.459e-05/0.00745, allocations: 52.75 kB / 279.1 MB, free: 11.75 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002414/0.007691, allocations: 233 kB / 279.3 MB, free: 11.49 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.632e-05/0.007708, allocations: 20.88 kB / 279.3 MB, free: 11.47 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.464e-05/0.007742, allocations: 24.38 kB / 279.3 MB, free: 11.45 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003549/0.008097, allocations: 275.3 kB / 279.6 MB, free: 11.16 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.415e-06/0.008106, allocations: 192 / 279.6 MB, free: 11.16 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.888e-05/0.008125, allocations: 12.38 kB / 279.6 MB, free: 11.14 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.365e-05/0.008138, allocations: 11.94 kB / 279.6 MB, free: 11.13 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001674/0.008306, allocations: 98.92 kB / 279.7 MB, free: 11.04 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001146/0.009451, allocations: 1.044 MB / 280.8 MB, free: 9.918 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002524/0.009704, allocations: 119 kB / 280.9 MB, free: 9.789 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.076e-05/0.009764, allocations: 35.67 kB / 280.9 MB, free: 9.75 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.702e-05/0.009782, allocations: 0 / 280.9 MB, free: 9.75 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001563/0.009938, allocations: 138.1 kB / 281.1 MB, free: 9.586 MB / 266.7 MB Notification: Performance of pre-optimization done (n=12): time 1.372e-06/0.009939, allocations: 0 / 281.1 MB, free: 9.586 MB / 266.7 MB Notification: Performance of matching and sorting (n=12): time 0.0005434/0.01048, allocations: 265.3 kB / 281.3 MB, free: 9.316 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.503e-05/0.01052, allocations: 77.11 kB / 281.4 MB, free: 9.223 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001865/0.0107, allocations: 296.2 kB / 281.7 MB, free: 8.918 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 2.019e-05/0.01072, allocations: 33.7 kB / 281.7 MB, free: 8.879 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001215/0.01085, allocations: 246.8 kB / 282 MB, free: 8.633 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.898e-05/0.01087, allocations: 35.69 kB / 282 MB, free: 8.598 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.966e-05/0.01093, allocations: 59.31 kB / 282.1 MB, free: 8.531 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001289/0.01106, allocations: 0.5078 MB / 282.6 MB, free: 8.012 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.836e-05/0.01114, allocations: 57.92 kB / 282.6 MB, free: 7.945 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001252/0.01127, allocations: 207.7 kB / 282.8 MB, free: 7.676 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001729/0.01144, allocations: 217.2 kB / 283 MB, free: 7.41 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.104e-06/0.01144, allocations: 0 / 283 MB, free: 7.41 MB / 266.7 MB Notification: Performance of matching and sorting (n=27) (initialization): time 0.0004075/0.01185, allocations: 304.2 kB / 283.3 MB, free: 7.09 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.863e-05/0.01189, allocations: 37.7 kB / 283.4 MB, free: 7.047 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.444e-06/0.0119, allocations: 4 kB / 283.4 MB, free: 7.043 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002423/0.01214, allocations: 55.95 kB / 283.4 MB, free: 6.984 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001278/0.01227, allocations: 51.91 kB / 283.5 MB, free: 6.934 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00104/0.01331, allocations: 1.775 MB / 285.2 MB, free: 5.039 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001272/0.01343, allocations: 31.88 kB / 285.3 MB, free: 5.008 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.642e-05/0.01345, allocations: 16 kB / 285.3 MB, free: 4.992 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: 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 9.594e-05/0.01355, allocations: 168.5 kB / 285.5 MB, free: 4.816 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.098e-05/0.01358, allocations: 35.78 kB / 285.5 MB, free: 4.781 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.792e-05/0.0136, allocations: 25.84 kB / 285.5 MB, free: 4.754 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.422e-06/0.01361, allocations: 0 / 285.5 MB, free: 4.754 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.615e-06/0.01361, allocations: 3.984 kB / 285.5 MB, free: 4.75 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.437e-06/0.01361, allocations: 0 / 285.5 MB, free: 4.75 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001536/0.01377, allocations: 216.4 kB / 285.7 MB, free: 4.504 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.312e-06/0.01377, allocations: 0 / 285.7 MB, free: 4.504 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.069e-05/0.01385, allocations: 27.98 kB / 285.8 MB, free: 4.477 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001269/0.01397, allocations: 63.52 kB / 285.8 MB, free: 4.41 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.065e-05/0.01398, allocations: 3.984 kB / 285.8 MB, free: 4.406 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007993/0.01478, allocations: 1.763 MB / 287.6 MB, free: 2.516 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.41e-07/0.01479, allocations: 0 / 287.6 MB, free: 2.516 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003065/0.01509, allocations: 219.8 kB / 287.8 MB, free: 2.273 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.663e-05/0.01512, allocations: 23.8 kB / 287.8 MB, free: 2.25 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.991e-05/0.01514, allocations: 4 kB / 287.8 MB, free: 2.246 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.923e-05/0.01522, allocations: 19.97 kB / 287.9 MB, free: 2.227 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.404e-05/0.01527, allocations: 24.03 kB / 287.9 MB, free: 2.203 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.616e-06/0.01528, allocations: 7.875 kB / 287.9 MB, free: 2.195 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0001294/0.01541, allocations: 209.1 kB / 288.1 MB, free: 1.988 MB / 266.7 MB Notification: Performance of sort global known variables: time 5e-08/0.01541, allocations: 0 / 288.1 MB, free: 1.988 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0002296/0.01564, allocations: 75.84 kB / 288.2 MB, free: 1.914 MB / 266.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 9.73e-05/0.01574, allocations: 99.23 kB / 288.3 MB, free: 1.809 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0003456/0.01608, allocations: 366.1 kB / 288.6 MB, free: 1.414 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.443e-06/0.01608, allocations: 0 / 288.6 MB, free: 1.414 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001341/0.01622, allocations: 217.5 kB / 288.8 MB, free: 1.18 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002025/0.01642, allocations: 46.58 kB / 288.9 MB, free: 1.141 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001407/0.01783, allocations: 0.6356 MB / 289.5 MB, free: 488 kB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.868e-05/0.01788, allocations: 88.17 kB / 289.6 MB, free: 380 kB / 266.7 MB Notification: Performance of simCode: alias equations: time 7.163e-05/0.01795, allocations: 18.3 kB / 289.6 MB, free: 360 kB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.781e-05/0.018, allocations: 24.5 kB / 289.6 MB, free: 336 kB / 266.7 MB Notification: Performance of SimCode: time 9.02e-07/0.018, allocations: 0 / 289.6 MB, free: 336 kB / 266.7 MB Notification: Performance of Templates: time 0.005433/0.02343, allocations: 3.802 MB / 293.4 MB, free: 12.58 MB / 282.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.Integrator.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.Integrator.pipe ; mkfifo Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.Integrator.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.Integrator.pipe >> ../files/Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.Integrator.sim & ./Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.Integrator -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.Integrator.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.1.0_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.9691936939489096]