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.001544/0.001544, allocations: 112.2 kB / 21.19 MB, free: 0.7578 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.001661/0.001661, allocations: 209.8 kB / 24.49 MB, free: 4.133 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.381/1.381, allocations: 230.6 MB / 258.3 MB, free: 8.195 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.2115/0.2115, allocations: 46.95 MB / 361.6 MB, free: 4.32 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.002086/0.002086, allocations: 67.89 kB / 0.4974 GB, free: 7.445 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2827/0.2848, allocations: 66.02 MB / 0.5619 GB, free: 4.469 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.IntegratorForceState): time 0.002729/0.2875, allocations: 1.575 MB / 0.5634 GB, free: 2.883 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002439/0.2878, allocations: 71.72 kB / 0.5635 GB, free: 2.812 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.396e-05/0.2878, allocations: 4 kB / 0.5635 GB, free: 2.809 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001063/0.2879, allocations: 11.88 kB / 0.5635 GB, free: 2.797 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 3.227e-05/0.288, allocations: 3.938 kB / 0.5635 GB, free: 2.793 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001501/0.2881, allocations: 15.98 kB / 0.5635 GB, free: 2.777 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001254/0.2883, allocations: 43.84 kB / 0.5635 GB, free: 2.734 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.041e-05/0.2883, allocations: 4 kB / 0.5635 GB, free: 2.73 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.36e-05/0.2884, allocations: 15.92 kB / 0.5636 GB, free: 2.715 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.581e-05/0.2884, allocations: 15.92 kB / 0.5636 GB, free: 2.699 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.384e-05/0.2885, allocations: 0 / 0.5636 GB, free: 2.699 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.156e-05/0.2885, allocations: 4 kB / 0.5636 GB, free: 2.695 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 1.587e-05/0.2885, allocations: 4 kB / 0.5636 GB, free: 2.691 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 3.127e-05/0.2885, allocations: 23.86 kB / 0.5636 GB, free: 2.668 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001037/0.2886, allocations: 39.48 kB / 0.5636 GB, free: 2.633 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.666e-06/0.2886, allocations: 4 kB / 0.5637 GB, free: 2.629 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.593e-06/0.2886, allocations: 0 / 0.5637 GB, free: 2.629 MB / 398.1 MB Notification: Performance of Transformations before backend: time 4.94e-06/0.2886, allocations: 3.938 kB / 0.5637 GB, free: 2.625 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.0004476/0.2891, allocations: 272.9 kB / 0.5639 GB, free: 2.328 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.402e-05/0.2891, allocations: 8.031 kB / 0.5639 GB, free: 2.32 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.119e-05/0.2891, allocations: 8.891 kB / 0.5639 GB, free: 2.312 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001927/0.2893, allocations: 122.5 kB / 0.564 GB, free: 2.168 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.642e-06/0.2893, allocations: 384 / 0.564 GB, free: 2.168 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.772e-05/0.2894, allocations: 8.375 kB / 0.5641 GB, free: 2.16 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001675/0.2895, allocations: 68.75 kB / 0.5641 GB, free: 2.078 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.044e-05/0.2895, allocations: 4.172 kB / 0.5641 GB, free: 2.074 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.5e-05/0.2896, allocations: 7.938 kB / 0.5641 GB, free: 2.066 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.689e-06/0.2896, allocations: 4 kB / 0.5641 GB, free: 2.062 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.093e-05/0.2897, allocations: 23.98 kB / 0.5642 GB, free: 2.039 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005065/0.2902, allocations: 424.1 kB / 0.5646 GB, free: 1.574 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001536/0.2903, allocations: 38.56 kB / 0.5646 GB, free: 1.527 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.268e-05/0.2904, allocations: 24.94 kB / 0.5646 GB, free: 1.5 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.038e-05/0.2904, allocations: 3.938 kB / 0.5646 GB, free: 1.496 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.39e-05/0.2904, allocations: 34.5 kB / 0.5647 GB, free: 1.453 MB / 398.1 MB Notification: Performance of pre-optimization done (n=3): time 9.72e-07/0.2904, allocations: 0 / 0.5647 GB, free: 1.453 MB / 398.1 MB Notification: Performance of matching and sorting (n=4): time 0.0004532/0.2909, allocations: 105.5 kB / 0.5648 GB, free: 1.344 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.871e-05/0.2909, allocations: 55.41 kB / 0.5648 GB, free: 1.277 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.448e-05/0.291, allocations: 117.8 kB / 0.5649 GB, free: 1.152 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.675e-05/0.291, allocations: 25.7 kB / 0.565 GB, free: 1.121 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.852e-05/0.2911, allocations: 92.09 kB / 0.565 GB, free: 1.027 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.797e-05/0.2911, allocations: 19.83 kB / 0.5651 GB, free: 1.008 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.662e-05/0.2911, allocations: 21.72 kB / 0.5651 GB, free: 0.9805 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001409/0.2913, allocations: 322.8 kB / 0.5654 GB, free: 0.6562 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.88e-05/0.2913, allocations: 8 kB / 0.5654 GB, free: 0.6484 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.705e-05/0.2914, allocations: 51.36 kB / 0.5654 GB, free: 0.5859 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001113/0.2915, allocations: 55.36 kB / 0.5655 GB, free: 0.5195 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.72e-07/0.2915, allocations: 0 / 0.5655 GB, free: 0.5195 MB / 398.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001692/0.2917, allocations: 93.55 kB / 0.5656 GB, free: 432 kB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.325e-05/0.2917, allocations: 4 kB / 0.5656 GB, free: 428 kB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.382e-06/0.2917, allocations: 4.156 kB / 0.5656 GB, free: 424 kB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.268e-05/0.2917, allocations: 0 / 0.5656 GB, free: 424 kB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.715e-05/0.2918, allocations: 11.94 kB / 0.5656 GB, free: 412 kB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.267e-06/0.2918, allocations: 7.984 kB / 0.5656 GB, free: 404 kB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.981e-05/0.2918, allocations: 3.984 kB / 0.5656 GB, free: 400 kB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.415e-06/0.2918, allocations: 4 kB / 0.5656 GB, free: 396 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.748e-05/0.2919, allocations: 125.8 kB / 0.5657 GB, free: 260 kB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.572e-05/0.2919, allocations: 3.953 kB / 0.5657 GB, free: 256 kB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.724e-05/0.292, allocations: 12 kB / 0.5658 GB, free: 236 kB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.483e-06/0.292, allocations: 0 / 0.5658 GB, free: 236 kB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.958e-06/0.292, allocations: 0 / 0.5658 GB, free: 236 kB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.745e-06/0.292, allocations: 384 / 0.5658 GB, free: 236 kB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00018/0.2921, allocations: 144.7 kB / 0.5659 GB, free: 48 kB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.142e-06/0.2921, allocations: 0 / 0.5659 GB, free: 48 kB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.797e-05/0.2922, allocations: 11.98 kB / 0.5659 GB, free: 36 kB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.402e-06/0.2922, allocations: 384 / 0.5659 GB, free: 36 kB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.468e-06/0.2922, allocations: 8 kB / 0.5659 GB, free: 28 kB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.142e-06/0.2922, allocations: 0 / 0.5659 GB, free: 28 kB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.82e-07/0.2922, allocations: 0 / 0.5659 GB, free: 28 kB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002635/0.2925, allocations: 191.3 kB / 0.5661 GB, free: 15.82 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.348e-05/0.2925, allocations: 7.984 kB / 0.5661 GB, free: 15.82 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.338e-05/0.2925, allocations: 0 / 0.5661 GB, free: 15.82 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.026e-05/0.2926, allocations: 0 / 0.5661 GB, free: 15.82 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.057e-05/0.2926, allocations: 12.05 kB / 0.5661 GB, free: 15.8 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.246e-06/0.2926, allocations: 0 / 0.5661 GB, free: 15.8 MB / 414.1 MB Notification: Performance of sorting global known variables: time 5.586e-05/0.2927, allocations: 87.28 kB / 0.5662 GB, free: 15.72 MB / 414.1 MB Notification: Performance of sort global known variables: time 9e-08/0.2927, allocations: 0 / 0.5662 GB, free: 15.72 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002227/0.2929, allocations: 8 kB / 0.5662 GB, free: 15.71 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.399e-05/0.293, allocations: 99.17 kB / 0.5663 GB, free: 15.61 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0001547/0.2931, allocations: 35.92 kB / 0.5663 GB, free: 15.57 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.024e-06/0.2931, allocations: 4.188 kB / 0.5663 GB, free: 15.57 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 4.561e-05/0.2932, allocations: 23.86 kB / 0.5664 GB, free: 15.54 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000256/0.2934, allocations: 17.25 kB / 0.5664 GB, free: 15.53 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003754/0.2938, allocations: 183.7 kB / 0.5666 GB, free: 15.32 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00032/0.2941, allocations: 0.6846 MB / 0.5672 GB, free: 14.61 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.817e-05/0.2942, allocations: 7.438 kB / 0.5672 GB, free: 14.6 MB / 414.1 MB Notification: Performance of SimCode: time 3.41e-07/0.2942, allocations: 4 kB / 0.5672 GB, free: 14.6 MB / 414.1 MB Notification: Performance of Templates: time 0.002299/0.2965, allocations: 0.7578 MB / 0.568 GB, free: 13.84 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 -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: 6.846708291908726]