Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_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.001572/0.001572, allocations: 112.9 kB / 19.17 MB, free: 3.871 MB / 14.72 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.001664/0.001664, allocations: 210.5 kB / 22.13 MB, free: 0.918 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo): time 1.495/1.495, allocations: 230.4 MB / 255.4 MB, free: 15.03 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/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_4.1.0-beta.om_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-beta.om_Modelica.Electrical.Analog.Examples.OpAmps.Integrator") [Timeout 660] "Warning: Requested package Modelica of version trunk, but this package was already loaded with version 4.1.0. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package Complex of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package ModelicaServices of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.001922/0.001922, allocations: 71.83 kB / 374.8 MB, free: 9.738 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1165/0.1184, allocations: 53.33 MB / 428.1 MB, free: 4.316 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.Integrator): time 0.004708/0.1231, allocations: 2.877 MB / 431 MB, free: 1.422 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001592/0.1247, allocations: 0.7596 MB / 431.7 MB, free: 0.6562 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001795/0.1249, allocations: 7.938 kB / 431.7 MB, free: 0.6484 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002065/0.1251, allocations: 43.56 kB / 431.8 MB, free: 0.6055 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002345/0.1253, allocations: 107.2 kB / 431.9 MB, free: 0.5 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003375/0.1257, allocations: 111.8 kB / 432 MB, free: 400 kB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004845/0.1262, allocations: 390.5 kB / 432.4 MB, free: 8 kB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.2663/0.3924, allocations: 87.45 kB / 432.5 MB, free: 8.715 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005219/0.393, allocations: 155.1 kB / 432.6 MB, free: 8.715 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002429/0.3932, allocations: 163.7 kB / 432.8 MB, free: 8.684 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 7.453e-05/0.3933, allocations: 40.25 kB / 432.8 MB, free: 8.684 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.679e-05/0.3934, allocations: 37.5 kB / 432.8 MB, free: 8.684 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 7.707e-05/0.3934, allocations: 77.52 kB / 432.9 MB, free: 8.672 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001703/0.3936, allocations: 165.5 kB / 433.1 MB, free: 8.629 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005205/0.3941, allocations: 426.2 kB / 433.5 MB, free: 8.57 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.98e-06/0.3941, allocations: 1.188 kB / 433.5 MB, free: 8.57 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.084e-06/0.3941, allocations: 1.812 kB / 433.5 MB, free: 8.57 MB / 350.1 MB Notification: Performance of Transformations before backend: time 8.316e-06/0.3941, allocations: 1.922 kB / 433.5 MB, free: 8.57 MB / 350.1 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.001293/0.3954, allocations: 0.6673 MB / 434.2 MB, free: 8.086 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.393e-05/0.3955, allocations: 9.625 kB / 434.2 MB, free: 8.086 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.327e-05/0.3956, allocations: 37.33 kB / 434.2 MB, free: 8.066 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003757/0.3959, allocations: 289.5 kB / 434.5 MB, free: 7.848 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.909e-05/0.396, allocations: 22.7 kB / 434.5 MB, free: 7.844 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.342e-05/0.396, allocations: 24.41 kB / 434.6 MB, free: 7.844 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006751/0.3967, allocations: 312.4 kB / 434.9 MB, free: 7.789 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.515e-05/0.3967, allocations: 3.938 kB / 434.9 MB, free: 7.785 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.182e-05/0.3968, allocations: 13.7 kB / 434.9 MB, free: 7.785 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.146e-06/0.3968, allocations: 5.562 kB / 434.9 MB, free: 7.785 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007805/0.3975, allocations: 279 kB / 435.2 MB, free: 7.785 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001816/0.3994, allocations: 1.169 MB / 436.3 MB, free: 7.215 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009305/0.4003, allocations: 233.1 kB / 436.5 MB, free: 7.191 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003479/0.4006, allocations: 101 kB / 436.6 MB, free: 7.184 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.641e-05/0.4007, allocations: 6.672 kB / 436.7 MB, free: 7.18 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004765/0.4011, allocations: 172.8 kB / 436.8 MB, free: 7.113 MB / 350.1 MB Notification: Performance of pre-optimization done (n=12): time 1.894e-06/0.4011, allocations: 0 / 436.8 MB, free: 7.113 MB / 350.1 MB Notification: Performance of matching and sorting (n=12): time 0.002185/0.4033, allocations: 0.5959 MB / 437.4 MB, free: 6.953 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.144e-05/0.4034, allocations: 88.72 kB / 437.5 MB, free: 6.852 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003408/0.4037, allocations: 265 kB / 437.8 MB, free: 6.746 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.556e-05/0.4037, allocations: 28.02 kB / 437.8 MB, free: 6.715 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001296/0.4039, allocations: 196.4 kB / 438 MB, free: 6.578 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.226e-05/0.4039, allocations: 43.98 kB / 438 MB, free: 6.551 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.721e-05/0.404, allocations: 52.2 kB / 438.1 MB, free: 6.531 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 7.732e-05/0.4041, allocations: 333.3 kB / 438.4 MB, free: 6.219 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003746/0.4045, allocations: 104 kB / 438.5 MB, free: 6.211 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003912/0.4048, allocations: 190.8 kB / 438.7 MB, free: 6.094 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007195/0.4056, allocations: 300 kB / 439 MB, free: 5.91 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.308e-06/0.4056, allocations: 1.156 kB / 439 MB, free: 5.91 MB / 350.1 MB Notification: Performance of matching and sorting (n=27) (initialization): time 0.001261/0.4068, allocations: 445.3 kB / 439.4 MB, free: 5.75 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.843e-05/0.4069, allocations: 33.11 kB / 439.5 MB, free: 5.719 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.837e-06/0.4069, allocations: 6.469 kB / 439.5 MB, free: 5.715 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003418/0.4072, allocations: 67.02 kB / 439.5 MB, free: 5.695 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002537/0.4075, allocations: 60.27 kB / 439.6 MB, free: 5.691 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002021/0.4095, allocations: 1.631 MB / 441.2 MB, free: 4.266 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000366/0.4099, allocations: 53.61 kB / 441.3 MB, free: 4.246 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.602e-05/0.4099, allocations: 13.72 kB / 441.3 MB, free: 4.242 MB / 350.1 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.0001644/0.4101, allocations: 150.2 kB / 441.4 MB, free: 4.105 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.218e-05/0.4101, allocations: 22.33 kB / 441.4 MB, free: 4.094 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.958e-05/0.4101, allocations: 26.11 kB / 441.5 MB, free: 4.074 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.495e-06/0.4101, allocations: 2.438 kB / 441.5 MB, free: 4.074 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.009e-06/0.4102, allocations: 0.875 kB / 441.5 MB, free: 4.074 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.428e-06/0.4102, allocations: 4.656 kB / 441.5 MB, free: 4.07 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003098/0.4105, allocations: 313.9 kB / 441.8 MB, free: 3.824 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.104e-06/0.4105, allocations: 0 / 441.8 MB, free: 3.824 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002171/0.4107, allocations: 34.2 kB / 441.8 MB, free: 3.824 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002362/0.4109, allocations: 62.56 kB / 441.9 MB, free: 3.805 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.95e-05/0.4109, allocations: 7.938 kB / 441.9 MB, free: 3.801 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001755/0.4127, allocations: 1.625 MB / 443.5 MB, free: 2.367 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.512e-06/0.4127, allocations: 1.281 kB / 443.5 MB, free: 2.367 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001405/0.4141, allocations: 452.2 kB / 444 MB, free: 2.199 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.096e-05/0.4142, allocations: 105.2 kB / 444.1 MB, free: 2.086 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.578e-05/0.4142, allocations: 6 kB / 444.1 MB, free: 2.086 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002333/0.4144, allocations: 34.66 kB / 444.1 MB, free: 2.078 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.674e-05/0.4145, allocations: 16.98 kB / 444.1 MB, free: 2.074 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.411e-05/0.4145, allocations: 2.828 kB / 444.1 MB, free: 2.074 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001958/0.4147, allocations: 195.3 kB / 444.3 MB, free: 1.957 MB / 350.1 MB Notification: Performance of sort global known variables: time 6e-08/0.4147, allocations: 1.438 kB / 444.3 MB, free: 1.957 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003654/0.4151, allocations: 66.75 kB / 444.4 MB, free: 1.945 MB / 350.1 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.0001371/0.4152, allocations: 107.5 kB / 444.5 MB, free: 1.852 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0009671/0.4162, allocations: 404.3 kB / 444.9 MB, free: 1.621 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.194e-06/0.4162, allocations: 6.062 kB / 444.9 MB, free: 1.617 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004669/0.4167, allocations: 211.8 kB / 445.1 MB, free: 1.484 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000342/0.417, allocations: 48.48 kB / 445.1 MB, free: 1.465 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003582/0.4206, allocations: 0.9077 MB / 446 MB, free: 1.094 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002111/0.4208, allocations: 0.754 MB / 446.8 MB, free: 400 kB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.007e-05/0.4209, allocations: 21.83 kB / 446.8 MB, free: 392 kB / 350.1 MB Notification: Performance of SimCode: time 7.22e-07/0.4209, allocations: 3.938 kB / 446.8 MB, free: 388 kB / 350.1 MB Notification: Performance of Templates: time 0.00841/0.4293, allocations: 4.583 MB / 451.4 MB, free: 15.82 MB / 366.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.OpAmps.Integrator.makefile [Timeout 660] (rm -f Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.OpAmps.Integrator.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.OpAmps.Integrator.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.OpAmps.Integrator.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.OpAmps.Integrator.sim & ./Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.OpAmps.Integrator -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.OpAmps.Integrator.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.OpAmps.Integrator_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Analog/Examples/OpAmps/Integrator/Integrator.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.OpAmps.Integrator.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: 7.6255200379528105]