Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Blocks.IntegratorForceState.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.001593/0.001593, allocations: 106.5 kB / 21.23 MB, free: 0.6562 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.001789/0.001789, allocations: 213.2 kB / 24.54 MB, free: 4.016 MB / 14.72 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 1.528/1.528, allocations: 230.3 MB / 258 MB, free: 8.23 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo): time 0.2454/0.2454, allocations: 46.93 MB / 361.4 MB, free: 4.383 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo) 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(ModelicaTest.Blocks.IntegratorForceState,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|gain.y",fileNamePrefix="ModelicaTest_4.1.0-beta.om_ModelicaTest.Blocks.IntegratorForceState") translateModel(ModelicaTest.Blocks.IntegratorForceState,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|gain.y",fileNamePrefix="ModelicaTest_4.1.0-beta.om_ModelicaTest.Blocks.IntegratorForceState") [Timeout 660] "Warning: Requested package Modelica 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.00232/0.00232, allocations: 79.86 kB / 0.4972 GB, free: 7.504 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3963/0.3986, allocations: 66.04 MB / 0.5616 GB, free: 4.504 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.IntegratorForceState): time 0.002963/0.4015, allocations: 1.583 MB / 0.5632 GB, free: 2.914 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002725/0.4018, allocations: 71.78 kB / 0.5633 GB, free: 2.844 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.471e-05/0.4019, allocations: 7.938 kB / 0.5633 GB, free: 2.836 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001205/0.402, allocations: 7.922 kB / 0.5633 GB, free: 2.828 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 3.603e-05/0.402, allocations: 3.938 kB / 0.5633 GB, free: 2.824 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001672/0.4022, allocations: 19.97 kB / 0.5633 GB, free: 2.805 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001392/0.4023, allocations: 35.86 kB / 0.5633 GB, free: 2.77 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001089/0.4025, allocations: 15.64 kB / 0.5633 GB, free: 2.758 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.505e-05/0.4025, allocations: 11.94 kB / 0.5634 GB, free: 2.746 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.287e-05/0.4026, allocations: 15.92 kB / 0.5634 GB, free: 2.73 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.398e-05/0.4026, allocations: 0 / 0.5634 GB, free: 2.73 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.222e-05/0.4026, allocations: 8 kB / 0.5634 GB, free: 2.723 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 1.758e-05/0.4026, allocations: 4 kB / 0.5634 GB, free: 2.719 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 3.577e-05/0.4026, allocations: 19.86 kB / 0.5634 GB, free: 2.699 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001107/0.4027, allocations: 39.77 kB / 0.5634 GB, free: 2.66 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.642e-06/0.4028, allocations: 4 kB / 0.5634 GB, free: 2.656 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.633e-06/0.4028, allocations: 0 / 0.5634 GB, free: 2.656 MB / 398.1 MB Notification: Performance of Transformations before backend: time 6.231e-06/0.4028, allocations: 0 / 0.5634 GB, free: 2.656 MB / 398.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0005127/0.4033, allocations: 277 kB / 0.5637 GB, free: 2.355 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.691e-05/0.4033, allocations: 8.031 kB / 0.5637 GB, free: 2.348 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.413e-05/0.4033, allocations: 12.89 kB / 0.5637 GB, free: 2.336 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002235/0.4036, allocations: 118.5 kB / 0.5638 GB, free: 2.195 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.554e-06/0.4036, allocations: 384 / 0.5638 GB, free: 2.195 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.826e-05/0.4036, allocations: 4.375 kB / 0.5638 GB, free: 2.191 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001762/0.4038, allocations: 76.75 kB / 0.5639 GB, free: 2.102 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.185e-05/0.4038, allocations: 192 / 0.5639 GB, free: 2.102 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.794e-05/0.4038, allocations: 11.94 kB / 0.5639 GB, free: 2.09 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.201e-06/0.4038, allocations: 4 kB / 0.5639 GB, free: 2.086 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001073/0.4039, allocations: 23.92 kB / 0.564 GB, free: 2.062 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005398/0.4045, allocations: 416.2 kB / 0.5644 GB, free: 1.605 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001797/0.4046, allocations: 46.5 kB / 0.5644 GB, free: 1.551 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.904e-05/0.4047, allocations: 20.94 kB / 0.5644 GB, free: 1.527 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.736e-05/0.4047, allocations: 0 / 0.5644 GB, free: 1.527 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.629e-05/0.4047, allocations: 30.56 kB / 0.5644 GB, free: 1.488 MB / 398.1 MB Notification: Performance of pre-optimization done (n=3): time 7.01e-07/0.4047, allocations: 0 / 0.5644 GB, free: 1.488 MB / 398.1 MB Notification: Performance of matching and sorting (n=4): time 0.0004806/0.4052, allocations: 117.4 kB / 0.5646 GB, free: 1.367 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.94e-05/0.4053, allocations: 51.41 kB / 0.5646 GB, free: 1.305 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.847e-05/0.4054, allocations: 113.8 kB / 0.5647 GB, free: 1.184 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.875e-05/0.4054, allocations: 25.7 kB / 0.5647 GB, free: 1.152 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.624e-05/0.4055, allocations: 92.09 kB / 0.5648 GB, free: 1.059 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.781e-05/0.4055, allocations: 19.83 kB / 0.5648 GB, free: 1.039 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.262e-05/0.4055, allocations: 21.72 kB / 0.5649 GB, free: 1.012 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001726/0.4057, allocations: 314.8 kB / 0.5652 GB, free: 0.6953 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.391e-05/0.4058, allocations: 23.97 kB / 0.5652 GB, free: 0.6719 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.349e-05/0.4058, allocations: 43.36 kB / 0.5652 GB, free: 0.6172 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000117/0.406, allocations: 59.36 kB / 0.5653 GB, free: 0.5469 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.72e-07/0.406, allocations: 4 kB / 0.5653 GB, free: 0.543 MB / 398.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001646/0.4061, allocations: 85.89 kB / 0.5654 GB, free: 464 kB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.346e-05/0.4061, allocations: 4 kB / 0.5654 GB, free: 460 kB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.542e-06/0.4061, allocations: 7.938 kB / 0.5654 GB, free: 452 kB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.702e-05/0.4062, allocations: 3.984 kB / 0.5654 GB, free: 448 kB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.909e-05/0.4062, allocations: 8 kB / 0.5654 GB, free: 440 kB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.721e-06/0.4062, allocations: 4 kB / 0.5654 GB, free: 436 kB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.595e-05/0.4063, allocations: 144 / 0.5654 GB, free: 436 kB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.498e-05/0.4063, allocations: 11.98 kB / 0.5654 GB, free: 424 kB / 398.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 1 (integrator.local_reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (7): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 9.601e-05/0.4064, allocations: 121.8 kB / 0.5655 GB, free: 292 kB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.538e-05/0.4064, allocations: 3.953 kB / 0.5655 GB, free: 288 kB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.209e-05/0.4064, allocations: 12 kB / 0.5655 GB, free: 268 kB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.713e-06/0.4064, allocations: 0 / 0.5655 GB, free: 268 kB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.318e-06/0.4064, allocations: 0 / 0.5655 GB, free: 268 kB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.795e-06/0.4064, allocations: 0 / 0.5655 GB, free: 268 kB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001808/0.4066, allocations: 144.7 kB / 0.5657 GB, free: 80 kB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.12e-07/0.4066, allocations: 0 / 0.5657 GB, free: 80 kB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.593e-05/0.4067, allocations: 19.92 kB / 0.5657 GB, free: 60 kB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.573e-06/0.4067, allocations: 0 / 0.5657 GB, free: 60 kB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.735e-06/0.4067, allocations: 0 / 0.5657 GB, free: 60 kB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.222e-06/0.4067, allocations: 0 / 0.5657 GB, free: 60 kB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.22e-07/0.4067, allocations: 384 / 0.5657 GB, free: 60 kB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002891/0.407, allocations: 179.5 kB / 0.5659 GB, free: 15.87 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.39e-05/0.407, allocations: 7.984 kB / 0.5659 GB, free: 15.86 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.652e-05/0.407, allocations: 8.062 kB / 0.5659 GB, free: 15.85 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.92e-05/0.4071, allocations: 3.938 kB / 0.5659 GB, free: 15.85 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.054e-05/0.4071, allocations: 4 kB / 0.5659 GB, free: 15.84 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.591e-06/0.4071, allocations: 3.984 kB / 0.5659 GB, free: 15.84 MB / 414.1 MB Notification: Performance of sorting global known variables: time 5.802e-05/0.4072, allocations: 87.28 kB / 0.566 GB, free: 15.75 MB / 414.1 MB Notification: Performance of sort global known variables: time 6e-08/0.4072, allocations: 0 / 0.566 GB, free: 15.75 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.000214/0.4074, allocations: 7.938 kB / 0.566 GB, free: 15.75 MB / 414.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (gain.y) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (4): * Single equations (assignments): 4 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 9.523e-05/0.4075, allocations: 99.19 kB / 0.5661 GB, free: 15.64 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0001628/0.4076, allocations: 39.97 kB / 0.5661 GB, free: 15.6 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.124e-06/0.4076, allocations: 0 / 0.5661 GB, free: 15.6 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 4.349e-05/0.4077, allocations: 23.86 kB / 0.5661 GB, free: 15.58 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002598/0.4079, allocations: 10.19 kB / 0.5662 GB, free: 15.57 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003735/0.4083, allocations: 158 kB / 0.5663 GB, free: 15.39 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000343/0.4087, allocations: 0.6887 MB / 0.567 GB, free: 14.68 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 3.162e-05/0.4087, allocations: 0 / 0.567 GB, free: 14.68 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.134e-05/0.4087, allocations: 15.42 kB / 0.567 GB, free: 14.66 MB / 414.1 MB Notification: Performance of SimCode: time 3.11e-07/0.4087, allocations: 0 / 0.567 GB, free: 14.66 MB / 414.1 MB Notification: Performance of Templates: time 0.002968/0.4117, allocations: 476.8 kB / 0.5674 GB, free: 14.2 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Blocks.IntegratorForceState.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Blocks.IntegratorForceState.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Blocks.IntegratorForceState.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Blocks.IntegratorForceState.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Blocks.IntegratorForceState.sim & ./ModelicaTest_4.1.0-beta.om_ModelicaTest.Blocks.IntegratorForceState -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0-beta.om_ModelicaTest.Blocks.IntegratorForceState.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0-beta.om_ModelicaTest.Blocks.IntegratorForceState_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Blocks/IntegratorForceState/IntegratorForceState.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Blocks.IntegratorForceState.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: 5.192418789491057]