Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_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.001804/0.001804, allocations: 110.5 kB / 21.23 MB, free: 0.6641 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.002313/0.002313, allocations: 216.8 kB / 24.54 MB, free: 4.02 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.472/1.472, allocations: 230.3 MB / 258 MB, free: 8.188 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2301/0.2301, allocations: 46.89 MB / 361.3 MB, free: 4.41 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/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: "" <> buildModelFMU(ModelicaTest.Blocks.IntegratorForceState,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Blocks_IntegratorForceState",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Blocks.IntegratorForceState,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Blocks_IntegratorForceState",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002276/0.002276, allocations: 79.86 kB / 0.4966 GB, free: 8.074 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3185/0.3208, allocations: 66.03 MB / 0.561 GB, free: 4.5 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.IntegratorForceState): time 0.003944/0.3247, allocations: 1.571 MB / 0.5626 GB, free: 2.922 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003192/0.325, allocations: 75.77 kB / 0.5627 GB, free: 2.848 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.386e-05/0.3251, allocations: 3.938 kB / 0.5627 GB, free: 2.844 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001241/0.3252, allocations: 15.92 kB / 0.5627 GB, free: 2.828 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 3.815e-05/0.3253, allocations: 3.938 kB / 0.5627 GB, free: 2.824 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001704/0.3255, allocations: 15.98 kB / 0.5627 GB, free: 2.809 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001341/0.3256, allocations: 35.86 kB / 0.5627 GB, free: 2.773 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001061/0.3257, allocations: 17.89 kB / 0.5627 GB, free: 2.758 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.934e-05/0.3257, allocations: 11.94 kB / 0.5628 GB, free: 2.746 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.732e-05/0.3258, allocations: 19.91 kB / 0.5628 GB, free: 2.727 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.011e-05/0.3258, allocations: 4 kB / 0.5628 GB, free: 2.723 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.112e-05/0.3258, allocations: 0 / 0.5628 GB, free: 2.723 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 2.439e-05/0.3259, allocations: 8 kB / 0.5628 GB, free: 2.715 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 3.824e-05/0.3259, allocations: 19.88 kB / 0.5628 GB, free: 2.695 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001308/0.326, allocations: 39.75 kB / 0.5628 GB, free: 2.656 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.859e-06/0.326, allocations: 0 / 0.5628 GB, free: 2.656 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.633e-06/0.326, allocations: 0 / 0.5628 GB, free: 2.656 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.751e-06/0.326, allocations: 0 / 0.5628 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.0006697/0.3267, allocations: 351.3 kB / 0.5632 GB, free: 2.262 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.775e-05/0.3268, allocations: 12.03 kB / 0.5632 GB, free: 2.25 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.857e-05/0.3268, allocations: 30.75 kB / 0.5632 GB, free: 2.211 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.484e-05/0.3268, allocations: 8.891 kB / 0.5632 GB, free: 2.203 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003299/0.3272, allocations: 180.3 kB / 0.5634 GB, free: 1.988 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.059e-05/0.3272, allocations: 4.375 kB / 0.5634 GB, free: 1.984 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.058e-05/0.3272, allocations: 4.375 kB / 0.5634 GB, free: 1.98 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002228/0.3274, allocations: 68.81 kB / 0.5635 GB, free: 1.898 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.395e-05/0.3275, allocations: 3.938 kB / 0.5635 GB, free: 1.895 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.248e-05/0.3275, allocations: 4 kB / 0.5635 GB, free: 1.891 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.139e-06/0.3275, allocations: 4 kB / 0.5635 GB, free: 1.887 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001304/0.3276, allocations: 27.92 kB / 0.5635 GB, free: 1.859 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006934/0.3283, allocations: 449.1 kB / 0.5639 GB, free: 1.363 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000219/0.3285, allocations: 46.5 kB / 0.564 GB, free: 1.309 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.017e-05/0.3286, allocations: 16.86 kB / 0.564 GB, free: 1.289 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.22e-05/0.3286, allocations: 0 / 0.564 GB, free: 1.289 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.2e-05/0.3286, allocations: 34.64 kB / 0.564 GB, free: 1.246 MB / 398.1 MB Notification: Performance of pre-optimization done (n=3): time 1.172e-06/0.3286, allocations: 0 / 0.564 GB, free: 1.246 MB / 398.1 MB Notification: Performance of matching and sorting (n=4): time 0.0006021/0.3292, allocations: 105.5 kB / 0.5641 GB, free: 1.137 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.523e-05/0.3293, allocations: 55.41 kB / 0.5642 GB, free: 1.07 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001223/0.3294, allocations: 117.8 kB / 0.5643 GB, free: 0.9453 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.291e-05/0.3294, allocations: 25.7 kB / 0.5643 GB, free: 0.9141 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.567e-05/0.3295, allocations: 96.08 kB / 0.5644 GB, free: 0.8164 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.598e-05/0.3295, allocations: 19.84 kB / 0.5644 GB, free: 0.7969 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.895e-05/0.3296, allocations: 25.64 kB / 0.5645 GB, free: 0.7656 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001789/0.3298, allocations: 318.8 kB / 0.5648 GB, free: 456 kB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.268e-05/0.3299, allocations: 15.98 kB / 0.5648 GB, free: 440 kB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.377e-05/0.33, allocations: 43.42 kB / 0.5648 GB, free: 384 kB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001692/0.3301, allocations: 55.36 kB / 0.5649 GB, free: 316 kB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.292e-06/0.3301, allocations: 4 kB / 0.5649 GB, free: 312 kB / 398.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002432/0.3304, allocations: 89.5 kB / 0.565 GB, free: 216 kB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.143e-05/0.3304, allocations: 10.03 kB / 0.565 GB, free: 208 kB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.751e-06/0.3304, allocations: 384 / 0.565 GB, free: 208 kB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.87e-05/0.3304, allocations: 0 / 0.565 GB, free: 208 kB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.736e-05/0.3305, allocations: 15.98 kB / 0.565 GB, free: 192 kB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.963e-06/0.3305, allocations: 0 / 0.565 GB, free: 192 kB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.117e-05/0.3306, allocations: 4 kB / 0.565 GB, free: 188 kB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.125e-06/0.3306, allocations: 4.094 kB / 0.565 GB, free: 184 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 0.0001342/0.3307, allocations: 125.7 kB / 0.5651 GB, free: 48 kB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.494e-05/0.3308, allocations: 7.953 kB / 0.5651 GB, free: 40 kB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.892e-05/0.3308, allocations: 11.98 kB / 0.5651 GB, free: 20 kB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.254e-06/0.3308, allocations: 0 / 0.5651 GB, free: 20 kB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.12e-06/0.3308, allocations: 0 / 0.5651 GB, free: 20 kB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.781e-06/0.3308, allocations: 4 kB / 0.5651 GB, free: 16 kB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000324/0.3311, allocations: 173.6 kB / 0.5653 GB, free: 15.8 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.443e-06/0.3311, allocations: 0 / 0.5653 GB, free: 15.8 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001084/0.3312, allocations: 8 kB / 0.5653 GB, free: 15.79 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.204e-06/0.3313, allocations: 4 kB / 0.5653 GB, free: 15.79 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.094e-05/0.3313, allocations: 0 / 0.5653 GB, free: 15.79 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.058e-06/0.3313, allocations: 3.984 kB / 0.5653 GB, free: 15.78 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.312e-06/0.3313, allocations: 4 kB / 0.5653 GB, free: 15.78 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003599/0.3316, allocations: 171.5 kB / 0.5655 GB, free: 15.59 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.849e-05/0.3317, allocations: 85.47 kB / 0.5656 GB, free: 15.49 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.237e-05/0.3317, allocations: 3.984 kB / 0.5656 GB, free: 15.49 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001026/0.3318, allocations: 8 kB / 0.5656 GB, free: 15.48 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.392e-05/0.3318, allocations: 4 kB / 0.5656 GB, free: 15.48 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.621e-06/0.3319, allocations: 3.938 kB / 0.5656 GB, free: 15.47 MB / 414.1 MB Notification: Performance of sorting global known variables: time 9.093e-05/0.3319, allocations: 91.27 kB / 0.5657 GB, free: 15.38 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.3319, allocations: 0 / 0.5657 GB, free: 15.38 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0004237/0.3324, allocations: 7.938 kB / 0.5657 GB, free: 15.38 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 0.0007455/0.3331, allocations: 0.7085 MB / 0.5664 GB, free: 14.64 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002145/0.3333, allocations: 39.92 kB / 0.5664 GB, free: 14.6 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.424e-06/0.3333, allocations: 0 / 0.5664 GB, free: 14.6 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 7.126e-05/0.3334, allocations: 19.92 kB / 0.5664 GB, free: 14.58 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004344/0.3338, allocations: 7.984 kB / 0.5664 GB, free: 14.57 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00212/0.336, allocations: 1.374 MB / 0.5678 GB, free: 13.11 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004858/0.3364, allocations: 0.6885 MB / 0.5684 GB, free: 12.39 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 4.413e-05/0.3365, allocations: 4 kB / 0.5684 GB, free: 12.39 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.026e-05/0.3365, allocations: 23.42 kB / 0.5685 GB, free: 12.36 MB / 414.1 MB Notification: Performance of SimCode: time 4.51e-07/0.3365, allocations: 0 / 0.5685 GB, free: 12.36 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03132/0.3679, allocations: 1.534 MB / 0.57 GB, free: 10.89 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.788/8.156, allocations: 10.19 kB / 0.57 GB, free: 10.89 MB / 414.1 MB " [Timeout remaining time 652] (rm -f ModelicaTest_trunk_ModelicaTest.Blocks.IntegratorForceState.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Blocks.IntegratorForceState.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Blocks.IntegratorForceState.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Blocks.IntegratorForceState.sim & python3 -m fmpy simulate --output-file ModelicaTest_trunk_ModelicaTest.Blocks.IntegratorForceState_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.00019992 ModelicaTest_trunk_ModelicaTest_Blocks_IntegratorForceState.fmu > ModelicaTest_trunk_ModelicaTest.Blocks.IntegratorForceState.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Blocks.IntegratorForceState_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Blocks/IntegratorForceState/IntegratorForceState.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_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: 11.16907990211621]