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.001361/0.001361, allocations: 107.1 kB / 20.44 MB, free: 1.344 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.002243/0.002243, allocations: 211.1 kB / 23.73 MB, free: 4.523 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.469/1.469, allocations: 230.6 MB / 257.5 MB, free: 7.773 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.2183/0.2183, allocations: 46.96 MB / 360.9 MB, free: 4.094 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.002213/0.002213, allocations: 59.91 kB / 0.4961 GB, free: 7.695 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2926/0.2948, allocations: 66.04 MB / 0.5606 GB, free: 4.195 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.EngineGasForce): time 0.003208/0.298, allocations: 1.994 MB / 0.5625 GB, free: 2.188 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001005/0.299, allocations: 0.5777 MB / 0.5631 GB, free: 1.605 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.293e-05/0.2991, allocations: 4 kB / 0.5631 GB, free: 1.602 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 9.867e-05/0.2992, allocations: 15.8 kB / 0.5631 GB, free: 1.586 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001043/0.2993, allocations: 51.56 kB / 0.5632 GB, free: 1.535 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003746/0.2996, allocations: 75.88 kB / 0.5632 GB, free: 1.461 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002375/0.2999, allocations: 191.2 kB / 0.5634 GB, free: 1.273 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001307/0.3, allocations: 39.53 kB / 0.5635 GB, free: 1.23 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001717/0.3002, allocations: 83.77 kB / 0.5635 GB, free: 1.148 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000154/0.3003, allocations: 79.67 kB / 0.5636 GB, free: 1.07 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 3.006e-05/0.3004, allocations: 16 kB / 0.5636 GB, free: 1.055 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.47e-05/0.3004, allocations: 16 kB / 0.5636 GB, free: 1.039 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 5.14e-05/0.3005, allocations: 39.83 kB / 0.5637 GB, free: 1 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 8.068e-05/0.3006, allocations: 67.72 kB / 0.5638 GB, free: 0.9336 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002619/0.3008, allocations: 179.3 kB / 0.5639 GB, free: 0.7578 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.46e-06/0.3008, allocations: 3.984 kB / 0.5639 GB, free: 0.7539 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.152e-06/0.3008, allocations: 0 / 0.5639 GB, free: 0.7539 MB / 398.1 MB Notification: Performance of Transformations before backend: time 4.598e-06/0.3008, allocations: 4 kB / 0.5639 GB, free: 0.75 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.0007486/0.3016, allocations: 381.8 kB / 0.5643 GB, free: 352 kB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.85e-05/0.3016, allocations: 12.03 kB / 0.5643 GB, free: 340 kB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.631e-05/0.3017, allocations: 46.73 kB / 0.5644 GB, free: 284 kB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001452/0.3018, allocations: 20.84 kB / 0.5644 GB, free: 264 kB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002428/0.3021, allocations: 166 kB / 0.5645 GB, free: 76 kB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.156e-05/0.3021, allocations: 8.609 kB / 0.5645 GB, free: 68 kB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.01e-05/0.3021, allocations: 19.88 kB / 0.5646 GB, free: 48 kB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003907/0.3025, allocations: 213.2 kB / 0.5648 GB, free: 15.81 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.447e-05/0.3025, allocations: 7.953 kB / 0.5648 GB, free: 15.8 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.081e-05/0.3025, allocations: 4 kB / 0.5648 GB, free: 15.8 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.162e-06/0.3025, allocations: 4 kB / 0.5648 GB, free: 15.8 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003057/0.3028, allocations: 107.9 kB / 0.5649 GB, free: 15.69 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008793/0.3037, allocations: 0.6287 MB / 0.5655 GB, free: 15.01 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003318/0.3041, allocations: 126.6 kB / 0.5656 GB, free: 14.88 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001473/0.3042, allocations: 60.77 kB / 0.5657 GB, free: 14.81 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.103e-05/0.3042, allocations: 4 kB / 0.5657 GB, free: 14.81 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.738e-05/0.3043, allocations: 38.5 kB / 0.5657 GB, free: 14.76 MB / 414.1 MB Notification: Performance of pre-optimization done (n=13): time 1.242e-06/0.3043, allocations: 3.938 kB / 0.5657 GB, free: 14.76 MB / 414.1 MB Notification: Performance of matching and sorting (n=19): time 0.001343/0.3056, allocations: 408.9 kB / 0.5661 GB, free: 14.36 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.928e-05/0.3056, allocations: 55.39 kB / 0.5662 GB, free: 14.29 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001497/0.3058, allocations: 158.2 kB / 0.5663 GB, free: 14.12 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.964e-05/0.3058, allocations: 33.7 kB / 0.5663 GB, free: 14.09 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.956e-05/0.3059, allocations: 112.4 kB / 0.5664 GB, free: 13.97 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.522e-05/0.306, allocations: 63.44 kB / 0.5665 GB, free: 13.91 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.945e-05/0.306, allocations: 45.66 kB / 0.5666 GB, free: 13.86 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001384/0.3062, allocations: 322.8 kB / 0.5669 GB, free: 13.54 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001948/0.3064, allocations: 67.95 kB / 0.5669 GB, free: 13.47 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002097/0.3066, allocations: 103.3 kB / 0.567 GB, free: 13.36 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003981/0.307, allocations: 169.6 kB / 0.5672 GB, free: 13.18 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.995e-06/0.307, allocations: 4 kB / 0.5672 GB, free: 13.18 MB / 414.1 MB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0004913/0.3075, allocations: 219.2 kB / 0.5674 GB, free: 12.96 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.62e-05/0.3075, allocations: 8 kB / 0.5674 GB, free: 12.95 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.302e-06/0.3075, allocations: 3.984 kB / 0.5674 GB, free: 12.95 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.145e-05/0.3075, allocations: 0 / 0.5674 GB, free: 12.95 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003149/0.3078, allocations: 51.91 kB / 0.5675 GB, free: 12.89 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.43e-06/0.3078, allocations: 3.938 kB / 0.5675 GB, free: 12.89 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001674/0.308, allocations: 15.98 kB / 0.5675 GB, free: 12.88 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.709e-05/0.308, allocations: 7.938 kB / 0.5675 GB, free: 12.87 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.0001212/0.3081, allocations: 133.9 kB / 0.5676 GB, free: 12.73 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.785e-05/0.3082, allocations: 15.91 kB / 0.5676 GB, free: 12.71 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.104e-05/0.3082, allocations: 25.11 kB / 0.5677 GB, free: 12.68 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.037e-06/0.3082, allocations: 3.938 kB / 0.5677 GB, free: 12.68 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.019e-06/0.3082, allocations: 4 kB / 0.5677 GB, free: 12.68 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.474e-06/0.3082, allocations: 0 / 0.5677 GB, free: 12.68 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001027/0.3093, allocations: 0.5567 MB / 0.5682 GB, free: 12.06 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.483e-06/0.3093, allocations: 0 / 0.5682 GB, free: 12.06 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002693/0.3095, allocations: 43.97 kB / 0.5682 GB, free: 12.02 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.931e-06/0.3095, allocations: 4 kB / 0.5682 GB, free: 12.02 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.721e-05/0.3096, allocations: 3.984 kB / 0.5683 GB, free: 12.01 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.493e-06/0.3096, allocations: 0 / 0.5683 GB, free: 12.01 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.72e-07/0.3096, allocations: 0 / 0.5683 GB, free: 12.01 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005216/0.3101, allocations: 314 kB / 0.5686 GB, free: 11.69 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.615e-05/0.3102, allocations: 27.88 kB / 0.5686 GB, free: 11.66 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.236e-05/0.3102, allocations: 8 kB / 0.5686 GB, free: 11.66 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002204/0.3104, allocations: 7.984 kB / 0.5686 GB, free: 11.65 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.795e-05/0.3105, allocations: 19.97 kB / 0.5686 GB, free: 11.63 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.735e-05/0.3105, allocations: 4 kB / 0.5686 GB, free: 11.62 MB / 414.1 MB Notification: Performance of sorting global known variables: time 8.829e-05/0.3106, allocations: 120.1 kB / 0.5687 GB, free: 11.51 MB / 414.1 MB Notification: Performance of sort global known variables: time 7e-08/0.3106, allocations: 0 / 0.5687 GB, free: 11.51 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002772/0.3109, allocations: 39.94 kB / 0.5688 GB, free: 11.47 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.0008257/0.3117, allocations: 0.8411 MB / 0.5696 GB, free: 10.6 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0004646/0.3122, allocations: 156.7 kB / 0.5697 GB, free: 10.45 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.053e-06/0.3122, allocations: 0 / 0.5697 GB, free: 10.45 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002306/0.3124, allocations: 92.03 kB / 0.5698 GB, free: 10.36 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003442/0.3127, allocations: 16 kB / 0.5698 GB, free: 10.34 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002933/0.3157, allocations: 2.039 MB / 0.5718 GB, free: 8.211 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001145/0.3158, allocations: 104 kB / 0.5719 GB, free: 8.086 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0001605/0.3159, allocations: 29.41 kB / 0.572 GB, free: 8.059 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001183/0.3161, allocations: 43.42 kB / 0.572 GB, free: 8.016 MB / 414.1 MB Notification: Performance of SimCode: time 1.292e-06/0.3161, allocations: 0 / 0.572 GB, free: 8.016 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0299/0.346, allocations: 4.435 MB / 0.5763 GB, free: 3.73 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.45/10.79, allocations: 7.875 kB / 0.5763 GB, free: 3.723 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: 13.650738828990143]