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.001836/0.001836, allocations: 116.7 kB / 20.43 MB, free: 1.457 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.00229/0.00229, allocations: 212.6 kB / 23.74 MB, free: 4.672 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.463/1.463, allocations: 230.5 MB / 257.4 MB, free: 8.012 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.2183/0.2183, allocations: 46.93 MB / 360.8 MB, free: 4.188 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.002283/0.002283, allocations: 79.86 kB / 0.4962 GB, free: 7.77 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3107/0.313, allocations: 66.07 MB / 0.5607 GB, free: 4.32 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.IntegratorForceState): time 0.00271/0.3157, allocations: 1.579 MB / 0.5623 GB, free: 2.734 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002438/0.3159, allocations: 71.77 kB / 0.5623 GB, free: 2.664 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.737e-05/0.316, allocations: 3.938 kB / 0.5623 GB, free: 2.66 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 8.9e-05/0.3161, allocations: 7.938 kB / 0.5623 GB, free: 2.652 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 2.834e-05/0.3161, allocations: 3.938 kB / 0.5623 GB, free: 2.648 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000135/0.3162, allocations: 19.97 kB / 0.5624 GB, free: 2.629 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001033/0.3163, allocations: 43.86 kB / 0.5624 GB, free: 2.586 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.334e-05/0.3164, allocations: 1.828 kB / 0.5624 GB, free: 2.586 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.129e-05/0.3165, allocations: 19.92 kB / 0.5624 GB, free: 2.566 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.657e-05/0.3165, allocations: 19.91 kB / 0.5624 GB, free: 2.547 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.246e-05/0.3165, allocations: 0 / 0.5624 GB, free: 2.547 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.086e-05/0.3165, allocations: 4 kB / 0.5624 GB, free: 2.543 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 1.447e-05/0.3165, allocations: 4 kB / 0.5624 GB, free: 2.539 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 2.911e-05/0.3166, allocations: 15.88 kB / 0.5625 GB, free: 2.523 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001037/0.3167, allocations: 39.7 kB / 0.5625 GB, free: 2.484 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.073e-06/0.3167, allocations: 8 kB / 0.5625 GB, free: 2.477 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.082e-06/0.3167, allocations: 0 / 0.5625 GB, free: 2.477 MB / 398.1 MB Notification: Performance of Transformations before backend: time 8.015e-06/0.3167, allocations: 4 kB / 0.5625 GB, free: 2.473 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.0004035/0.3171, allocations: 270.2 kB / 0.5628 GB, free: 2.176 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.423e-05/0.3171, allocations: 8.031 kB / 0.5628 GB, free: 2.168 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.709e-05/0.3172, allocations: 42.73 kB / 0.5628 GB, free: 2.117 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.56e-05/0.3172, allocations: 8.891 kB / 0.5628 GB, free: 2.109 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001939/0.3174, allocations: 114.5 kB / 0.5629 GB, free: 1.973 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.574e-05/0.3174, allocations: 8.375 kB / 0.5629 GB, free: 1.965 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.891e-05/0.3174, allocations: 384 / 0.5629 GB, free: 1.965 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001534/0.3176, allocations: 72.77 kB / 0.563 GB, free: 1.879 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.087e-05/0.3176, allocations: 11.92 kB / 0.563 GB, free: 1.867 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.925e-06/0.3176, allocations: 0 / 0.563 GB, free: 1.867 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.727e-06/0.3176, allocations: 0 / 0.563 GB, free: 1.867 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.924e-05/0.3177, allocations: 23.92 kB / 0.563 GB, free: 1.844 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004955/0.3182, allocations: 424.2 kB / 0.5635 GB, free: 1.379 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001532/0.3183, allocations: 46.5 kB / 0.5635 GB, free: 1.324 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.42e-05/0.3184, allocations: 16.94 kB / 0.5635 GB, free: 1.305 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.328e-05/0.3184, allocations: 0 / 0.5635 GB, free: 1.305 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.456e-05/0.3184, allocations: 42.5 kB / 0.5636 GB, free: 1.254 MB / 398.1 MB Notification: Performance of pre-optimization done (n=3): time 8.42e-07/0.3184, allocations: 0 / 0.5636 GB, free: 1.254 MB / 398.1 MB Notification: Performance of matching and sorting (n=4): time 0.0004313/0.3189, allocations: 109.5 kB / 0.5637 GB, free: 1.141 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.499e-05/0.3189, allocations: 51.41 kB / 0.5637 GB, free: 1.078 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.931e-05/0.319, allocations: 117.8 kB / 0.5638 GB, free: 0.9531 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.654e-05/0.319, allocations: 25.7 kB / 0.5638 GB, free: 0.9219 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.669e-05/0.3191, allocations: 96.09 kB / 0.5639 GB, free: 0.8242 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.572e-05/0.3191, allocations: 15.84 kB / 0.5639 GB, free: 0.8086 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.778e-05/0.3191, allocations: 21.7 kB / 0.564 GB, free: 0.7812 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001342/0.3193, allocations: 322.7 kB / 0.5643 GB, free: 468 kB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.347e-05/0.3193, allocations: 15.98 kB / 0.5643 GB, free: 452 kB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.051e-05/0.3194, allocations: 39.42 kB / 0.5643 GB, free: 400 kB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001142/0.3195, allocations: 59.36 kB / 0.5644 GB, free: 328 kB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.42e-07/0.3195, allocations: 0 / 0.5644 GB, free: 328 kB / 398.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001619/0.3197, allocations: 89.5 kB / 0.5645 GB, free: 232 kB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.603e-05/0.3197, allocations: 9.875 kB / 0.5645 GB, free: 224 kB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.877e-06/0.3197, allocations: 4.094 kB / 0.5645 GB, free: 220 kB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.21e-05/0.3197, allocations: 0 / 0.5645 GB, free: 220 kB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.243e-05/0.3198, allocations: 15.98 kB / 0.5645 GB, free: 204 kB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.841e-06/0.3198, allocations: 0 / 0.5645 GB, free: 204 kB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.04e-05/0.3198, allocations: 8 kB / 0.5645 GB, free: 196 kB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.48e-06/0.3198, allocations: 0 / 0.5645 GB, free: 196 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.859e-05/0.3199, allocations: 115.1 kB / 0.5646 GB, free: 72 kB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.04e-05/0.3199, allocations: 15.94 kB / 0.5646 GB, free: 56 kB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.487e-05/0.32, allocations: 4 kB / 0.5646 GB, free: 44 kB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.423e-06/0.32, allocations: 4 kB / 0.5646 GB, free: 40 kB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.956e-06/0.32, allocations: 0 / 0.5646 GB, free: 40 kB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.565e-06/0.32, allocations: 0 / 0.5646 GB, free: 40 kB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001946/0.3202, allocations: 144.7 kB / 0.5648 GB, free: 15.86 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.32e-07/0.3202, allocations: 0 / 0.5648 GB, free: 15.86 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.324e-05/0.3202, allocations: 15.92 kB / 0.5648 GB, free: 15.84 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.683e-06/0.3202, allocations: 0 / 0.5648 GB, free: 15.84 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.245e-05/0.3202, allocations: 4.375 kB / 0.5648 GB, free: 15.84 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.106e-06/0.3203, allocations: 4 kB / 0.5648 GB, free: 15.83 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.545e-06/0.3203, allocations: 4 kB / 0.5648 GB, free: 15.83 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002428/0.3205, allocations: 175.8 kB / 0.565 GB, free: 15.64 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.14e-05/0.3205, allocations: 15.91 kB / 0.565 GB, free: 15.62 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.36e-05/0.3205, allocations: 0 / 0.565 GB, free: 15.62 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.175e-05/0.3206, allocations: 4 kB / 0.565 GB, free: 15.62 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.11e-05/0.3206, allocations: 0 / 0.565 GB, free: 15.62 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.921e-06/0.3206, allocations: 4 kB / 0.565 GB, free: 15.62 MB / 414.1 MB Notification: Performance of sorting global known variables: time 5.684e-05/0.3207, allocations: 95.27 kB / 0.5651 GB, free: 15.52 MB / 414.1 MB Notification: Performance of sort global known variables: time 1e-07/0.3207, allocations: 4 kB / 0.5651 GB, free: 15.52 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002209/0.3209, allocations: 11.94 kB / 0.5651 GB, free: 15.51 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.0005108/0.3214, allocations: 0.6969 MB / 0.5658 GB, free: 14.79 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0001555/0.3215, allocations: 47.91 kB / 0.5658 GB, free: 14.74 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.284e-06/0.3215, allocations: 0 / 0.5658 GB, free: 14.74 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 3.984e-05/0.3216, allocations: 12 kB / 0.5658 GB, free: 14.73 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002729/0.3219, allocations: 11.98 kB / 0.5659 GB, free: 14.71 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001452/0.3233, allocations: 1.389 MB / 0.5672 GB, free: 13.23 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003168/0.3236, allocations: 0.6807 MB / 0.5679 GB, free: 12.52 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 3.202e-05/0.3237, allocations: 4 kB / 0.5679 GB, free: 12.52 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.17e-05/0.3237, allocations: 19.42 kB / 0.5679 GB, free: 12.5 MB / 414.1 MB Notification: Performance of SimCode: time 3.11e-07/0.3237, allocations: 0 / 0.5679 GB, free: 12.5 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02646/0.3502, allocations: 1.64 MB / 0.5695 GB, free: 10.96 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.03/11.38, allocations: 0 / 0.5695 GB, free: 10.96 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.379928340000333]