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.001428/0.001428, allocations: 115.1 kB / 20.45 MB, free: 1.336 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.001507/0.001507, allocations: 209.7 kB / 23.72 MB, free: 4.527 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.504/1.504, allocations: 230.5 MB / 257.4 MB, free: 7.789 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.2351/0.2351, allocations: 46.95 MB / 360.8 MB, free: 3.938 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.002362/0.002362, allocations: 79.88 kB / 0.4961 GB, free: 7.566 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2932/0.2955, allocations: 66.09 MB / 0.5607 GB, free: 4.023 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.IntegratorForceState): time 0.002881/0.2984, allocations: 1.544 MB / 0.5622 GB, free: 2.473 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002571/0.2987, allocations: 67.73 kB / 0.5622 GB, free: 2.406 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.315e-05/0.2987, allocations: 4 kB / 0.5622 GB, free: 2.402 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001117/0.2988, allocations: 11.86 kB / 0.5623 GB, free: 2.391 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 3.336e-05/0.2989, allocations: 7.938 kB / 0.5623 GB, free: 2.383 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001339/0.299, allocations: 19.97 kB / 0.5623 GB, free: 2.363 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001144/0.2991, allocations: 39.86 kB / 0.5623 GB, free: 2.324 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.395e-05/0.2992, allocations: 9.812 kB / 0.5623 GB, free: 2.316 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.839e-05/0.2992, allocations: 8 kB / 0.5623 GB, free: 2.309 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.325e-05/0.2993, allocations: 19.86 kB / 0.5624 GB, free: 2.289 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.365e-05/0.2993, allocations: 0 / 0.5624 GB, free: 2.289 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.263e-05/0.2993, allocations: 4 kB / 0.5624 GB, free: 2.285 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 1.654e-05/0.2993, allocations: 4 kB / 0.5624 GB, free: 2.281 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 4.074e-05/0.2994, allocations: 19.86 kB / 0.5624 GB, free: 2.262 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001009/0.2995, allocations: 35.84 kB / 0.5624 GB, free: 2.227 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.711e-06/0.2995, allocations: 3.984 kB / 0.5624 GB, free: 2.223 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.483e-06/0.2995, allocations: 3.938 kB / 0.5624 GB, free: 2.219 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.08e-06/0.2995, allocations: 0 / 0.5624 GB, free: 2.219 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.00044/0.2999, allocations: 274.2 kB / 0.5627 GB, free: 1.918 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.052e-05/0.3, allocations: 12.03 kB / 0.5627 GB, free: 1.906 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.877e-05/0.3, allocations: 34.73 kB / 0.5627 GB, free: 1.863 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.68e-05/0.3, allocations: 8.891 kB / 0.5627 GB, free: 1.855 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00021/0.3003, allocations: 122.5 kB / 0.5629 GB, free: 1.711 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.506e-06/0.3003, allocations: 4.375 kB / 0.5629 GB, free: 1.707 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.774e-05/0.3003, allocations: 4.375 kB / 0.5629 GB, free: 1.703 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001839/0.3005, allocations: 72.75 kB / 0.5629 GB, free: 1.617 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.126e-05/0.3005, allocations: 3.938 kB / 0.5629 GB, free: 1.613 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.159e-05/0.3005, allocations: 7.984 kB / 0.5629 GB, free: 1.605 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.358e-06/0.3005, allocations: 3.938 kB / 0.563 GB, free: 1.602 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.112e-05/0.3006, allocations: 23.98 kB / 0.563 GB, free: 1.578 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005232/0.3011, allocations: 416.2 kB / 0.5634 GB, free: 1.121 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001628/0.3013, allocations: 42.56 kB / 0.5634 GB, free: 1.07 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.178e-05/0.3013, allocations: 20.94 kB / 0.5634 GB, free: 1.047 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.038e-05/0.3013, allocations: 0 / 0.5634 GB, free: 1.047 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.535e-05/0.3014, allocations: 34.5 kB / 0.5635 GB, free: 1.004 MB / 398.1 MB Notification: Performance of pre-optimization done (n=3): time 8.42e-07/0.3014, allocations: 3.938 kB / 0.5635 GB, free: 1 MB / 398.1 MB Notification: Performance of matching and sorting (n=4): time 0.0004632/0.3018, allocations: 105.5 kB / 0.5636 GB, free: 0.8906 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.725e-05/0.3019, allocations: 55.34 kB / 0.5636 GB, free: 0.8242 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.216e-05/0.302, allocations: 117.8 kB / 0.5637 GB, free: 0.6992 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.714e-05/0.302, allocations: 25.7 kB / 0.5638 GB, free: 0.668 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.787e-05/0.3021, allocations: 96.03 kB / 0.5639 GB, free: 0.5703 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.934e-05/0.3021, allocations: 19.89 kB / 0.5639 GB, free: 0.5508 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.79e-05/0.3021, allocations: 17.72 kB / 0.5639 GB, free: 0.5273 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001351/0.3022, allocations: 318.8 kB / 0.5642 GB, free: 212 kB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.056e-05/0.3023, allocations: 19.98 kB / 0.5642 GB, free: 192 kB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.687e-05/0.3024, allocations: 39.42 kB / 0.5642 GB, free: 140 kB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001188/0.3025, allocations: 63.36 kB / 0.5643 GB, free: 64 kB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.01e-07/0.3025, allocations: 0 / 0.5643 GB, free: 64 kB / 398.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001864/0.3027, allocations: 85.56 kB / 0.5644 GB, free: 15.97 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.35e-05/0.3027, allocations: 4 kB / 0.5644 GB, free: 15.97 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.681e-06/0.3027, allocations: 3.984 kB / 0.5644 GB, free: 15.96 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.283e-05/0.3027, allocations: 4 kB / 0.5644 GB, free: 15.96 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.751e-05/0.3028, allocations: 11.94 kB / 0.5644 GB, free: 15.95 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.404e-06/0.3028, allocations: 8.25 kB / 0.5644 GB, free: 15.94 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.747e-05/0.3028, allocations: 0 / 0.5644 GB, free: 15.94 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.209e-05/0.3028, allocations: 11.97 kB / 0.5644 GB, free: 15.93 MB / 414.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.327e-05/0.3029, allocations: 117.8 kB / 0.5645 GB, free: 15.8 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.598e-05/0.3029, allocations: 3.953 kB / 0.5645 GB, free: 15.8 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.748e-05/0.303, allocations: 12 kB / 0.5646 GB, free: 15.78 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.282e-06/0.303, allocations: 0 / 0.5646 GB, free: 15.78 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.377e-06/0.303, allocations: 0 / 0.5646 GB, free: 15.78 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.893e-06/0.303, allocations: 0 / 0.5646 GB, free: 15.78 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001725/0.3032, allocations: 137.1 kB / 0.5647 GB, free: 15.61 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.042e-06/0.3032, allocations: 3.938 kB / 0.5647 GB, free: 15.6 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.638e-05/0.3032, allocations: 19.98 kB / 0.5647 GB, free: 15.58 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.503e-06/0.3032, allocations: 0 / 0.5647 GB, free: 15.58 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.404e-06/0.3032, allocations: 0 / 0.5647 GB, free: 15.58 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.232e-06/0.3032, allocations: 4.312 kB / 0.5647 GB, free: 15.58 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.186e-06/0.3032, allocations: 4 kB / 0.5647 GB, free: 15.57 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002549/0.3035, allocations: 179.4 kB / 0.5649 GB, free: 15.38 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.142e-05/0.3035, allocations: 7.984 kB / 0.5649 GB, free: 15.38 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.318e-05/0.3035, allocations: 3.938 kB / 0.5649 GB, free: 15.37 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.547e-05/0.3036, allocations: 8 kB / 0.5649 GB, free: 15.36 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.662e-05/0.3036, allocations: 8.047 kB / 0.5649 GB, free: 15.36 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.056e-06/0.3036, allocations: 0 / 0.5649 GB, free: 15.36 MB / 414.1 MB Notification: Performance of sorting global known variables: time 5.452e-05/0.3037, allocations: 91.27 kB / 0.565 GB, free: 15.27 MB / 414.1 MB Notification: Performance of sort global known variables: time 9.1e-08/0.3037, allocations: 0 / 0.565 GB, free: 15.27 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002262/0.3039, allocations: 11.94 kB / 0.565 GB, free: 15.25 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.0005632/0.3045, allocations: 0.7046 MB / 0.5657 GB, free: 14.52 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0001431/0.3046, allocations: 35.92 kB / 0.5657 GB, free: 14.49 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.094e-06/0.3046, allocations: 4.25 kB / 0.5657 GB, free: 14.48 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 4.587e-05/0.3046, allocations: 15.98 kB / 0.5658 GB, free: 14.47 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002626/0.3049, allocations: 8 kB / 0.5658 GB, free: 14.46 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001516/0.3064, allocations: 1.37 MB / 0.5671 GB, free: 12.99 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.537e-05/0.3065, allocations: 71.33 kB / 0.5672 GB, free: 12.9 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 2.738e-05/0.3065, allocations: 4 kB / 0.5672 GB, free: 12.9 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.107e-05/0.3066, allocations: 15.44 kB / 0.5672 GB, free: 12.88 MB / 414.1 MB Notification: Performance of SimCode: time 3.3e-07/0.3066, allocations: 0 / 0.5672 GB, free: 12.88 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0281/0.3347, allocations: 2.062 MB / 0.5692 GB, free: 10.91 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.04/11.38, allocations: 10.86 kB / 0.5692 GB, free: 10.91 MB / 414.1 MB " [Timeout remaining time 649] (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.1.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: 14.386480418033898]