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.001572/0.001572, 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.002013/0.002013, allocations: 215.1 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.504/1.504, allocations: 230.5 MB / 257.4 MB, free: 7.98 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.2401/0.2401, allocations: 46.91 MB / 360.8 MB, free: 4.145 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.003689/0.003689, allocations: 83.86 kB / 0.4962 GB, free: 7.727 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3558/0.3594, allocations: 66.08 MB / 0.5607 GB, free: 4.254 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.IntegratorForceState): time 0.003439/0.3629, allocations: 1.574 MB / 0.5623 GB, free: 2.676 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003071/0.3632, allocations: 71.72 kB / 0.5623 GB, free: 2.605 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.148e-05/0.3633, allocations: 0 / 0.5623 GB, free: 2.605 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001319/0.3634, allocations: 11.88 kB / 0.5623 GB, free: 2.594 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 4.573e-05/0.3634, allocations: 7.875 kB / 0.5623 GB, free: 2.586 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001857/0.3636, allocations: 19.97 kB / 0.5624 GB, free: 2.566 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001331/0.3638, allocations: 39.86 kB / 0.5624 GB, free: 2.527 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.557e-05/0.3639, allocations: 1.828 kB / 0.5624 GB, free: 2.527 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.995e-05/0.3639, allocations: 23.91 kB / 0.5624 GB, free: 2.504 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.875e-05/0.364, allocations: 15.94 kB / 0.5624 GB, free: 2.488 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.36e-05/0.364, allocations: 0 / 0.5624 GB, free: 2.488 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.038e-05/0.364, allocations: 4 kB / 0.5624 GB, free: 2.484 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 1.895e-05/0.364, allocations: 7.984 kB / 0.5625 GB, free: 2.477 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 3.477e-05/0.364, allocations: 15.88 kB / 0.5625 GB, free: 2.461 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000122/0.3642, allocations: 39.77 kB / 0.5625 GB, free: 2.422 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.687e-06/0.3642, allocations: 4 kB / 0.5625 GB, free: 2.418 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.272e-06/0.3642, allocations: 3.938 kB / 0.5625 GB, free: 2.414 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.961e-06/0.3642, allocations: 0 / 0.5625 GB, free: 2.414 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.0004776/0.3647, allocations: 274.2 kB / 0.5628 GB, free: 2.113 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.995e-05/0.3647, allocations: 8.031 kB / 0.5628 GB, free: 2.105 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.999e-05/0.3647, allocations: 38.75 kB / 0.5628 GB, free: 2.059 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.039e-05/0.3648, allocations: 8.875 kB / 0.5628 GB, free: 2.051 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002276/0.365, allocations: 118.5 kB / 0.5629 GB, free: 1.91 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.117e-05/0.365, allocations: 4.375 kB / 0.5629 GB, free: 1.906 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.232e-05/0.365, allocations: 384 / 0.5629 GB, free: 1.906 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002043/0.3652, allocations: 76.75 kB / 0.563 GB, free: 1.816 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.174e-05/0.3652, allocations: 7.938 kB / 0.563 GB, free: 1.809 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.197e-06/0.3653, allocations: 0 / 0.563 GB, free: 1.809 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.188e-06/0.3653, allocations: 0 / 0.563 GB, free: 1.809 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.845e-05/0.3654, allocations: 23.97 kB / 0.5631 GB, free: 1.785 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006132/0.366, allocations: 436.1 kB / 0.5635 GB, free: 1.309 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000167/0.3661, allocations: 38.56 kB / 0.5635 GB, free: 1.262 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.908e-05/0.3662, allocations: 12.86 kB / 0.5635 GB, free: 1.246 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.711e-05/0.3662, allocations: 8.078 kB / 0.5635 GB, free: 1.238 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.423e-05/0.3662, allocations: 34.5 kB / 0.5636 GB, free: 1.195 MB / 398.1 MB Notification: Performance of pre-optimization done (n=3): time 1.102e-06/0.3662, allocations: 4 kB / 0.5636 GB, free: 1.191 MB / 398.1 MB Notification: Performance of matching and sorting (n=4): time 0.0004814/0.3667, allocations: 101.9 kB / 0.5637 GB, free: 1.086 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.839e-05/0.3668, allocations: 55.34 kB / 0.5637 GB, free: 1.02 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001154/0.3669, allocations: 121.8 kB / 0.5638 GB, free: 0.8906 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.442e-05/0.3669, allocations: 25.7 kB / 0.5639 GB, free: 0.8594 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.053e-05/0.367, allocations: 92.09 kB / 0.5639 GB, free: 0.7656 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.506e-05/0.367, allocations: 15.84 kB / 0.564 GB, free: 0.75 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.022e-05/0.367, allocations: 29.64 kB / 0.564 GB, free: 0.7148 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001502/0.3672, allocations: 318.8 kB / 0.5643 GB, free: 404 kB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.674e-05/0.3672, allocations: 15.98 kB / 0.5643 GB, free: 388 kB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.592e-05/0.3673, allocations: 39.42 kB / 0.5643 GB, free: 336 kB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001197/0.3674, allocations: 67.34 kB / 0.5644 GB, free: 256 kB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.41e-07/0.3674, allocations: 0 / 0.5644 GB, free: 256 kB / 398.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001771/0.3676, allocations: 81.56 kB / 0.5645 GB, free: 168 kB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.683e-05/0.3676, allocations: 8 kB / 0.5645 GB, free: 160 kB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.3e-06/0.3676, allocations: 0 / 0.5645 GB, free: 160 kB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.386e-05/0.3676, allocations: 0 / 0.5645 GB, free: 160 kB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.898e-05/0.3677, allocations: 24.02 kB / 0.5645 GB, free: 136 kB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.871e-06/0.3677, allocations: 0 / 0.5645 GB, free: 136 kB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.317e-05/0.3677, allocations: 8 kB / 0.5645 GB, free: 128 kB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.871e-06/0.3677, allocations: 0 / 0.5645 GB, free: 128 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 9.939e-05/0.3678, allocations: 119.1 kB / 0.5646 GB, free: 0 / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.598e-05/0.3679, allocations: 8 kB / 0.5646 GB, free: 15.99 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.844e-05/0.3679, allocations: 7.938 kB / 0.5646 GB, free: 15.98 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.814e-06/0.3679, allocations: 0 / 0.5646 GB, free: 15.98 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.417e-06/0.3679, allocations: 0 / 0.5646 GB, free: 15.98 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.116e-06/0.3679, allocations: 4 kB / 0.5647 GB, free: 15.97 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001918/0.3681, allocations: 144.7 kB / 0.5648 GB, free: 15.79 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.703e-06/0.3681, allocations: 0 / 0.5648 GB, free: 15.79 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.074e-05/0.3682, allocations: 12 kB / 0.5648 GB, free: 15.78 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.083e-06/0.3682, allocations: 3.984 kB / 0.5648 GB, free: 15.77 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.246e-06/0.3682, allocations: 0 / 0.5648 GB, free: 15.77 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.386e-06/0.3682, allocations: 7.938 kB / 0.5648 GB, free: 15.77 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.61e-07/0.3682, allocations: 0 / 0.5648 GB, free: 15.77 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002587/0.3685, allocations: 171.5 kB / 0.565 GB, free: 15.58 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.044e-05/0.3685, allocations: 7.984 kB / 0.565 GB, free: 15.57 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.618e-05/0.3685, allocations: 3.984 kB / 0.565 GB, free: 15.57 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.664e-05/0.3686, allocations: 8 kB / 0.565 GB, free: 15.56 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.134e-05/0.3686, allocations: 4 kB / 0.565 GB, free: 15.56 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.787e-06/0.3686, allocations: 384 / 0.565 GB, free: 15.56 MB / 414.1 MB Notification: Performance of sorting global known variables: time 8.881e-05/0.3687, allocations: 95.2 kB / 0.5651 GB, free: 15.46 MB / 414.1 MB Notification: Performance of sort global known variables: time 6.1e-08/0.3687, allocations: 0 / 0.5651 GB, free: 15.46 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002343/0.3689, allocations: 11.94 kB / 0.5651 GB, free: 15.45 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.0006227/0.3695, allocations: 0.7085 MB / 0.5658 GB, free: 14.72 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0001733/0.3697, allocations: 43.91 kB / 0.5658 GB, free: 14.68 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.454e-06/0.3697, allocations: 256 / 0.5658 GB, free: 14.68 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 3.987e-05/0.3698, allocations: 12 kB / 0.5658 GB, free: 14.66 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002876/0.37, allocations: 14.02 kB / 0.5659 GB, free: 14.65 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001709/0.3718, allocations: 1.384 MB / 0.5672 GB, free: 13.17 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003691/0.3721, allocations: 0.6807 MB / 0.5679 GB, free: 12.46 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 3.314e-05/0.3722, allocations: 4 kB / 0.5679 GB, free: 12.46 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.843e-05/0.3722, allocations: 19.42 kB / 0.5679 GB, free: 12.44 MB / 414.1 MB Notification: Performance of SimCode: time 4.8e-07/0.3722, allocations: 0 / 0.5679 GB, free: 12.44 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02903/0.4012, allocations: 1.643 MB / 0.5695 GB, free: 10.89 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.07/11.47, allocations: 0 / 0.5695 GB, free: 10.89 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Blocks.IntegratorForceState_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Blocks_IntegratorForceState_fmu --startTime=0 --stopTime=1 --stepSize=0.00019992 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Blocks_IntegratorForceState.fmu > ModelicaTest_trunk_ModelicaTest.Blocks.IntegratorForceState.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Blocks.IntegratorForceState_res.mat","/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.477468014927581]