Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.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.001738/0.001738, allocations: 67.77 kB / 21.24 MB, free: 404 kB / 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.002177/0.002177, allocations: 163.9 kB / 24.49 MB, free: 3.453 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.44/1.44, allocations: 177.2 MB / 204.9 MB, free: 9.035 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2/0.2, allocations: 32.8 MB / 294.1 MB, free: 48 kB / 270.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.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: translateModel(ModelicaTest.MultiBody.Forces.EngineGasForce,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5010,variableFilter="time|gasForce.dens|gasForce.f|gasForce.T|gasForce.V|gasForce.v_rel|gasForce.press",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.EngineGasForce") translateModel(ModelicaTest.MultiBody.Forces.EngineGasForce,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5010,variableFilter="time|gasForce.dens|gasForce.f|gasForce.T|gasForce.V|gasForce.v_rel|gasForce.press",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.EngineGasForce") [Timeout 660] "Notification: ModelicaTest requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002118/0.002118, allocations: 71.91 kB / 440.6 MB, free: 9.453 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3138/0.3159, allocations: 65.45 MB / 0.4941 GB, free: 31.43 MB / 446.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.EngineGasForce): time 0.002657/0.3186, allocations: 2.007 MB / 0.4961 GB, free: 30.07 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008296/0.3194, allocations: 0.5718 MB / 0.4967 GB, free: 29.69 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.238e-05/0.3195, allocations: 3.938 kB / 0.4967 GB, free: 29.69 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001063/0.3196, allocations: 18.23 kB / 0.4967 GB, free: 29.68 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 8.97e-05/0.3197, allocations: 41.27 kB / 0.4967 GB, free: 29.65 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003372/0.32, allocations: 85.16 kB / 0.4968 GB, free: 29.6 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002671/0.3203, allocations: 184 kB / 0.497 GB, free: 29.52 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001288/0.3204, allocations: 34.73 kB / 0.497 GB, free: 29.5 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000156/0.3206, allocations: 83.5 kB / 0.4971 GB, free: 29.46 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001328/0.3207, allocations: 72.02 kB / 0.4972 GB, free: 29.44 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 2.734e-05/0.3207, allocations: 13.03 kB / 0.4972 GB, free: 29.44 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.691e-05/0.3208, allocations: 16.09 kB / 0.4972 GB, free: 29.44 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 3.517e-05/0.3208, allocations: 41.34 kB / 0.4972 GB, free: 29.41 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 6.274e-05/0.3209, allocations: 59.83 kB / 0.4973 GB, free: 29.38 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002111/0.3211, allocations: 195 kB / 0.4975 GB, free: 29.31 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.118e-06/0.3211, allocations: 3.938 kB / 0.4975 GB, free: 29.3 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.663e-06/0.3211, allocations: 3.938 kB / 0.4975 GB, free: 29.3 MB / 446.1 MB Notification: Performance of Transformations before backend: time 5.71e-06/0.3211, allocations: 0 / 0.4975 GB, free: 29.3 MB / 446.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.0006702/0.3218, allocations: 381.1 kB / 0.4978 GB, free: 28.97 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.222e-05/0.3218, allocations: 9.406 kB / 0.4979 GB, free: 28.97 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001428/0.322, allocations: 29.08 kB / 0.4979 GB, free: 28.96 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002152/0.3222, allocations: 160.2 kB / 0.498 GB, free: 28.81 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.219e-05/0.3222, allocations: 10.86 kB / 0.498 GB, free: 28.8 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.21e-05/0.3222, allocations: 14.38 kB / 0.4981 GB, free: 28.8 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003107/0.3225, allocations: 210.3 kB / 0.4983 GB, free: 28.64 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.957e-05/0.3225, allocations: 7.953 kB / 0.4983 GB, free: 28.64 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.932e-05/0.3226, allocations: 3.25 kB / 0.4983 GB, free: 28.64 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.713e-06/0.3226, allocations: 3.344 kB / 0.4983 GB, free: 28.64 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002754/0.3228, allocations: 116 kB / 0.4984 GB, free: 28.6 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006808/0.3235, allocations: 0.5954 MB / 0.499 GB, free: 28.08 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003113/0.3238, allocations: 134.7 kB / 0.4991 GB, free: 28.02 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001335/0.324, allocations: 51.95 kB / 0.4991 GB, free: 27.99 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.534e-05/0.324, allocations: 3 kB / 0.4991 GB, free: 27.99 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.252e-05/0.324, allocations: 49.72 kB / 0.4992 GB, free: 27.94 MB / 446.1 MB Notification: Performance of pre-optimization done (n=13): time 1.222e-06/0.324, allocations: 0 / 0.4992 GB, free: 27.94 MB / 446.1 MB Notification: Performance of matching and sorting (n=19): time 0.001224/0.3252, allocations: 404.2 kB / 0.4996 GB, free: 27.78 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.074e-05/0.3253, allocations: 58.5 kB / 0.4996 GB, free: 27.71 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.989e-05/0.3254, allocations: 148.8 kB / 0.4998 GB, free: 27.6 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 1.657e-05/0.3254, allocations: 29.7 kB / 0.4998 GB, free: 27.57 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.708e-05/0.3254, allocations: 118.1 kB / 0.4999 GB, free: 27.46 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.517e-05/0.3255, allocations: 71.31 kB / 0.5 GB, free: 27.4 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.98e-05/0.3255, allocations: 41.62 kB / 0.5 GB, free: 27.37 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 4.456e-05/0.3256, allocations: 325.4 kB / 0.5003 GB, free: 27.05 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001792/0.3257, allocations: 63.84 kB / 0.5004 GB, free: 27.04 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002011/0.3259, allocations: 101.5 kB / 0.5005 GB, free: 26.98 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003683/0.3263, allocations: 172.6 kB / 0.5007 GB, free: 26.89 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.142e-06/0.3263, allocations: 0 / 0.5007 GB, free: 26.89 MB / 446.1 MB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0004295/0.3267, allocations: 214.4 kB / 0.5009 GB, free: 26.8 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.224e-05/0.3268, allocations: 6.375 kB / 0.5009 GB, free: 26.8 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.021e-06/0.3268, allocations: 3.375 kB / 0.5009 GB, free: 26.8 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.477e-05/0.3268, allocations: 0 / 0.5009 GB, free: 26.8 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002967/0.3271, allocations: 56.94 kB / 0.5009 GB, free: 26.79 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.412e-06/0.3271, allocations: 0 / 0.5009 GB, free: 26.79 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001548/0.3272, allocations: 18.02 kB / 0.5009 GB, free: 26.78 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.668e-05/0.3272, allocations: 17.77 kB / 0.501 GB, free: 26.77 MB / 446.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 7.967e-05/0.3273, allocations: 128.1 kB / 0.5011 GB, free: 26.64 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.132e-05/0.3274, allocations: 17.56 kB / 0.5011 GB, free: 26.64 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.167e-05/0.3274, allocations: 20.16 kB / 0.5011 GB, free: 26.62 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.545e-06/0.3274, allocations: 3.984 kB / 0.5011 GB, free: 26.61 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.689e-06/0.3274, allocations: 0 / 0.5011 GB, free: 26.61 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.24e-06/0.3274, allocations: 10.59 kB / 0.5011 GB, free: 26.61 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007866/0.3282, allocations: 0.5221 MB / 0.5016 GB, free: 26.23 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.185e-06/0.3282, allocations: 3.938 kB / 0.5016 GB, free: 26.23 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002435/0.3285, allocations: 51.47 kB / 0.5017 GB, free: 26.22 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.334e-06/0.3285, allocations: 0 / 0.5017 GB, free: 26.22 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.541e-05/0.3285, allocations: 4 kB / 0.5017 GB, free: 26.22 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.634e-06/0.3285, allocations: 3.062 kB / 0.5017 GB, free: 26.22 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.152e-06/0.3285, allocations: 0 / 0.5017 GB, free: 26.22 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004245/0.3289, allocations: 300.6 kB / 0.502 GB, free: 26.03 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.309e-05/0.329, allocations: 33.28 kB / 0.502 GB, free: 26.01 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.436e-05/0.329, allocations: 3.219 kB / 0.502 GB, free: 26.01 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002016/0.3292, allocations: 13.8 kB / 0.502 GB, free: 26 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.794e-05/0.3293, allocations: 20.77 kB / 0.5021 GB, free: 26 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.555e-05/0.3293, allocations: 3.219 kB / 0.5021 GB, free: 26 MB / 446.1 MB Notification: Performance of sorting global known variables: time 5.253e-05/0.3293, allocations: 115.9 kB / 0.5022 GB, free: 25.91 MB / 446.1 MB Notification: Performance of sort global known variables: time 7e-08/0.3293, allocations: 0 / 0.5022 GB, free: 25.91 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0002693/0.3296, allocations: 43.78 kB / 0.5022 GB, free: 25.9 MB / 446.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 8.436e-05/0.3297, allocations: 99.97 kB / 0.5023 GB, free: 25.81 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0004465/0.3301, allocations: 162.2 kB / 0.5025 GB, free: 25.77 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.084e-06/0.3301, allocations: 0 / 0.5025 GB, free: 25.77 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000193/0.3303, allocations: 85.64 kB / 0.5025 GB, free: 25.74 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003235/0.3306, allocations: 24.66 kB / 0.5026 GB, free: 25.73 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006132/0.3313, allocations: 375 kB / 0.5029 GB, free: 25.5 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.757e-05/0.3313, allocations: 102.6 kB / 0.503 GB, free: 25.42 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.000137/0.3315, allocations: 30.31 kB / 0.5031 GB, free: 25.41 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.316e-05/0.3315, allocations: 21.55 kB / 0.5031 GB, free: 25.4 MB / 446.1 MB Notification: Performance of SimCode: time 3.5e-07/0.3315, allocations: 0 / 0.5031 GB, free: 25.4 MB / 446.1 MB Notification: Performance of Templates: time 0.004507/0.3361, allocations: 1.946 MB / 0.505 GB, free: 25.16 MB / 446.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.EngineGasForce.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.EngineGasForce.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.EngineGasForce.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.EngineGasForce.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.EngineGasForce.sim & ./ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.EngineGasForce -abortSlowSimulation -alarm=480 -s ida -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.EngineGasForce.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.EngineGasForce_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/MultiBody/Forces/EngineGasForce/EngineGasForce.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.EngineGasForce.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "Error: Could not read variable gasForce.dens in file ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.EngineGasForce_res.mat. Warning: Get data of variable gasForce.dens from file ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.EngineGasForce_res.mat failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 4.8987372539704666]