Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.MultiBody.Forces.EngineGasForce.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001338/0.001338, allocations: 111.1 kB / 20.44 MB, free: 1.184 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001545/0.001545, allocations: 212 kB / 23.73 MB, free: 4.387 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.423/1.423, allocations: 230.6 MB / 257.5 MB, free: 7.789 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.2203/0.2203, allocations: 46.96 MB / 360.9 MB, free: 4.008 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.Forces.EngineGasForce,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_MultiBody_Forces_EngineGasForce",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Forces.EngineGasForce,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_MultiBody_Forces_EngineGasForce",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002244/0.002244, allocations: 63.91 kB / 0.4961 GB, free: 7.68 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3187/0.321, allocations: 66.03 MB / 0.5606 GB, free: 4.363 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.EngineGasForce): time 0.003467/0.3244, allocations: 1.998 MB / 0.5625 GB, free: 2.352 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001145/0.3256, allocations: 0.5699 MB / 0.5631 GB, free: 1.777 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.488e-05/0.3257, allocations: 3.938 kB / 0.5631 GB, free: 1.773 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001155/0.3258, allocations: 19.8 kB / 0.5631 GB, free: 1.754 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001124/0.3259, allocations: 43.62 kB / 0.5632 GB, free: 1.711 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004287/0.3263, allocations: 87.81 kB / 0.5633 GB, free: 1.625 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.000267/0.3266, allocations: 179.3 kB / 0.5634 GB, free: 1.449 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001477/0.3268, allocations: 35.83 kB / 0.5635 GB, free: 1.41 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001884/0.3269, allocations: 83.75 kB / 0.5635 GB, free: 1.328 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001582/0.3271, allocations: 75.67 kB / 0.5636 GB, free: 1.254 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 3.406e-05/0.3271, allocations: 12 kB / 0.5636 GB, free: 1.242 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.412e-05/0.3272, allocations: 20 kB / 0.5636 GB, free: 1.223 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 4.256e-05/0.3272, allocations: 39.78 kB / 0.5637 GB, free: 1.184 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 8.132e-05/0.3273, allocations: 71.7 kB / 0.5637 GB, free: 1.113 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000309/0.3276, allocations: 179.3 kB / 0.5639 GB, free: 0.9375 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.983e-06/0.3276, allocations: 4 kB / 0.5639 GB, free: 0.9336 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.633e-06/0.3276, allocations: 0 / 0.5639 GB, free: 0.9336 MB / 398.1 MB Notification: Performance of Transformations before backend: time 6.252e-06/0.3276, allocations: 0 / 0.5639 GB, free: 0.9336 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.0007737/0.3284, allocations: 385.8 kB / 0.5643 GB, free: 0.5234 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.744e-05/0.3285, allocations: 8.031 kB / 0.5643 GB, free: 0.5156 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.306e-05/0.3285, allocations: 46.73 kB / 0.5643 GB, free: 472 kB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001494/0.3287, allocations: 24.83 kB / 0.5644 GB, free: 448 kB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002449/0.3289, allocations: 161.6 kB / 0.5645 GB, free: 264 kB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.424e-05/0.3289, allocations: 8.609 kB / 0.5645 GB, free: 256 kB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.556e-05/0.329, allocations: 15.94 kB / 0.5645 GB, free: 240 kB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003727/0.3293, allocations: 213.2 kB / 0.5647 GB, free: 0 / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.542e-05/0.3293, allocations: 11.94 kB / 0.5648 GB, free: 15.98 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.903e-05/0.3294, allocations: 4 kB / 0.5648 GB, free: 15.98 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.599e-06/0.3294, allocations: 4 kB / 0.5648 GB, free: 15.98 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002958/0.3297, allocations: 107.9 kB / 0.5649 GB, free: 15.87 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009266/0.3306, allocations: 0.6248 MB / 0.5655 GB, free: 15.19 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003577/0.3309, allocations: 134.5 kB / 0.5656 GB, free: 15.05 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001542/0.3311, allocations: 56.77 kB / 0.5657 GB, free: 14.99 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.951e-05/0.3311, allocations: 11.94 kB / 0.5657 GB, free: 14.98 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.125e-05/0.3312, allocations: 30.56 kB / 0.5657 GB, free: 14.95 MB / 414.1 MB Notification: Performance of pre-optimization done (n=13): time 1.202e-06/0.3312, allocations: 0 / 0.5657 GB, free: 14.95 MB / 414.1 MB Notification: Performance of matching and sorting (n=19): time 0.00136/0.3325, allocations: 420.9 kB / 0.5661 GB, free: 14.53 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.008e-05/0.3326, allocations: 55.41 kB / 0.5662 GB, free: 14.46 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001515/0.3327, allocations: 154.2 kB / 0.5663 GB, free: 14.3 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 3.032e-05/0.3327, allocations: 29.7 kB / 0.5663 GB, free: 14.27 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.116e-05/0.3328, allocations: 116.4 kB / 0.5664 GB, free: 14.15 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.461e-05/0.3329, allocations: 63.44 kB / 0.5665 GB, free: 14.09 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.177e-05/0.333, allocations: 41.66 kB / 0.5665 GB, free: 14.04 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001395/0.3331, allocations: 326.8 kB / 0.5669 GB, free: 13.71 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001958/0.3333, allocations: 71.95 kB / 0.5669 GB, free: 13.64 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002126/0.3335, allocations: 95.38 kB / 0.567 GB, free: 13.54 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000404/0.3339, allocations: 177.5 kB / 0.5672 GB, free: 13.36 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.122e-06/0.3339, allocations: 0 / 0.5672 GB, free: 13.36 MB / 414.1 MB Notification: Performance of matching and sorting (n=22) (initialization): time 0.000491/0.3344, allocations: 219.3 kB / 0.5674 GB, free: 13.14 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.639e-05/0.3344, allocations: 4 kB / 0.5674 GB, free: 13.13 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.779e-06/0.3344, allocations: 0 / 0.5674 GB, free: 13.13 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.748e-05/0.3345, allocations: 4 kB / 0.5674 GB, free: 13.13 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003067/0.3348, allocations: 59.94 kB / 0.5675 GB, free: 13.07 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.332e-06/0.3348, allocations: 0 / 0.5675 GB, free: 13.07 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001551/0.3349, allocations: 15.98 kB / 0.5675 GB, free: 13.05 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.677e-05/0.3349, allocations: 4 kB / 0.5675 GB, free: 13.05 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.0001184/0.3351, allocations: 129.8 kB / 0.5676 GB, free: 12.91 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.12e-05/0.3351, allocations: 19.89 kB / 0.5676 GB, free: 12.89 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.945e-05/0.3352, allocations: 21.12 kB / 0.5676 GB, free: 12.87 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.532e-06/0.3352, allocations: 7.938 kB / 0.5676 GB, free: 12.86 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.569e-06/0.3352, allocations: 4 kB / 0.5676 GB, free: 12.86 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.666e-06/0.3352, allocations: 0 / 0.5676 GB, free: 12.86 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001014/0.3362, allocations: 0.5566 MB / 0.5682 GB, free: 12.25 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.024e-06/0.3362, allocations: 0 / 0.5682 GB, free: 12.25 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002551/0.3364, allocations: 47.91 kB / 0.5682 GB, free: 12.2 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.785e-06/0.3364, allocations: 3.938 kB / 0.5682 GB, free: 12.2 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.892e-05/0.3365, allocations: 7.984 kB / 0.5682 GB, free: 12.19 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.924e-06/0.3365, allocations: 0 / 0.5682 GB, free: 12.19 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.052e-06/0.3365, allocations: 4 kB / 0.5683 GB, free: 12.18 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005347/0.337, allocations: 302 kB / 0.5685 GB, free: 11.88 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.032e-05/0.3371, allocations: 27.89 kB / 0.5686 GB, free: 11.85 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.198e-05/0.3371, allocations: 7.938 kB / 0.5686 GB, free: 11.84 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000197/0.3373, allocations: 15.98 kB / 0.5686 GB, free: 11.82 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.475e-05/0.3374, allocations: 15.97 kB / 0.5686 GB, free: 11.81 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.799e-05/0.3374, allocations: 7.984 kB / 0.5686 GB, free: 11.8 MB / 414.1 MB Notification: Performance of sorting global known variables: time 9.587e-05/0.3375, allocations: 120.1 kB / 0.5687 GB, free: 11.68 MB / 414.1 MB Notification: Performance of sort global known variables: time 7.1e-08/0.3375, allocations: 0 / 0.5687 GB, free: 11.68 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002715/0.3378, allocations: 36 kB / 0.5688 GB, free: 11.65 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.0008874/0.3387, allocations: 0.8333 MB / 0.5696 GB, free: 10.79 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0004737/0.3391, allocations: 164.7 kB / 0.5697 GB, free: 10.63 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.314e-06/0.3391, allocations: 0 / 0.5697 GB, free: 10.63 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002345/0.3394, allocations: 87.84 kB / 0.5698 GB, free: 10.54 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003432/0.3397, allocations: 26.47 kB / 0.5698 GB, free: 10.52 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002944/0.3427, allocations: 2.033 MB / 0.5718 GB, free: 8.395 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001128/0.3428, allocations: 108 kB / 0.5719 GB, free: 8.266 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0001629/0.3429, allocations: 29.41 kB / 0.572 GB, free: 8.238 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001231/0.3431, allocations: 47.42 kB / 0.572 GB, free: 8.191 MB / 414.1 MB Notification: Performance of SimCode: time 4.81e-07/0.3431, allocations: 0 / 0.572 GB, free: 8.191 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0314/0.3745, allocations: 4.35 MB / 0.5763 GB, free: 3.984 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.92/11.3, allocations: 7.25 kB / 0.5763 GB, free: 3.98 MB / 414.1 MB " [Timeout remaining time 649] (rm -f ModelicaTest_4.1.0_ModelicaTest.MultiBody.Forces.EngineGasForce.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.MultiBody.Forces.EngineGasForce.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.MultiBody.Forces.EngineGasForce.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.MultiBody.Forces.EngineGasForce.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0_ModelicaTest.MultiBody.Forces.EngineGasForce_res.mat --tempDir=temp_ModelicaTest_4_1_0_ModelicaTest_MultiBody_Forces_EngineGasForce_fmu --startTime=0 --stopTime=1 --stepSize=0.000199601 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0_ModelicaTest_MultiBody_Forces_EngineGasForce.fmu > ModelicaTest_4.1.0_ModelicaTest.MultiBody.Forces.EngineGasForce.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.1.0_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_4.1.0_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: 14.23984382301569]