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.001862/0.001862, allocations: 113.1 kB / 20.43 MB, free: 1.457 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.002302/0.002302, allocations: 214.4 kB / 23.75 MB, free: 4.668 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.58/1.58, allocations: 230.6 MB / 257.5 MB, free: 8 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.2829/0.2829, allocations: 46.93 MB / 360.9 MB, free: 4.289 MB / 286.1 MB " [Timeout remaining time 179] 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: "" <> buildModelFMU(ModelicaTest.Blocks.IntegratorForceState,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Blocks_IntegratorForceState",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Blocks.IntegratorForceState,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Blocks_IntegratorForceState",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.003131/0.003131, allocations: 67.89 kB / 0.4962 GB, free: 7.934 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3629/0.366, allocations: 66.03 MB / 0.5606 GB, free: 4.504 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.IntegratorForceState): time 0.003342/0.3693, allocations: 1.564 MB / 0.5622 GB, free: 2.93 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002916/0.3696, allocations: 75.77 kB / 0.5622 GB, free: 2.855 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.146e-05/0.3697, allocations: 7.938 kB / 0.5622 GB, free: 2.848 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001143/0.3698, allocations: 7.938 kB / 0.5623 GB, free: 2.84 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 3.582e-05/0.3698, allocations: 7.922 kB / 0.5623 GB, free: 2.832 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001825/0.37, allocations: 19.98 kB / 0.5623 GB, free: 2.812 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001194/0.3701, allocations: 31.86 kB / 0.5623 GB, free: 2.781 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001014/0.3702, allocations: 9.828 kB / 0.5623 GB, free: 2.773 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.635e-05/0.3703, allocations: 15.92 kB / 0.5623 GB, free: 2.758 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.924e-05/0.3703, allocations: 15.92 kB / 0.5624 GB, free: 2.742 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.528e-05/0.3704, allocations: 4 kB / 0.5624 GB, free: 2.738 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.578e-06/0.3704, allocations: 4 kB / 0.5624 GB, free: 2.734 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 2.145e-05/0.3704, allocations: 11.98 kB / 0.5624 GB, free: 2.723 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 3.555e-05/0.3704, allocations: 15.88 kB / 0.5624 GB, free: 2.707 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001148/0.3705, allocations: 39.7 kB / 0.5624 GB, free: 2.668 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.557e-06/0.3705, allocations: 0 / 0.5624 GB, free: 2.668 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.623e-06/0.3705, allocations: 0 / 0.5624 GB, free: 2.668 MB / 398.1 MB Notification: Performance of Transformations before backend: time 7.735e-06/0.3706, allocations: 3.984 kB / 0.5624 GB, free: 2.664 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.0004869/0.371, allocations: 270.2 kB / 0.5627 GB, free: 2.367 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.62e-05/0.3711, allocations: 12.03 kB / 0.5627 GB, free: 2.355 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.936e-05/0.3711, allocations: 42.73 kB / 0.5627 GB, free: 2.305 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.239e-05/0.3712, allocations: 8.891 kB / 0.5627 GB, free: 2.297 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002236/0.3714, allocations: 114.5 kB / 0.5629 GB, free: 2.16 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.339e-05/0.3714, allocations: 384 / 0.5629 GB, free: 2.16 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.069e-05/0.3714, allocations: 12.38 kB / 0.5629 GB, free: 2.148 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001948/0.3716, allocations: 76.73 kB / 0.5629 GB, free: 2.059 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.261e-05/0.3716, allocations: 3.938 kB / 0.5629 GB, free: 2.055 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.007e-06/0.3717, allocations: 4 kB / 0.5629 GB, free: 2.051 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.353e-06/0.3717, allocations: 4 kB / 0.563 GB, free: 2.047 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.927e-05/0.3718, allocations: 23.92 kB / 0.563 GB, free: 2.023 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005468/0.3723, allocations: 416.2 kB / 0.5634 GB, free: 1.566 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001703/0.3725, allocations: 50.5 kB / 0.5634 GB, free: 1.508 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.919e-05/0.3725, allocations: 12.94 kB / 0.5634 GB, free: 1.492 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.486e-05/0.3725, allocations: 4 kB / 0.5634 GB, free: 1.488 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.58e-05/0.3726, allocations: 34.5 kB / 0.5635 GB, free: 1.445 MB / 398.1 MB Notification: Performance of pre-optimization done (n=3): time 1.172e-06/0.3726, allocations: 0 / 0.5635 GB, free: 1.445 MB / 398.1 MB Notification: Performance of matching and sorting (n=4): time 0.0004671/0.373, allocations: 109.8 kB / 0.5636 GB, free: 1.332 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.323e-05/0.3731, allocations: 59.39 kB / 0.5636 GB, free: 1.262 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.959e-05/0.3732, allocations: 109.8 kB / 0.5637 GB, free: 1.145 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.908e-05/0.3732, allocations: 29.7 kB / 0.5638 GB, free: 1.109 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.167e-05/0.3733, allocations: 96.08 kB / 0.5639 GB, free: 1.012 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.58e-05/0.3733, allocations: 15.83 kB / 0.5639 GB, free: 0.9961 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.818e-05/0.3733, allocations: 17.72 kB / 0.5639 GB, free: 0.9727 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001509/0.3735, allocations: 330.7 kB / 0.5642 GB, free: 0.6406 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.306e-05/0.3735, allocations: 15.98 kB / 0.5642 GB, free: 0.625 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.391e-05/0.3736, allocations: 39.42 kB / 0.5643 GB, free: 0.5742 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001178/0.3737, allocations: 63.34 kB / 0.5643 GB, free: 0.5 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.72e-07/0.3737, allocations: 0 / 0.5643 GB, free: 0.5 MB / 398.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001859/0.3739, allocations: 89.5 kB / 0.5644 GB, free: 416 kB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.307e-05/0.3739, allocations: 4 kB / 0.5644 GB, free: 412 kB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.957e-06/0.3739, allocations: 0 / 0.5644 GB, free: 412 kB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.408e-05/0.3739, allocations: 4 kB / 0.5644 GB, free: 408 kB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.578e-05/0.374, allocations: 11.98 kB / 0.5644 GB, free: 396 kB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.614e-06/0.374, allocations: 4 kB / 0.5644 GB, free: 392 kB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.039e-05/0.374, allocations: 4.094 kB / 0.5644 GB, free: 388 kB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.195e-06/0.374, allocations: 4 kB / 0.5644 GB, free: 384 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.799e-05/0.3741, allocations: 121.8 kB / 0.5645 GB, free: 252 kB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.6e-05/0.3742, allocations: 3.953 kB / 0.5646 GB, free: 248 kB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.063e-05/0.3742, allocations: 12 kB / 0.5646 GB, free: 228 kB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.242e-06/0.3742, allocations: 0 / 0.5646 GB, free: 228 kB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.226e-06/0.3742, allocations: 0 / 0.5646 GB, free: 228 kB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.154e-06/0.3742, allocations: 0 / 0.5646 GB, free: 228 kB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001681/0.3744, allocations: 144.6 kB / 0.5647 GB, free: 40 kB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.71e-07/0.3744, allocations: 0 / 0.5647 GB, free: 40 kB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.629e-05/0.3744, allocations: 19.98 kB / 0.5647 GB, free: 20 kB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.423e-06/0.3744, allocations: 0 / 0.5647 GB, free: 20 kB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.253e-06/0.3744, allocations: 384 / 0.5647 GB, free: 20 kB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.132e-06/0.3744, allocations: 0 / 0.5647 GB, free: 20 kB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.21e-07/0.3744, allocations: 0 / 0.5647 GB, free: 20 kB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002697/0.3747, allocations: 175.5 kB / 0.5649 GB, free: 15.83 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.325e-05/0.3747, allocations: 15.88 kB / 0.5649 GB, free: 15.82 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.296e-05/0.3747, allocations: 8.094 kB / 0.5649 GB, free: 15.81 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.277e-05/0.3748, allocations: 0 / 0.5649 GB, free: 15.81 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.858e-06/0.3748, allocations: 0 / 0.5649 GB, free: 15.81 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.155e-06/0.3748, allocations: 4 kB / 0.5649 GB, free: 15.8 MB / 414.1 MB Notification: Performance of sorting global known variables: time 6.575e-05/0.3749, allocations: 95.2 kB / 0.565 GB, free: 15.71 MB / 414.1 MB Notification: Performance of sort global known variables: time 7e-08/0.3749, allocations: 0 / 0.565 GB, free: 15.71 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002303/0.3751, allocations: 11.94 kB / 0.565 GB, free: 15.7 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.000521/0.3756, allocations: 0.7047 MB / 0.5657 GB, free: 14.97 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0001549/0.3758, allocations: 43.84 kB / 0.5657 GB, free: 14.93 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 1.804e-06/0.3758, allocations: 0 / 0.5657 GB, free: 14.93 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 4.341e-05/0.3758, allocations: 12 kB / 0.5658 GB, free: 14.91 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002744/0.3761, allocations: 18.83 kB / 0.5658 GB, free: 14.9 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001469/0.3776, allocations: 1.387 MB / 0.5671 GB, free: 13.41 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003242/0.3779, allocations: 0.6846 MB / 0.5678 GB, free: 12.7 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 3.574e-05/0.3779, allocations: 7.984 kB / 0.5678 GB, free: 12.7 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.946e-05/0.378, allocations: 11.44 kB / 0.5678 GB, free: 12.68 MB / 414.1 MB Notification: Performance of SimCode: time 3.41e-07/0.378, allocations: 4 kB / 0.5678 GB, free: 12.68 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02814/0.4061, allocations: 1.635 MB / 0.5694 GB, free: 11.17 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.03/11.44, allocations: 10.38 kB / 0.5694 GB, free: 11.16 MB / 414.1 MB " [Timeout remaining time 648] (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 & python3 -m fmpy simulate --output-file ModelicaTest_4.1.0_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_4_1_0_ModelicaTest_Blocks_IntegratorForceState.fmu > ModelicaTest_4.1.0_ModelicaTest.Blocks.IntegratorForceState.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Blocks.IntegratorForceState_res.csv","/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: 14.664183897999465]