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.0007735/0.0007735, allocations: 76.48 kB / 9.931 MB, free: 0.7617 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.00116/0.001934, allocations: 449.7 kB / 10.37 MB, free: 332 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.0006575/0.0006575, allocations: 148.9 kB / 11.24 MB, free: 2.934 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009129/0.00157, allocations: 459.6 kB / 11.69 MB, free: 2.48 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.9682/0.9682, allocations: 173.4 MB / 185.8 MB, free: 8.984 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1051/1.073, allocations: 52.5 MB / 238.3 MB, free: 4.422 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.663e-06/1.663e-06, allocations: 3.938 kB / 239.6 MB, free: 3.141 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.98e-05/2.146e-05, allocations: 2.312 kB / 239.6 MB, free: 3.137 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.Integrator): time 0.003113/0.003134, allocations: 2.902 MB / 242.5 MB, free: 228 kB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.0009415/0.004075, allocations: 0.7244 MB / 243.2 MB, free: 15.49 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000117/0.004192, allocations: 7.938 kB / 243.2 MB, free: 15.48 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001014/0.004294, allocations: 51.5 kB / 243.3 MB, free: 15.43 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001303/0.004424, allocations: 99.19 kB / 243.4 MB, free: 15.34 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000186/0.00461, allocations: 119.7 kB / 243.5 MB, free: 15.22 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003335/0.004944, allocations: 398.4 kB / 243.9 MB, free: 14.83 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001507/0.005094, allocations: 90.27 kB / 244 MB, free: 14.73 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003028/0.005397, allocations: 268 kB / 244.2 MB, free: 14.47 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001569/0.005554, allocations: 139.6 kB / 244.4 MB, free: 14.34 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 5.456e-05/0.005609, allocations: 40 kB / 244.4 MB, free: 14.3 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 3.604e-05/0.005645, allocations: 40 kB / 244.4 MB, free: 14.26 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 4.478e-05/0.005689, allocations: 55.81 kB / 244.5 MB, free: 14.2 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 8.328e-05/0.005773, allocations: 95.81 kB / 244.6 MB, free: 14.11 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002342/0.006007, allocations: 219.3 kB / 244.8 MB, free: 13.89 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.381e-05/0.006021, allocations: 0 / 244.8 MB, free: 13.89 MB / 250.7 MB Notification: Performance of FrontEnd: time 7.21e-07/0.006021, allocations: 0 / 244.8 MB, free: 13.89 MB / 250.7 MB Notification: Performance of Transformations before backend: time 1.697e-05/0.006038, allocations: 0 / 244.8 MB, free: 13.89 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: 59 * Number of variables: 59 Notification: Performance of Generate backend data structure: time 0.0008557/0.006894, allocations: 0.5949 MB / 245.4 MB, free: 13.27 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.428e-05/0.006928, allocations: 15.83 kB / 245.4 MB, free: 13.25 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.466e-05/0.006993, allocations: 44.89 kB / 245.5 MB, free: 13.21 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002313/0.007224, allocations: 186.2 kB / 245.6 MB, free: 13 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.793e-05/0.007242, allocations: 16.88 kB / 245.7 MB, free: 12.98 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.549e-05/0.007278, allocations: 24.38 kB / 245.7 MB, free: 12.96 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002959/0.007574, allocations: 269.6 kB / 245.9 MB, free: 12.68 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.708e-06/0.007583, allocations: 192 / 245.9 MB, free: 12.68 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.653e-05/0.0076, allocations: 8.375 kB / 245.9 MB, free: 12.67 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.804e-06/0.007608, allocations: 11.94 kB / 246 MB, free: 12.66 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.922e-05/0.007707, allocations: 67.45 kB / 246 MB, free: 12.59 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008843/0.008591, allocations: 0.8216 MB / 246.8 MB, free: 11.71 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003575/0.008949, allocations: 90.45 kB / 246.9 MB, free: 11.62 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.604e-05/0.008985, allocations: 20.86 kB / 247 MB, free: 11.59 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.787e-05/0.009013, allocations: 4 kB / 247 MB, free: 11.59 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001534/0.009166, allocations: 130.1 kB / 247.1 MB, free: 11.44 MB / 250.7 MB Notification: Performance of pre-optimization done (n=12): time 1.202e-06/0.009167, allocations: 4 kB / 247.1 MB, free: 11.44 MB / 250.7 MB Notification: Performance of matching and sorting (n=12): time 0.0004325/0.0096, allocations: 214.3 kB / 247.3 MB, free: 11.22 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.245e-05/0.009632, allocations: 55.41 kB / 247.4 MB, free: 11.15 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001454/0.009778, allocations: 233 kB / 247.6 MB, free: 10.91 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 1.689e-05/0.009794, allocations: 29.7 kB / 247.6 MB, free: 10.88 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.77e-05/0.009872, allocations: 187.9 kB / 247.8 MB, free: 10.69 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.524e-05/0.009897, allocations: 39.67 kB / 247.8 MB, free: 10.65 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.213e-05/0.009949, allocations: 49.69 kB / 247.9 MB, free: 10.59 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 7.86e-05/0.01003, allocations: 338.7 kB / 248.2 MB, free: 10.25 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.307e-05/0.01007, allocations: 41.94 kB / 248.3 MB, free: 10.2 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.6e-05/0.01016, allocations: 163 kB / 248.4 MB, free: 9.992 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001181/0.01028, allocations: 179.4 kB / 248.6 MB, free: 9.777 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.584e-06/0.01028, allocations: 4 kB / 248.6 MB, free: 9.773 MB / 250.7 MB Notification: Performance of matching and sorting (n=27) (initialization): time 0.0002349/0.01051, allocations: 237.5 kB / 248.8 MB, free: 9.52 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.054e-05/0.01055, allocations: 41.69 kB / 248.9 MB, free: 9.473 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.522e-06/0.01056, allocations: 4.344 kB / 248.9 MB, free: 9.469 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001701/0.01073, allocations: 52.81 kB / 248.9 MB, free: 9.414 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001333/0.01086, allocations: 59.91 kB / 249 MB, free: 9.355 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007533/0.01162, allocations: 1.213 MB / 250.2 MB, free: 8.047 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001198/0.01174, allocations: 39.81 kB / 250.2 MB, free: 8.008 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.06e-05/0.01175, allocations: 8.125 kB / 250.2 MB, free: 8 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 0.0003301/0.01208, allocations: 121.8 kB / 250.4 MB, free: 7.871 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.977e-05/0.0121, allocations: 19.98 kB / 250.4 MB, free: 7.852 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.371e-05/0.01212, allocations: 25.7 kB / 250.4 MB, free: 7.832 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.282e-06/0.01212, allocations: 0 / 250.4 MB, free: 7.832 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.156e-06/0.01212, allocations: 4 kB / 250.4 MB, free: 7.828 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.437e-06/0.01213, allocations: 0 / 250.4 MB, free: 7.828 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001098/0.01224, allocations: 145.7 kB / 250.5 MB, free: 7.668 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.873e-06/0.01224, allocations: 3.938 kB / 250.6 MB, free: 7.664 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.511e-05/0.01234, allocations: 31.98 kB / 250.6 MB, free: 7.633 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.064e-05/0.01236, allocations: 19.83 kB / 250.6 MB, free: 7.613 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001079/0.01246, allocations: 52.81 kB / 250.7 MB, free: 7.559 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.01e-05/0.01247, allocations: 11.92 kB / 250.7 MB, free: 7.547 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005307/0.013, allocations: 1.186 MB / 251.9 MB, free: 6.273 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.333e-06/0.01301, allocations: 0 / 251.9 MB, free: 6.273 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001992/0.01321, allocations: 178.3 kB / 252 MB, free: 6.078 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.929e-05/0.01322, allocations: 7.984 kB / 252 MB, free: 6.07 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.467e-05/0.01329, allocations: 15.98 kB / 252 MB, free: 6.055 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.213e-05/0.01333, allocations: 15.97 kB / 252.1 MB, free: 6.039 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.783e-06/0.01334, allocations: 4 kB / 252.1 MB, free: 6.035 MB / 250.7 MB Notification: Performance of sorting global known variables: time 5.223e-05/0.01339, allocations: 74.78 kB / 252.1 MB, free: 5.965 MB / 250.7 MB Notification: Performance of sort global known variables: time 4e-08/0.01339, allocations: 0 / 252.1 MB, free: 5.965 MB / 250.7 MB Notification: Performance of remove unused functions: time 0.0001785/0.01357, allocations: 67.89 kB / 252.2 MB, free: 5.898 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.0001048/0.01367, allocations: 88.39 kB / 252.3 MB, free: 5.805 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 0.0002717/0.01395, allocations: 292.1 kB / 252.6 MB, free: 5.484 MB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 8.265e-06/0.01395, allocations: 0 / 252.6 MB, free: 5.484 MB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 9.016e-05/0.01404, allocations: 159.8 kB / 252.7 MB, free: 5.312 MB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001672/0.01421, allocations: 65.09 kB / 252.8 MB, free: 5.246 MB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001887/0.0161, allocations: 0.6218 MB / 253.4 MB, free: 4.594 MB / 250.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.425e-05/0.01614, allocations: 80.31 kB / 253.5 MB, free: 4.496 MB / 250.7 MB Notification: Performance of simCode: alias equations: time 7.285e-05/0.01621, allocations: 26.28 kB / 253.5 MB, free: 4.473 MB / 250.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001125/0.01633, allocations: 95.36 kB / 253.6 MB, free: 4.379 MB / 250.7 MB Notification: Performance of SimCode: time 7.32e-07/0.01633, allocations: 0 / 253.6 MB, free: 4.379 MB / 250.7 MB Notification: Performance of Templates: time 0.007052/0.02338, allocations: 4.124 MB / 257.7 MB, free: 336 kB / 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,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.635334987193346]