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.00155/0.00155, allocations: 111.1 kB / 20.44 MB, free: 1.062 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.00205/0.00205, allocations: 213.9 kB / 23.73 MB, free: 4.164 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.614/1.614, allocations: 230.5 MB / 257.4 MB, free: 7.781 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.2262/0.2262, allocations: 46.94 MB / 360.8 MB, free: 3.914 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.002364/0.002364, allocations: 76.16 kB / 0.4961 GB, free: 7.551 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3234/0.3258, allocations: 66.09 MB / 0.5607 GB, free: 4.016 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.IntegratorForceState): time 0.003002/0.3288, allocations: 1.552 MB / 0.5622 GB, free: 2.457 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002835/0.3291, allocations: 79.72 kB / 0.5623 GB, free: 2.379 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.926e-05/0.3291, allocations: 3.938 kB / 0.5623 GB, free: 2.375 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001053/0.3293, allocations: 7.875 kB / 0.5623 GB, free: 2.367 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 3.059e-05/0.3293, allocations: 3.938 kB / 0.5623 GB, free: 2.363 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001292/0.3294, allocations: 19.98 kB / 0.5623 GB, free: 2.344 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001096/0.3295, allocations: 31.92 kB / 0.5623 GB, free: 2.312 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.624e-05/0.3296, allocations: 13.81 kB / 0.5623 GB, free: 2.301 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.71e-05/0.3296, allocations: 7.938 kB / 0.5624 GB, free: 2.293 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.163e-05/0.3297, allocations: 19.91 kB / 0.5624 GB, free: 2.273 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.943e-05/0.3297, allocations: 4 kB / 0.5624 GB, free: 2.27 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.799e-06/0.3297, allocations: 4 kB / 0.5624 GB, free: 2.266 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 2.131e-05/0.3297, allocations: 11.94 kB / 0.5624 GB, free: 2.254 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 2.736e-05/0.3298, allocations: 11.92 kB / 0.5624 GB, free: 2.242 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001079/0.3299, allocations: 39.77 kB / 0.5624 GB, free: 2.203 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.567e-06/0.3299, allocations: 0 / 0.5624 GB, free: 2.203 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.212e-06/0.3299, allocations: 3.938 kB / 0.5624 GB, free: 2.199 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.23e-06/0.3299, allocations: 0 / 0.5624 GB, free: 2.199 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.0004426/0.3303, allocations: 278.2 kB / 0.5627 GB, free: 1.895 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.357e-05/0.3304, allocations: 8.031 kB / 0.5627 GB, free: 1.887 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.841e-05/0.3304, allocations: 30.75 kB / 0.5627 GB, free: 1.848 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.911e-05/0.3304, allocations: 12.89 kB / 0.5628 GB, free: 1.836 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002172/0.3307, allocations: 118.5 kB / 0.5629 GB, free: 1.695 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.849e-06/0.3307, allocations: 384 / 0.5629 GB, free: 1.695 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.414e-05/0.3307, allocations: 4.375 kB / 0.5629 GB, free: 1.691 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001706/0.3309, allocations: 72.75 kB / 0.5629 GB, free: 1.605 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.092e-05/0.3309, allocations: 3.938 kB / 0.563 GB, free: 1.602 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.107e-05/0.3309, allocations: 8 kB / 0.563 GB, free: 1.594 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.408e-06/0.3309, allocations: 0 / 0.563 GB, free: 1.594 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.275e-05/0.331, allocations: 23.98 kB / 0.563 GB, free: 1.57 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000572/0.3316, allocations: 424.2 kB / 0.5634 GB, free: 1.105 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001772/0.3317, allocations: 42.55 kB / 0.5634 GB, free: 1.055 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.036e-05/0.3318, allocations: 12.86 kB / 0.5634 GB, free: 1.039 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.573e-05/0.3318, allocations: 0 / 0.5634 GB, free: 1.039 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.908e-05/0.3318, allocations: 38.5 kB / 0.5635 GB, free: 0.9922 MB / 398.1 MB Notification: Performance of pre-optimization done (n=3): time 1.112e-06/0.3318, allocations: 0 / 0.5635 GB, free: 0.9922 MB / 398.1 MB Notification: Performance of matching and sorting (n=4): time 0.0005069/0.3323, allocations: 109.6 kB / 0.5636 GB, free: 0.8789 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.351e-05/0.3324, allocations: 59.34 kB / 0.5636 GB, free: 0.8086 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001106/0.3325, allocations: 117.8 kB / 0.5638 GB, free: 0.6836 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.533e-05/0.3325, allocations: 25.7 kB / 0.5638 GB, free: 0.6523 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.568e-05/0.3326, allocations: 100 kB / 0.5639 GB, free: 0.5508 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.251e-05/0.3326, allocations: 7.906 kB / 0.5639 GB, free: 0.543 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.49e-05/0.3326, allocations: 21.72 kB / 0.5639 GB, free: 0.5156 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001363/0.3328, allocations: 322.8 kB / 0.5642 GB, free: 196 kB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.146e-05/0.3328, allocations: 15.98 kB / 0.5642 GB, free: 180 kB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.146e-05/0.3329, allocations: 39.42 kB / 0.5643 GB, free: 128 kB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001163/0.333, allocations: 63.36 kB / 0.5643 GB, free: 52 kB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.32e-07/0.333, allocations: 3.938 kB / 0.5643 GB, free: 48 kB / 398.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001825/0.3332, allocations: 81.56 kB / 0.5644 GB, free: 15.96 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.637e-05/0.3332, allocations: 8 kB / 0.5644 GB, free: 15.95 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.36e-06/0.3332, allocations: 384 / 0.5644 GB, free: 15.95 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.726e-05/0.3332, allocations: 4.094 kB / 0.5644 GB, free: 15.95 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.059e-05/0.3333, allocations: 23.92 kB / 0.5644 GB, free: 15.93 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.741e-06/0.3333, allocations: 0 / 0.5644 GB, free: 15.93 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.99e-05/0.3333, allocations: 4 kB / 0.5644 GB, free: 15.92 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.402e-06/0.3334, allocations: 0 / 0.5644 GB, free: 15.92 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 0.0001036/0.3335, allocations: 123.1 kB / 0.5646 GB, free: 15.79 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.629e-05/0.3335, allocations: 7.953 kB / 0.5646 GB, free: 15.79 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.689e-05/0.3335, allocations: 8 kB / 0.5646 GB, free: 15.77 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.074e-06/0.3335, allocations: 0 / 0.5646 GB, free: 15.77 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.962e-06/0.3335, allocations: 4 kB / 0.5646 GB, free: 15.77 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.131e-06/0.3335, allocations: 7.984 kB / 0.5646 GB, free: 15.76 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001671/0.3337, allocations: 132.7 kB / 0.5647 GB, free: 15.59 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.32e-07/0.3337, allocations: 0 / 0.5647 GB, free: 15.59 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.318e-05/0.3338, allocations: 8 kB / 0.5647 GB, free: 15.58 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.162e-06/0.3338, allocations: 3.984 kB / 0.5647 GB, free: 15.57 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.103e-05/0.3338, allocations: 8 kB / 0.5647 GB, free: 15.57 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.283e-06/0.3338, allocations: 3.938 kB / 0.5647 GB, free: 15.56 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.91e-07/0.3338, allocations: 0 / 0.5647 GB, free: 15.56 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002486/0.334, allocations: 171.5 kB / 0.5649 GB, free: 15.38 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.23e-05/0.334, allocations: 3.953 kB / 0.5649 GB, free: 15.38 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.891e-05/0.3341, allocations: 12.08 kB / 0.5649 GB, free: 15.36 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.274e-05/0.3341, allocations: 4 kB / 0.5649 GB, free: 15.36 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.011e-05/0.3341, allocations: 4 kB / 0.5649 GB, free: 15.36 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.213e-06/0.3342, allocations: 4.375 kB / 0.5649 GB, free: 15.35 MB / 414.1 MB Notification: Performance of sorting global known variables: time 6.385e-05/0.3342, allocations: 95.2 kB / 0.565 GB, free: 15.26 MB / 414.1 MB Notification: Performance of sort global known variables: time 7e-08/0.3342, allocations: 0 / 0.565 GB, free: 15.26 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002256/0.3344, allocations: 7.938 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.0005481/0.335, allocations: 0.7046 MB / 0.5657 GB, free: 14.52 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0001591/0.3352, allocations: 43.97 kB / 0.5658 GB, free: 14.48 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.645e-06/0.3352, allocations: 0 / 0.5658 GB, free: 14.48 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 4.184e-05/0.3352, allocations: 12 kB / 0.5658 GB, free: 14.46 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002956/0.3355, allocations: 18.45 kB / 0.5658 GB, free: 14.45 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001432/0.3369, allocations: 1.372 MB / 0.5671 GB, free: 12.98 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.206e-05/0.337, allocations: 73.72 kB / 0.5672 GB, free: 12.89 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 3.465e-05/0.337, allocations: 4 kB / 0.5672 GB, free: 12.88 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.508e-05/0.3371, allocations: 19.42 kB / 0.5672 GB, free: 12.86 MB / 414.1 MB Notification: Performance of SimCode: time 3.8e-07/0.3371, allocations: 0 / 0.5672 GB, free: 12.86 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02782/0.3649, allocations: 2.028 MB / 0.5692 GB, free: 10.93 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.08/11.45, allocations: 0 / 0.5692 GB, free: 10.93 MB / 414.1 MB " [Timeout remaining time 648] (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.651200652122498]