Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.EngineGasForce.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.0013/0.0013, allocations: 119.1 kB / 20.45 MB, free: 1.176 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.001422/0.001422, allocations: 203.7 kB / 23.72 MB, free: 4.391 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.45/1.45, allocations: 230.5 MB / 257.4 MB, free: 7.758 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.2337/0.2337, allocations: 46.95 MB / 360.8 MB, free: 3.934 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.MultiBody.Forces.EngineGasForce,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_MultiBody_Forces_EngineGasForce",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Forces.EngineGasForce,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_MultiBody_Forces_EngineGasForce",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002438/0.002438, allocations: 83.88 kB / 0.4962 GB, free: 7.551 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3171/0.3195, allocations: 66.07 MB / 0.5607 GB, free: 4.043 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.EngineGasForce): time 0.00363/0.3232, allocations: 2.006 MB / 0.5627 GB, free: 2.027 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001158/0.3243, allocations: 0.5699 MB / 0.5632 GB, free: 1.453 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001016/0.3244, allocations: 7.938 kB / 0.5632 GB, free: 1.445 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001162/0.3245, allocations: 15.8 kB / 0.5632 GB, free: 1.43 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001086/0.3246, allocations: 39.62 kB / 0.5633 GB, free: 1.391 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004343/0.3251, allocations: 79.83 kB / 0.5633 GB, free: 1.312 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002587/0.3253, allocations: 187.3 kB / 0.5635 GB, free: 1.129 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001435/0.3255, allocations: 31.55 kB / 0.5636 GB, free: 1.094 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00019/0.3257, allocations: 83.77 kB / 0.5636 GB, free: 1.012 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001558/0.3258, allocations: 75.66 kB / 0.5637 GB, free: 0.9375 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 3.415e-05/0.3259, allocations: 12 kB / 0.5637 GB, free: 0.9258 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.082e-05/0.3259, allocations: 24 kB / 0.5637 GB, free: 0.9023 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 4.387e-05/0.326, allocations: 35.84 kB / 0.5638 GB, free: 0.8672 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 8.477e-05/0.3261, allocations: 67.66 kB / 0.5638 GB, free: 0.8008 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002689/0.3263, allocations: 187.3 kB / 0.564 GB, free: 0.6172 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.739e-06/0.3263, allocations: 0 / 0.564 GB, free: 0.6172 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.403e-06/0.3263, allocations: 0 / 0.564 GB, free: 0.6172 MB / 398.1 MB Notification: Performance of Transformations before backend: time 6.923e-06/0.3263, allocations: 0 / 0.564 GB, free: 0.6172 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: 28 * Number of variables: 28 Notification: Performance of Generate backend data structure: time 0.0007787/0.3271, allocations: 381.8 kB / 0.5644 GB, free: 216 kB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.001e-05/0.3272, allocations: 8.031 kB / 0.5644 GB, free: 208 kB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.894e-05/0.3272, allocations: 46.73 kB / 0.5644 GB, free: 152 kB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000157/0.3274, allocations: 32.83 kB / 0.5645 GB, free: 120 kB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002638/0.3276, allocations: 162.8 kB / 0.5646 GB, free: 15.93 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.28e-05/0.3277, allocations: 8.609 kB / 0.5646 GB, free: 15.93 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.695e-05/0.3277, allocations: 15.94 kB / 0.5646 GB, free: 15.91 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003686/0.3281, allocations: 213.2 kB / 0.5648 GB, free: 15.68 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.902e-05/0.3281, allocations: 7.953 kB / 0.5649 GB, free: 15.67 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.994e-05/0.3281, allocations: 7.938 kB / 0.5649 GB, free: 15.66 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.33e-06/0.3281, allocations: 0 / 0.5649 GB, free: 15.66 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003069/0.3284, allocations: 115.9 kB / 0.565 GB, free: 15.55 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009355/0.3293, allocations: 0.6287 MB / 0.5656 GB, free: 14.86 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003474/0.3297, allocations: 126.5 kB / 0.5657 GB, free: 14.73 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001563/0.3299, allocations: 64.27 kB / 0.5658 GB, free: 14.67 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.426e-05/0.3299, allocations: 4 kB / 0.5658 GB, free: 14.66 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.766e-05/0.3299, allocations: 34.56 kB / 0.5658 GB, free: 14.62 MB / 414.1 MB Notification: Performance of pre-optimization done (n=13): time 1.523e-06/0.3299, allocations: 4 kB / 0.5658 GB, free: 14.62 MB / 414.1 MB Notification: Performance of matching and sorting (n=19): time 0.00132/0.3312, allocations: 403.9 kB / 0.5662 GB, free: 14.22 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.718e-05/0.3313, allocations: 59.41 kB / 0.5663 GB, free: 14.15 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001499/0.3314, allocations: 162.1 kB / 0.5664 GB, free: 13.98 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.6e-05/0.3314, allocations: 25.7 kB / 0.5664 GB, free: 13.95 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.855e-05/0.3315, allocations: 116.4 kB / 0.5665 GB, free: 13.83 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.915e-05/0.3316, allocations: 67.42 kB / 0.5666 GB, free: 13.77 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.485e-05/0.3317, allocations: 41.66 kB / 0.5666 GB, free: 13.72 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001418/0.3318, allocations: 330.8 kB / 0.567 GB, free: 13.39 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001965/0.332, allocations: 63.95 kB / 0.567 GB, free: 13.32 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002146/0.3322, allocations: 103.4 kB / 0.5671 GB, free: 13.21 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004056/0.3326, allocations: 167.3 kB / 0.5673 GB, free: 13.04 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.042e-06/0.3326, allocations: 0 / 0.5673 GB, free: 13.04 MB / 414.1 MB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0005061/0.3331, allocations: 224 kB / 0.5675 GB, free: 12.81 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.42e-05/0.3331, allocations: 4 kB / 0.5675 GB, free: 12.81 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.318e-06/0.3331, allocations: 0 / 0.5675 GB, free: 12.81 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.645e-05/0.3332, allocations: 4 kB / 0.5675 GB, free: 12.8 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003018/0.3335, allocations: 55.84 kB / 0.5676 GB, free: 12.75 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.062e-05/0.3335, allocations: 4 kB / 0.5676 GB, free: 12.75 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001509/0.3336, allocations: 12.08 kB / 0.5676 GB, free: 12.73 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.96e-05/0.3336, allocations: 12 kB / 0.5676 GB, free: 12.72 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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (22): * Single equations (assignments): 22 * 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.0001202/0.3338, allocations: 129.7 kB / 0.5677 GB, free: 12.59 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.868e-05/0.3338, allocations: 15.89 kB / 0.5677 GB, free: 12.57 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.849e-05/0.3339, allocations: 21.12 kB / 0.5677 GB, free: 12.55 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.372e-06/0.3339, allocations: 7.938 kB / 0.5677 GB, free: 12.54 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.047e-06/0.3339, allocations: 0 / 0.5677 GB, free: 12.54 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.116e-06/0.3339, allocations: 0 / 0.5677 GB, free: 12.54 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001034/0.3349, allocations: 0.5606 MB / 0.5683 GB, free: 11.92 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.773e-06/0.3349, allocations: 0 / 0.5683 GB, free: 11.92 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002504/0.3352, allocations: 43.91 kB / 0.5683 GB, free: 11.88 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.039e-06/0.3352, allocations: 3.984 kB / 0.5683 GB, free: 11.88 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.67e-05/0.3352, allocations: 7.938 kB / 0.5683 GB, free: 11.87 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.607e-06/0.3352, allocations: 4 kB / 0.5684 GB, free: 11.86 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.82e-07/0.3352, allocations: 0 / 0.5684 GB, free: 11.86 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000531/0.3357, allocations: 303.3 kB / 0.5686 GB, free: 11.55 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.078e-05/0.3358, allocations: 27.89 kB / 0.5687 GB, free: 11.52 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.772e-05/0.3358, allocations: 0 / 0.5687 GB, free: 11.52 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001994/0.336, allocations: 19.98 kB / 0.5687 GB, free: 11.5 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.734e-05/0.3361, allocations: 23.89 kB / 0.5687 GB, free: 11.48 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.924e-05/0.3361, allocations: 7.984 kB / 0.5687 GB, free: 11.47 MB / 414.1 MB Notification: Performance of sorting global known variables: time 9.288e-05/0.3362, allocations: 120.1 kB / 0.5688 GB, free: 11.36 MB / 414.1 MB Notification: Performance of sort global known variables: time 9e-08/0.3362, allocations: 4 kB / 0.5688 GB, free: 11.35 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002705/0.3365, allocations: 36 kB / 0.5689 GB, free: 11.32 MB / 414.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * 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 (19): * Single equations (assignments): 19 * 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.0008881/0.3374, allocations: 0.8319 MB / 0.5697 GB, free: 10.46 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.000463/0.3378, allocations: 164 kB / 0.5698 GB, free: 10.3 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.605e-06/0.3378, allocations: 0 / 0.5698 GB, free: 10.3 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002239/0.3381, allocations: 90.59 kB / 0.5699 GB, free: 10.21 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003318/0.3384, allocations: 22.02 kB / 0.5699 GB, free: 10.2 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00295/0.3413, allocations: 2.031 MB / 0.5719 GB, free: 8.066 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001093/0.3414, allocations: 104 kB / 0.572 GB, free: 7.941 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0001537/0.3416, allocations: 25.42 kB / 0.5721 GB, free: 7.918 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001177/0.3417, allocations: 47.42 kB / 0.5721 GB, free: 7.871 MB / 414.1 MB Notification: Performance of SimCode: time 3.91e-07/0.3417, allocations: 0 / 0.5721 GB, free: 7.871 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03134/0.3731, allocations: 4.347 MB / 0.5763 GB, free: 3.645 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.63/11, allocations: 4.062 kB / 0.5763 GB, free: 3.641 MB / 414.1 MB " [Timeout remaining time 649] (rm -f ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.EngineGasForce.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.EngineGasForce.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.EngineGasForce.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.EngineGasForce.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.EngineGasForce_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_MultiBody_Forces_EngineGasForce_fmu --startTime=0 --stopTime=1 --stepSize=0.000199601 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_MultiBody_Forces_EngineGasForce.fmu > ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.EngineGasForce.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.EngineGasForce_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/MultiBody/Forces/EngineGasForce/EngineGasForce.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.EngineGasForce.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: 13.89334145700559]