Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Rotational.TestSpeed.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.001489/0.001489, 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.001809/0.001809, allocations: 210.9 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.49/1.49, allocations: 230.6 MB / 257.5 MB, free: 7.781 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.2316/0.2316, allocations: 46.95 MB / 360.9 MB, free: 4.129 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.Rotational.TestSpeed,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Rotational_TestSpeed",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Rotational.TestSpeed,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Rotational_TestSpeed",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002094/0.002094, allocations: 71.89 kB / 0.4961 GB, free: 7.746 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.313/0.3151, allocations: 66.03 MB / 0.5606 GB, free: 4.246 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.TestSpeed): time 0.004279/0.3194, allocations: 2.481 MB / 0.563 GB, free: 1.754 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001667/0.3211, allocations: 0.6973 MB / 0.5637 GB, free: 1.051 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001555/0.3212, allocations: 7.938 kB / 0.5637 GB, free: 1.043 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001742/0.3214, allocations: 39.53 kB / 0.5637 GB, free: 1.004 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000189/0.3216, allocations: 87.2 kB / 0.5638 GB, free: 0.918 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003209/0.3219, allocations: 107.8 kB / 0.5639 GB, free: 0.8125 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003942/0.3223, allocations: 338.5 kB / 0.5642 GB, free: 492 kB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001666/0.3225, allocations: 59.89 kB / 0.5643 GB, free: 424 kB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002579/0.3227, allocations: 139.5 kB / 0.5644 GB, free: 284 kB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001724/0.3229, allocations: 119.4 kB / 0.5645 GB, free: 164 kB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 4.853e-05/0.3229, allocations: 20 kB / 0.5646 GB, free: 144 kB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.852e-05/0.323, allocations: 28 kB / 0.5646 GB, free: 116 kB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 5.202e-05/0.3231, allocations: 51.78 kB / 0.5646 GB, free: 64 kB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001591/0.3232, allocations: 131.4 kB / 0.5648 GB, free: 15.93 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003997/0.3236, allocations: 314.5 kB / 0.5651 GB, free: 15.62 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.957e-06/0.3236, allocations: 0 / 0.5651 GB, free: 15.62 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.503e-06/0.3236, allocations: 0 / 0.5651 GB, free: 15.62 MB / 414.1 MB Notification: Performance of Transformations before backend: time 7.263e-06/0.3236, allocations: 0 / 0.5651 GB, free: 15.62 MB / 414.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 60 * Number of variables: 60 Notification: Performance of Generate backend data structure: time 0.0009462/0.3246, allocations: 0.5245 MB / 0.5656 GB, free: 15.07 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.077e-05/0.3246, allocations: 8.031 kB / 0.5656 GB, free: 15.06 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.436e-05/0.3247, allocations: 62.73 kB / 0.5656 GB, free: 14.99 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002414/0.3249, allocations: 52.72 kB / 0.5657 GB, free: 14.94 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004664/0.3254, allocations: 217.9 kB / 0.5659 GB, free: 14.7 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.989e-05/0.3254, allocations: 16.88 kB / 0.5659 GB, free: 14.69 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.365e-05/0.3255, allocations: 32.33 kB / 0.5659 GB, free: 14.66 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005196/0.326, allocations: 281.3 kB / 0.5662 GB, free: 14.36 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.352e-05/0.326, allocations: 7.891 kB / 0.5662 GB, free: 14.35 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.768e-05/0.3261, allocations: 15.98 kB / 0.5662 GB, free: 14.33 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.928e-06/0.3261, allocations: 4 kB / 0.5662 GB, free: 14.33 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000445/0.3265, allocations: 183.7 kB / 0.5664 GB, free: 14.15 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001837/0.3284, allocations: 1.199 MB / 0.5676 GB, free: 12.86 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004612/0.3288, allocations: 230.3 kB / 0.5678 GB, free: 12.6 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002202/0.329, allocations: 91.39 kB / 0.5679 GB, free: 12.5 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.621e-05/0.3291, allocations: 4 kB / 0.5679 GB, free: 12.49 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.114e-05/0.3291, allocations: 50.67 kB / 0.5679 GB, free: 12.43 MB / 414.1 MB Notification: Performance of pre-optimization done (n=26): time 1.893e-06/0.3291, allocations: 0 / 0.5679 GB, free: 12.43 MB / 414.1 MB Notification: Performance of matching and sorting (n=32): time 0.002596/0.3317, allocations: 1.198 MB / 0.5691 GB, free: 11.12 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.655e-05/0.3318, allocations: 132.5 kB / 0.5692 GB, free: 10.96 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002631/0.3321, allocations: 229 kB / 0.5695 GB, free: 10.72 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 3.239e-05/0.3321, allocations: 37.7 kB / 0.5695 GB, free: 10.68 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001454/0.3323, allocations: 180.5 kB / 0.5697 GB, free: 10.5 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001088/0.3324, allocations: 126.9 kB / 0.5698 GB, free: 10.38 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001173/0.3325, allocations: 74.08 kB / 0.5699 GB, free: 10.3 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001809/0.3327, allocations: 338.8 kB / 0.5702 GB, free: 9.957 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002693/0.3329, allocations: 96.81 kB / 0.5703 GB, free: 9.863 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003806/0.3333, allocations: 241.4 kB / 0.5705 GB, free: 9.57 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006767/0.334, allocations: 377.6 kB / 0.5709 GB, free: 9.141 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.479e-06/0.334, allocations: 4 kB / 0.5709 GB, free: 9.137 MB / 414.1 MB Notification: Performance of matching and sorting (n=48) (initialization): time 0.0007981/0.3348, allocations: 392.9 kB / 0.5712 GB, free: 8.746 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.667e-05/0.3348, allocations: 4 kB / 0.5712 GB, free: 8.742 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.099e-05/0.3348, allocations: 12 kB / 0.5713 GB, free: 8.73 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.169e-05/0.3349, allocations: 4 kB / 0.5713 GB, free: 8.727 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003833/0.3352, allocations: 99.88 kB / 0.5714 GB, free: 8.629 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.782e-05/0.3353, allocations: 15.92 kB / 0.5714 GB, free: 8.613 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002075/0.3355, allocations: 20.3 kB / 0.5714 GB, free: 8.594 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.128e-05/0.3355, allocations: 24 kB / 0.5714 GB, free: 8.57 MB / 414.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 20 * 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 (48): * Single equations (assignments): 48 * 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.0001664/0.3357, allocations: 153.6 kB / 0.5716 GB, free: 8.41 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001033/0.3358, allocations: 31.81 kB / 0.5716 GB, free: 8.379 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.669e-05/0.3358, allocations: 33.98 kB / 0.5716 GB, free: 8.344 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.31e-06/0.3358, allocations: 8 kB / 0.5716 GB, free: 8.336 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.982e-06/0.3358, allocations: 0 / 0.5716 GB, free: 8.336 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.122e-06/0.3359, allocations: 7.922 kB / 0.5716 GB, free: 8.328 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001606/0.3375, allocations: 0.9146 MB / 0.5725 GB, free: 7.355 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.35e-06/0.3375, allocations: 4 kB / 0.5725 GB, free: 7.352 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003624/0.3378, allocations: 75.88 kB / 0.5726 GB, free: 7.277 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.593e-06/0.3378, allocations: 4 kB / 0.5726 GB, free: 7.273 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.812e-05/0.3379, allocations: 11.94 kB / 0.5726 GB, free: 7.262 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.528e-06/0.3379, allocations: 8.062 kB / 0.5726 GB, free: 7.254 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.597e-06/0.3379, allocations: 3.938 kB / 0.5726 GB, free: 7.25 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001069/0.3389, allocations: 0.7378 MB / 0.5734 GB, free: 6.488 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.906e-05/0.339, allocations: 27.98 kB / 0.5734 GB, free: 6.461 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.501e-05/0.339, allocations: 19.98 kB / 0.5734 GB, free: 6.441 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003013/0.3393, allocations: 23.92 kB / 0.5734 GB, free: 6.418 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.677e-05/0.3394, allocations: 31.88 kB / 0.5735 GB, free: 6.387 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.106e-05/0.3394, allocations: 12.25 kB / 0.5735 GB, free: 6.375 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001515/0.3396, allocations: 156.5 kB / 0.5736 GB, free: 6.219 MB / 414.1 MB Notification: Performance of sort global known variables: time 7e-08/0.3396, allocations: 0 / 0.5736 GB, free: 6.219 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.000503/0.3401, allocations: 72 kB / 0.5737 GB, free: 6.148 MB / 414.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 6 (speed4.s,speed3.s,speed3.v,speed1.phi,speed1.w,speed2.phi) * 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 (32): * Single equations (assignments): 32 * 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.001363/0.3415, allocations: 1.278 MB / 0.5749 GB, free: 4.836 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0006459/0.3421, allocations: 264.4 kB / 0.5752 GB, free: 4.578 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.274e-06/0.3421, allocations: 0 / 0.5752 GB, free: 4.578 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002907/0.3424, allocations: 127.8 kB / 0.5753 GB, free: 4.453 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006497/0.343, allocations: 40.47 kB / 0.5753 GB, free: 4.414 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004774/0.3478, allocations: 3.506 MB / 0.5788 GB, free: 0.6875 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001863/0.348, allocations: 164 kB / 0.5789 GB, free: 0.5117 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.000144/0.3481, allocations: 42.94 kB / 0.579 GB, free: 480 kB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001574/0.3483, allocations: 91.41 kB / 0.5791 GB, free: 388 kB / 414.1 MB Notification: Performance of SimCode: time 6.22e-07/0.3483, allocations: 0 / 0.5791 GB, free: 388 kB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03425/0.3825, allocations: 6.012 MB / 0.5849 GB, free: 10.52 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.53/11.91, allocations: 14.3 kB / 0.5849 GB, free: 10.51 MB / 430.1 MB " [Timeout remaining time 648] (rm -f ModelicaTest_4.1.0_ModelicaTest.Rotational.TestSpeed.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Rotational.TestSpeed.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Rotational.TestSpeed.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Rotational.TestSpeed.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0_ModelicaTest.Rotational.TestSpeed_res.mat --tempDir=temp_ModelicaTest_4_1_0_ModelicaTest_Rotational_TestSpeed_fmu --startTime=0 --stopTime=1.1 --stepSize=0.000219824 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0_ModelicaTest_Rotational_TestSpeed.fmu > ModelicaTest_4.1.0_ModelicaTest.Rotational.TestSpeed.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Rotational.TestSpeed_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Rotational/TestSpeed/TestSpeed.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Rotational.TestSpeed.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.95003005489707]