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.0009716/0.0009716, allocations: 80.34 kB / 20.67 MB, free: 3.891 MB / 18.57 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.001012/0.001012, allocations: 160.9 kB / 23.95 MB, free: 0.6133 MB / 18.57 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 0.9448/0.9448, allocations: 177 MB / 204.1 MB, free: 5.738 MB / 186.7 MB " [Timeout remaining time 179] 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.2638/0.2638, allocations: 34.24 MB / 294.8 MB, free: 0.6797 MB / 266.7 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 5.63e-06/5.63e-06, allocations: 4 kB / 442.1 MB, free: 1.582 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.376e-05/2.939e-05, allocations: 2.281 kB / 442.1 MB, free: 1.578 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.IntegratorForceState): time 0.002902/0.002932, allocations: 1.558 MB / 443.7 MB, free: 8 kB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.1929/0.1958, allocations: 64.28 kB / 443.8 MB, free: 43.21 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.102e-05/0.1959, allocations: 1.781 kB / 443.8 MB, free: 43.21 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000131/0.196, allocations: 9.859 kB / 443.8 MB, free: 43.21 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 3.434e-05/0.196, allocations: 5.281 kB / 443.8 MB, free: 43.21 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000159/0.1962, allocations: 20.78 kB / 443.8 MB, free: 43.21 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001313/0.1963, allocations: 38.45 kB / 443.8 MB, free: 43.21 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001211/0.1964, allocations: 5.594 kB / 443.8 MB, free: 43.21 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 4.902e-05/0.1965, allocations: 23.12 kB / 443.9 MB, free: 43.21 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.234e-05/0.1966, allocations: 9.766 kB / 443.9 MB, free: 43.21 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 2.468e-05/0.1966, allocations: 3.031 kB / 443.9 MB, free: 43.21 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.068e-05/0.1966, allocations: 2.969 kB / 443.9 MB, free: 43.21 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 2.143e-05/0.1966, allocations: 5.922 kB / 443.9 MB, free: 43.21 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 2.824e-05/0.1966, allocations: 14.58 kB / 443.9 MB, free: 43.21 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001314/0.1968, allocations: 38.05 kB / 443.9 MB, free: 43.21 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.352e-06/0.1968, allocations: 3.219 kB / 443.9 MB, free: 43.21 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.254e-06/0.1968, allocations: 0 / 443.9 MB, free: 43.21 MB / 410.7 MB Notification: Performance of Transformations before backend: time 6.442e-06/0.1968, allocations: 0 / 443.9 MB, free: 43.21 MB / 410.7 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.0004311/0.1972, allocations: 278.6 kB / 444.2 MB, free: 42.95 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.03e-05/0.1973, allocations: 10.81 kB / 444.2 MB, free: 42.95 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.237e-05/0.1973, allocations: 33.31 kB / 444.3 MB, free: 42.91 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.612e-05/0.1973, allocations: 3.469 kB / 444.3 MB, free: 42.91 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002282/0.1976, allocations: 127.6 kB / 444.4 MB, free: 42.77 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.456e-06/0.1976, allocations: 384 / 444.4 MB, free: 42.77 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.932e-05/0.1976, allocations: 8.875 kB / 444.4 MB, free: 42.77 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001239/0.1977, allocations: 78.62 kB / 444.5 MB, free: 42.72 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.522e-06/0.1977, allocations: 192 / 444.5 MB, free: 42.72 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.227e-06/0.1977, allocations: 1.188 kB / 444.5 MB, free: 42.72 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.041e-06/0.1977, allocations: 7.453 kB / 444.5 MB, free: 42.71 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.527e-05/0.1978, allocations: 30.48 kB / 444.5 MB, free: 42.71 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002952/0.1981, allocations: 410.5 kB / 444.9 MB, free: 42.31 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001228/0.1982, allocations: 47.67 kB / 445 MB, free: 42.28 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.706e-05/0.1982, allocations: 16.77 kB / 445 MB, free: 42.27 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.256e-05/0.1982, allocations: 0 / 445 MB, free: 42.27 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.223e-05/0.1983, allocations: 33.62 kB / 445 MB, free: 42.23 MB / 410.7 MB Notification: Performance of pre-optimization done (n=3): time 1.382e-06/0.1983, allocations: 0.5625 kB / 445 MB, free: 42.23 MB / 410.7 MB Notification: Performance of matching and sorting (n=4): time 0.0003414/0.1986, allocations: 110.7 kB / 445.1 MB, free: 42.19 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.095e-05/0.1986, allocations: 54.41 kB / 445.2 MB, free: 42.13 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.566e-05/0.1987, allocations: 114.2 kB / 445.3 MB, free: 42.03 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 5.06e-06/0.1987, allocations: 25.7 kB / 445.3 MB, free: 42 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.412e-05/0.1987, allocations: 94.55 kB / 445.4 MB, free: 41.91 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.415e-06/0.1987, allocations: 18.59 kB / 445.4 MB, free: 41.9 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.584e-05/0.1987, allocations: 20.56 kB / 445.4 MB, free: 41.89 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 2.805e-05/0.1988, allocations: 320.9 kB / 445.7 MB, free: 41.57 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.063e-05/0.1988, allocations: 14.55 kB / 445.8 MB, free: 41.57 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.004e-05/0.1988, allocations: 41.86 kB / 445.8 MB, free: 41.54 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.749e-05/0.1989, allocations: 61.89 kB / 445.9 MB, free: 41.5 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.092e-06/0.1989, allocations: 0 / 445.9 MB, free: 41.5 MB / 410.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 8.392e-05/0.199, allocations: 96.11 kB / 446 MB, free: 41.45 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.155e-05/0.199, allocations: 6.219 kB / 446 MB, free: 41.45 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.069e-06/0.199, allocations: 2.844 kB / 446 MB, free: 41.45 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.257e-05/0.199, allocations: 0 / 446 MB, free: 41.45 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.864e-05/0.199, allocations: 14.81 kB / 446 MB, free: 41.45 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.398e-06/0.199, allocations: 2.938 kB / 446 MB, free: 41.45 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.899e-05/0.1991, allocations: 2.969 kB / 446 MB, free: 41.45 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.522e-06/0.1991, allocations: 7.281 kB / 446 MB, free: 41.45 MB / 410.7 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 3.846e-05/0.1991, allocations: 119.9 kB / 446.1 MB, free: 41.33 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.141e-05/0.1991, allocations: 6.875 kB / 446.1 MB, free: 41.33 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.869e-05/0.1991, allocations: 7.938 kB / 446.1 MB, free: 41.32 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.895e-06/0.1991, allocations: 2.938 kB / 446.1 MB, free: 41.32 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.208e-06/0.1991, allocations: 0 / 446.1 MB, free: 41.32 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.325e-06/0.1991, allocations: 0 / 446.1 MB, free: 41.32 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.987e-05/0.1992, allocations: 139.6 kB / 446.3 MB, free: 41.16 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.31e-07/0.1992, allocations: 0 / 446.3 MB, free: 41.16 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.063e-05/0.1993, allocations: 13.59 kB / 446.3 MB, free: 41.16 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.172e-06/0.1993, allocations: 2.812 kB / 446.3 MB, free: 41.16 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.522e-06/0.1993, allocations: 0 / 446.3 MB, free: 41.16 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.02e-07/0.1993, allocations: 4 kB / 446.3 MB, free: 41.16 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.12e-07/0.1993, allocations: 0 / 446.3 MB, free: 41.16 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001247/0.1994, allocations: 182.5 kB / 446.5 MB, free: 41.02 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.362e-06/0.1994, allocations: 6.828 kB / 446.5 MB, free: 41.02 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.025e-05/0.1994, allocations: 0 / 446.5 MB, free: 41.02 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.991e-05/0.1994, allocations: 6.156 kB / 446.5 MB, free: 41.02 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.226e-05/0.1995, allocations: 6.812 kB / 446.5 MB, free: 41.02 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.326e-06/0.1995, allocations: 2.688 kB / 446.5 MB, free: 41.02 MB / 410.7 MB Notification: Performance of sorting global known variables: time 1.806e-05/0.1995, allocations: 92.45 kB / 446.6 MB, free: 40.94 MB / 410.7 MB Notification: Performance of sort global known variables: time 5e-08/0.1995, allocations: 64 / 446.6 MB, free: 40.94 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0001404/0.1996, allocations: 13.66 kB / 446.6 MB, free: 40.94 MB / 410.7 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.0001914/0.1998, allocations: 0.6973 MB / 447.3 MB, free: 40.28 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 9.082e-05/0.1999, allocations: 38.69 kB / 447.3 MB, free: 40.28 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.432e-06/0.1999, allocations: 0 / 447.3 MB, free: 40.28 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 2.042e-05/0.1999, allocations: 18.86 kB / 447.3 MB, free: 40.28 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001925/0.2001, allocations: 11.12 kB / 447.4 MB, free: 40.27 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006554/0.2008, allocations: 1.368 MB / 448.7 MB, free: 39.05 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.361e-05/0.2008, allocations: 72.67 kB / 448.8 MB, free: 38.98 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 2.928e-05/0.2008, allocations: 5.656 kB / 448.8 MB, free: 38.98 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.371e-05/0.2009, allocations: 15.03 kB / 448.8 MB, free: 38.98 MB / 410.7 MB Notification: Performance of SimCode: time 5.31e-07/0.2009, allocations: 6.688 kB / 448.8 MB, free: 38.97 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01781/0.2187, allocations: 2.165 MB / 451 MB, free: 38.08 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.017/7.236, allocations: 8.812 kB / 451 MB, free: 38.07 MB / 410.7 MB " [Timeout remaining time 653] (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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Blocks/IntegratorForceState/IntegratorForceState.csv","/var/lib/jenkins/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: 9.401237889192998]