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.001764/0.001764, allocations: 120.4 kB / 20.44 MB, free: 1.461 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.002222/0.002222, allocations: 212.1 kB / 23.74 MB, free: 4.695 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.427/1.427, allocations: 230.5 MB / 257.4 MB, free: 8.172 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.2261/0.2261, allocations: 46.92 MB / 360.8 MB, free: 4.199 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.002591/0.002591, allocations: 79.88 kB / 0.4962 GB, free: 7.746 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3196/0.3222, allocations: 66.08 MB / 0.5607 GB, free: 4.285 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.EngineGasForce): time 0.003943/0.3262, allocations: 2.09 MB / 0.5628 GB, free: 2.188 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001397/0.3276, allocations: 0.6127 MB / 0.5634 GB, free: 1.57 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001705/0.3277, allocations: 4 kB / 0.5634 GB, free: 1.566 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001587/0.3279, allocations: 19.78 kB / 0.5634 GB, free: 1.547 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001691/0.3281, allocations: 35.64 kB / 0.5634 GB, free: 1.512 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005176/0.3286, allocations: 83.83 kB / 0.5635 GB, free: 1.43 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003158/0.3289, allocations: 187.2 kB / 0.5637 GB, free: 1.246 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001538/0.3291, allocations: 39.53 kB / 0.5637 GB, free: 1.203 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002315/0.3293, allocations: 79.78 kB / 0.5638 GB, free: 1.125 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001758/0.3295, allocations: 83.66 kB / 0.5639 GB, free: 1.043 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 3.329e-05/0.3295, allocations: 12 kB / 0.5639 GB, free: 1.031 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.426e-05/0.3296, allocations: 20 kB / 0.5639 GB, free: 1.012 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 3.919e-05/0.3296, allocations: 35.83 kB / 0.564 GB, free: 0.9766 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001095/0.3297, allocations: 79.66 kB / 0.564 GB, free: 0.8984 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003071/0.33, allocations: 187.2 kB / 0.5642 GB, free: 0.7148 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.08e-06/0.33, allocations: 4 kB / 0.5642 GB, free: 0.7109 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.593e-06/0.33, allocations: 0 / 0.5642 GB, free: 0.7109 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.932e-06/0.33, allocations: 0 / 0.5642 GB, free: 0.7109 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.0008086/0.3308, allocations: 377.8 kB / 0.5646 GB, free: 316 kB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.368e-05/0.3309, allocations: 12.03 kB / 0.5646 GB, free: 304 kB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.056e-05/0.3309, allocations: 46.73 kB / 0.5646 GB, free: 248 kB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001546/0.3311, allocations: 28.83 kB / 0.5647 GB, free: 220 kB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002635/0.3314, allocations: 158.8 kB / 0.5648 GB, free: 36 kB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.619e-05/0.3314, allocations: 8.609 kB / 0.5648 GB, free: 28 kB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.189e-05/0.3314, allocations: 15.94 kB / 0.5648 GB, free: 12 kB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003739/0.3318, allocations: 165.7 kB / 0.565 GB, free: 15.84 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.866e-05/0.3318, allocations: 3.953 kB / 0.565 GB, free: 15.83 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.263e-05/0.3318, allocations: 15.94 kB / 0.565 GB, free: 15.82 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.558e-06/0.3318, allocations: 8 kB / 0.565 GB, free: 15.81 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003077/0.3321, allocations: 103.9 kB / 0.5651 GB, free: 15.71 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009658/0.3331, allocations: 0.6521 MB / 0.5658 GB, free: 15 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003411/0.3335, allocations: 130.5 kB / 0.5659 GB, free: 14.86 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001674/0.3336, allocations: 56.78 kB / 0.5659 GB, free: 14.8 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.72e-05/0.3336, allocations: 0 / 0.5659 GB, free: 14.8 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.786e-05/0.3337, allocations: 46.55 kB / 0.566 GB, free: 14.75 MB / 414.1 MB Notification: Performance of pre-optimization done (n=13): time 9.62e-07/0.3337, allocations: 0 / 0.566 GB, free: 14.75 MB / 414.1 MB Notification: Performance of matching and sorting (n=19): time 0.001341/0.335, allocations: 408 kB / 0.5664 GB, free: 14.35 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.331e-05/0.3351, allocations: 55.41 kB / 0.5664 GB, free: 14.28 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000146/0.3352, allocations: 154.2 kB / 0.5666 GB, free: 14.12 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.612e-05/0.3352, allocations: 29.7 kB / 0.5666 GB, free: 14.09 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.89e-05/0.3353, allocations: 120.4 kB / 0.5667 GB, free: 13.96 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.164e-05/0.3354, allocations: 67.42 kB / 0.5668 GB, free: 13.9 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.234e-05/0.3355, allocations: 41.64 kB / 0.5668 GB, free: 13.85 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001402/0.3356, allocations: 326.8 kB / 0.5671 GB, free: 13.52 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001945/0.3358, allocations: 71.95 kB / 0.5672 GB, free: 13.45 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002047/0.336, allocations: 99.33 kB / 0.5673 GB, free: 13.34 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003969/0.3364, allocations: 174.1 kB / 0.5675 GB, free: 13.16 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.086e-06/0.3364, allocations: 4 kB / 0.5675 GB, free: 13.16 MB / 414.1 MB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0004838/0.3369, allocations: 217.4 kB / 0.5677 GB, free: 12.94 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.739e-05/0.3369, allocations: 12.03 kB / 0.5677 GB, free: 12.93 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.2e-06/0.3369, allocations: 0 / 0.5677 GB, free: 12.93 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.529e-05/0.3369, allocations: 0 / 0.5677 GB, free: 12.93 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000307/0.3372, allocations: 51.91 kB / 0.5677 GB, free: 12.88 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.6e-06/0.3372, allocations: 0 / 0.5677 GB, free: 12.88 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001653/0.3374, allocations: 15.98 kB / 0.5677 GB, free: 12.86 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.794e-05/0.3374, allocations: 4 kB / 0.5677 GB, free: 12.86 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.000126/0.3375, allocations: 137.8 kB / 0.5679 GB, free: 12.71 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.516e-05/0.3376, allocations: 15.91 kB / 0.5679 GB, free: 12.7 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.113e-05/0.3376, allocations: 21.12 kB / 0.5679 GB, free: 12.68 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.801e-06/0.3376, allocations: 3.938 kB / 0.5679 GB, free: 12.67 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.749e-06/0.3376, allocations: 0 / 0.5679 GB, free: 12.67 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.707e-06/0.3377, allocations: 0 / 0.5679 GB, free: 12.67 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00101/0.3387, allocations: 0.5903 MB / 0.5685 GB, free: 12.03 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.683e-06/0.3387, allocations: 0 / 0.5685 GB, free: 12.03 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002541/0.3389, allocations: 39.97 kB / 0.5685 GB, free: 11.99 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.675e-06/0.3389, allocations: 4 kB / 0.5685 GB, free: 11.98 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.54e-05/0.3389, allocations: 7.938 kB / 0.5685 GB, free: 11.98 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.194e-06/0.3389, allocations: 0 / 0.5685 GB, free: 11.98 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.72e-07/0.3389, allocations: 0 / 0.5685 GB, free: 11.98 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005103/0.3394, allocations: 307.2 kB / 0.5688 GB, free: 11.66 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.002e-05/0.3395, allocations: 31.88 kB / 0.5689 GB, free: 11.63 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.738e-05/0.3396, allocations: 0 / 0.5689 GB, free: 11.63 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002075/0.3398, allocations: 15.98 kB / 0.5689 GB, free: 11.61 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.5e-05/0.3398, allocations: 23.97 kB / 0.5689 GB, free: 11.59 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.526e-05/0.3398, allocations: 4 kB / 0.5689 GB, free: 11.59 MB / 414.1 MB Notification: Performance of sorting global known variables: time 8.913e-05/0.3399, allocations: 123.2 kB / 0.569 GB, free: 11.46 MB / 414.1 MB Notification: Performance of sort global known variables: time 6e-08/0.3399, allocations: 0 / 0.569 GB, free: 11.46 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002719/0.3402, allocations: 36 kB / 0.5691 GB, free: 11.43 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.0008172/0.341, allocations: 0.8397 MB / 0.5699 GB, free: 10.57 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0004631/0.3415, allocations: 155.8 kB / 0.57 GB, free: 10.41 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.094e-06/0.3415, allocations: 0 / 0.57 GB, free: 10.41 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002115/0.3417, allocations: 91 kB / 0.5701 GB, free: 10.33 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003334/0.342, allocations: 22.33 kB / 0.5701 GB, free: 10.31 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002902/0.3449, allocations: 2.043 MB / 0.5721 GB, free: 8.168 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003618/0.3453, allocations: 0.7131 MB / 0.5728 GB, free: 7.426 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0001575/0.3455, allocations: 29.42 kB / 0.5729 GB, free: 7.398 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001223/0.3456, allocations: 43.42 kB / 0.5729 GB, free: 7.355 MB / 414.1 MB Notification: Performance of SimCode: time 4.01e-07/0.3456, allocations: 0 / 0.5729 GB, free: 7.355 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0327/0.3783, allocations: 3.916 MB / 0.5767 GB, free: 3.547 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.38/12.76, allocations: 10.03 kB / 0.5767 GB, free: 3.543 MB / 414.1 MB " [Timeout remaining time 647] (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: 15.6930116340518]