Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Blocks.IntegratorForceState.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.001781/0.001781, allocations: 107 kB / 21.18 MB, free: 0.6484 MB / 14.72 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.002144/0.002144, allocations: 214.8 kB / 24.48 MB, free: 3.941 MB / 14.72 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 1.454/1.454, allocations: 230.6 MB / 258.2 MB, free: 7.789 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.2273/0.2273, allocations: 46.96 MB / 361.6 MB, free: 4.055 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+maint.om/package.mo) 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(ModelicaTest.Blocks.IntegratorForceState,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|gain.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Blocks.IntegratorForceState") translateModel(ModelicaTest.Blocks.IntegratorForceState,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|gain.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Blocks.IntegratorForceState") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002081/0.002081, allocations: 75.88 kB / 0.4973 GB, free: 7.242 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2798/0.2819, allocations: 66.03 MB / 0.5618 GB, free: 4.207 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.IntegratorForceState): time 0.002795/0.2847, allocations: 1.564 MB / 0.5633 GB, free: 2.633 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002306/0.2849, allocations: 67.8 kB / 0.5634 GB, free: 2.566 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.439e-05/0.285, allocations: 4 kB / 0.5634 GB, free: 2.562 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 9.532e-05/0.285, allocations: 15.86 kB / 0.5634 GB, free: 2.547 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 2.94e-05/0.2851, allocations: 3.938 kB / 0.5634 GB, free: 2.543 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001211/0.2852, allocations: 15.98 kB / 0.5634 GB, free: 2.527 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001046/0.2853, allocations: 31.92 kB / 0.5635 GB, free: 2.496 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.6e-05/0.2854, allocations: 11.98 kB / 0.5635 GB, free: 2.484 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.971e-05/0.2854, allocations: 15.92 kB / 0.5635 GB, free: 2.469 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.669e-05/0.2855, allocations: 15.92 kB / 0.5635 GB, free: 2.453 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.589e-05/0.2855, allocations: 4 kB / 0.5635 GB, free: 2.449 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.907e-06/0.2855, allocations: 4 kB / 0.5635 GB, free: 2.445 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 1.568e-05/0.2855, allocations: 11.94 kB / 0.5635 GB, free: 2.434 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 2.098e-05/0.2855, allocations: 3.938 kB / 0.5635 GB, free: 2.43 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001008/0.2856, allocations: 51.41 kB / 0.5636 GB, free: 2.383 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.126e-06/0.2856, allocations: 0 / 0.5636 GB, free: 2.383 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.352e-06/0.2856, allocations: 0 / 0.5636 GB, free: 2.383 MB / 398.1 MB Notification: Performance of Transformations before backend: time 8.506e-06/0.2856, allocations: 0 / 0.5636 GB, free: 2.383 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.0004125/0.2861, allocations: 276.9 kB / 0.5638 GB, free: 2.082 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.22e-05/0.2861, allocations: 12.03 kB / 0.5638 GB, free: 2.07 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.708e-05/0.2861, allocations: 4.891 kB / 0.5639 GB, free: 2.066 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001915/0.2863, allocations: 118.5 kB / 0.564 GB, free: 1.926 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.291e-05/0.2863, allocations: 8.375 kB / 0.564 GB, free: 1.918 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.092e-05/0.2863, allocations: 384 / 0.564 GB, free: 1.918 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001601/0.2865, allocations: 76.75 kB / 0.564 GB, free: 1.828 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.845e-06/0.2865, allocations: 192 / 0.564 GB, free: 1.828 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.582e-05/0.2865, allocations: 3.938 kB / 0.5641 GB, free: 1.824 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.927e-06/0.2865, allocations: 0 / 0.5641 GB, free: 1.824 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.05e-05/0.2866, allocations: 23.98 kB / 0.5641 GB, free: 1.801 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000468/0.2871, allocations: 404.7 kB / 0.5645 GB, free: 1.367 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001659/0.2873, allocations: 42.5 kB / 0.5645 GB, free: 1.316 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.069e-05/0.2873, allocations: 12.95 kB / 0.5645 GB, free: 1.301 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.694e-05/0.2873, allocations: 7.984 kB / 0.5645 GB, free: 1.293 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.394e-05/0.2874, allocations: 34.5 kB / 0.5646 GB, free: 1.25 MB / 398.1 MB Notification: Performance of pre-optimization done (n=3): time 1.002e-06/0.2874, allocations: 0 / 0.5646 GB, free: 1.25 MB / 398.1 MB Notification: Performance of matching and sorting (n=4): time 0.0004467/0.2878, allocations: 101.9 kB / 0.5647 GB, free: 1.145 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.113e-05/0.2878, allocations: 59.34 kB / 0.5647 GB, free: 1.074 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.601e-05/0.2879, allocations: 117.8 kB / 0.5648 GB, free: 0.9492 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.719e-05/0.288, allocations: 25.7 kB / 0.5648 GB, free: 0.918 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.002e-05/0.288, allocations: 96.03 kB / 0.5649 GB, free: 0.8203 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.829e-05/0.288, allocations: 15.84 kB / 0.565 GB, free: 0.8047 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.096e-05/0.2881, allocations: 25.7 kB / 0.565 GB, free: 0.7734 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001339/0.2882, allocations: 314.8 kB / 0.5653 GB, free: 468 kB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.535e-05/0.2883, allocations: 15.98 kB / 0.5653 GB, free: 452 kB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7e-05/0.2883, allocations: 43.41 kB / 0.5653 GB, free: 396 kB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001171/0.2884, allocations: 63.36 kB / 0.5654 GB, free: 320 kB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.62e-07/0.2884, allocations: 4 kB / 0.5654 GB, free: 316 kB / 398.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001704/0.2886, allocations: 81.56 kB / 0.5655 GB, free: 228 kB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.121e-05/0.2886, allocations: 8 kB / 0.5655 GB, free: 220 kB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.546e-06/0.2886, allocations: 0 / 0.5655 GB, free: 220 kB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.292e-05/0.2886, allocations: 4 kB / 0.5655 GB, free: 216 kB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.723e-05/0.2887, allocations: 16.02 kB / 0.5655 GB, free: 200 kB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.869e-06/0.2887, allocations: 4 kB / 0.5655 GB, free: 196 kB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.158e-05/0.2888, allocations: 4 kB / 0.5655 GB, free: 192 kB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.146e-06/0.2888, allocations: 4 kB / 0.5655 GB, free: 188 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 8.573e-05/0.2889, allocations: 117.8 kB / 0.5656 GB, free: 60 kB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.777e-05/0.2889, allocations: 3.953 kB / 0.5656 GB, free: 56 kB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.65e-05/0.2889, allocations: 11.98 kB / 0.5656 GB, free: 36 kB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.422e-06/0.2889, allocations: 4 kB / 0.5656 GB, free: 32 kB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.799e-06/0.2889, allocations: 4 kB / 0.5656 GB, free: 28 kB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.913e-06/0.2889, allocations: 0 / 0.5656 GB, free: 28 kB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001715/0.2891, allocations: 113.6 kB / 0.5658 GB, free: 15.89 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.51e-07/0.2891, allocations: 4 kB / 0.5658 GB, free: 15.88 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.912e-05/0.2892, allocations: 11.98 kB / 0.5658 GB, free: 15.87 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.593e-06/0.2892, allocations: 0 / 0.5658 GB, free: 15.87 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.132e-05/0.2892, allocations: 7.938 kB / 0.5658 GB, free: 15.86 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.076e-06/0.2892, allocations: 3.938 kB / 0.5658 GB, free: 15.86 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.21e-07/0.2892, allocations: 0 / 0.5658 GB, free: 15.86 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000242/0.2894, allocations: 175.5 kB / 0.566 GB, free: 15.67 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.213e-05/0.2894, allocations: 7.938 kB / 0.566 GB, free: 15.66 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.548e-05/0.2895, allocations: 4.031 kB / 0.566 GB, free: 15.66 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.406e-05/0.2895, allocations: 4.062 kB / 0.566 GB, free: 15.66 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.46e-05/0.2895, allocations: 0 / 0.566 GB, free: 15.66 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.371e-06/0.2895, allocations: 4 kB / 0.566 GB, free: 15.65 MB / 414.1 MB Notification: Performance of sorting global known variables: time 5.61e-05/0.2896, allocations: 91.27 kB / 0.5661 GB, free: 15.56 MB / 414.1 MB Notification: Performance of sort global known variables: time 9e-08/0.2896, allocations: 3.938 kB / 0.5661 GB, free: 15.56 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002341/0.2898, allocations: 8 kB / 0.5661 GB, free: 15.55 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 8.47e-05/0.2899, allocations: 91.25 kB / 0.5662 GB, free: 15.45 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0001572/0.2901, allocations: 43.91 kB / 0.5662 GB, free: 15.41 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 1.573e-06/0.2901, allocations: 4.188 kB / 0.5662 GB, free: 15.41 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 4.551e-05/0.2901, allocations: 15.92 kB / 0.5662 GB, free: 15.39 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002605/0.2904, allocations: 21.47 kB / 0.5662 GB, free: 15.38 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003486/0.2907, allocations: 158.2 kB / 0.5664 GB, free: 15.2 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.454e-05/0.2908, allocations: 67.34 kB / 0.5665 GB, free: 15.11 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 3.04e-05/0.2908, allocations: 4 kB / 0.5665 GB, free: 15.11 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.602e-05/0.2908, allocations: 7.438 kB / 0.5665 GB, free: 15.1 MB / 414.1 MB Notification: Performance of SimCode: time 4.41e-07/0.2908, allocations: 4 kB / 0.5665 GB, free: 15.09 MB / 414.1 MB Notification: Performance of Templates: time 0.002873/0.2937, allocations: 0.4942 MB / 0.5669 GB, free: 14.6 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Blocks.IntegratorForceState.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Blocks.IntegratorForceState.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Blocks.IntegratorForceState.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Blocks.IntegratorForceState.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Blocks.IntegratorForceState.sim & ./ModelicaTest_4.1.0_ModelicaTest.Blocks.IntegratorForceState -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Blocks.IntegratorForceState.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Blocks.IntegratorForceState_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Blocks/IntegratorForceState/IntegratorForceState.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_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: 4.713653308004723]