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.001758/0.001758, allocations: 111.1 kB / 20.44 MB, free: 1.176 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.001594/0.001594, allocations: 202.9 kB / 23.73 MB, free: 4.379 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.47/1.47, allocations: 230.6 MB / 257.5 MB, free: 7.801 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.249/0.249, allocations: 46.96 MB / 360.9 MB, free: 4.039 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.002031/0.002031, allocations: 71.89 kB / 0.4961 GB, free: 7.754 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3029/0.3049, allocations: 66.03 MB / 0.5606 GB, free: 4.25 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.TestSpeed): time 0.004121/0.309, allocations: 2.489 MB / 0.563 GB, free: 1.75 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001446/0.3105, allocations: 0.6895 MB / 0.5637 GB, free: 1.055 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001846/0.3106, allocations: 11.88 kB / 0.5637 GB, free: 1.043 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001691/0.3108, allocations: 43.52 kB / 0.5637 GB, free: 1 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001888/0.311, allocations: 91.25 kB / 0.5638 GB, free: 0.9102 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003259/0.3113, allocations: 103.8 kB / 0.5639 GB, free: 0.8086 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004038/0.3117, allocations: 334.5 kB / 0.5642 GB, free: 492 kB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001858/0.3119, allocations: 67.88 kB / 0.5643 GB, free: 416 kB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002474/0.3122, allocations: 139.5 kB / 0.5644 GB, free: 276 kB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000199/0.3124, allocations: 131.4 kB / 0.5646 GB, free: 144 kB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 3.936e-05/0.3124, allocations: 20 kB / 0.5646 GB, free: 124 kB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.325e-05/0.3125, allocations: 28 kB / 0.5646 GB, free: 96 kB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 5.607e-05/0.3125, allocations: 55.77 kB / 0.5646 GB, free: 40 kB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001473/0.3127, allocations: 123.4 kB / 0.5648 GB, free: 15.92 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003869/0.3131, allocations: 322.5 kB / 0.5651 GB, free: 15.6 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.867e-06/0.3131, allocations: 0 / 0.5651 GB, free: 15.6 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.152e-06/0.3131, allocations: 0 / 0.5651 GB, free: 15.6 MB / 414.1 MB Notification: Performance of Transformations before backend: time 1.138e-05/0.3131, allocations: 0 / 0.5651 GB, free: 15.6 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.0009571/0.314, allocations: 0.5129 MB / 0.5656 GB, free: 15.06 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.092e-05/0.3141, allocations: 12.02 kB / 0.5656 GB, free: 15.05 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.484e-05/0.3141, allocations: 62.73 kB / 0.5656 GB, free: 14.98 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002429/0.3144, allocations: 48.73 kB / 0.5657 GB, free: 14.93 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003997/0.3148, allocations: 217.9 kB / 0.5659 GB, free: 14.69 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.306e-05/0.3148, allocations: 20.86 kB / 0.5659 GB, free: 14.67 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.478e-05/0.3149, allocations: 40.31 kB / 0.566 GB, free: 14.63 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005959/0.3155, allocations: 281.2 kB / 0.5662 GB, free: 14.33 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.13e-05/0.3155, allocations: 3.953 kB / 0.5662 GB, free: 14.33 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.64e-05/0.3155, allocations: 15.94 kB / 0.5662 GB, free: 14.31 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.287e-05/0.3155, allocations: 8 kB / 0.5663 GB, free: 14.3 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004229/0.316, allocations: 175.8 kB / 0.5664 GB, free: 14.13 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001842/0.3178, allocations: 1.199 MB / 0.5676 GB, free: 12.84 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004541/0.3182, allocations: 230.4 kB / 0.5678 GB, free: 12.58 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002177/0.3185, allocations: 99.52 kB / 0.5679 GB, free: 12.47 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.849e-05/0.3185, allocations: 4 kB / 0.5679 GB, free: 12.47 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.717e-05/0.3185, allocations: 42.5 kB / 0.568 GB, free: 12.42 MB / 414.1 MB Notification: Performance of pre-optimization done (n=26): time 1.874e-06/0.3185, allocations: 0 / 0.568 GB, free: 12.42 MB / 414.1 MB Notification: Performance of matching and sorting (n=32): time 0.002663/0.3212, allocations: 1.197 MB / 0.5691 GB, free: 11.11 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.301e-05/0.3213, allocations: 132.5 kB / 0.5692 GB, free: 10.95 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002616/0.3215, allocations: 240.9 kB / 0.5695 GB, free: 10.7 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 3.792e-05/0.3216, allocations: 29.7 kB / 0.5695 GB, free: 10.66 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000129/0.3217, allocations: 184.5 kB / 0.5697 GB, free: 10.48 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001106/0.3218, allocations: 122.9 kB / 0.5698 GB, free: 10.36 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001058/0.3219, allocations: 70.09 kB / 0.5699 GB, free: 10.28 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001673/0.3221, allocations: 342.8 kB / 0.5702 GB, free: 9.938 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002475/0.3223, allocations: 98.03 kB / 0.5703 GB, free: 9.844 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003491/0.3227, allocations: 241.5 kB / 0.5705 GB, free: 9.551 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007207/0.3234, allocations: 377 kB / 0.5709 GB, free: 9.121 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.435e-06/0.3234, allocations: 3.938 kB / 0.5709 GB, free: 9.117 MB / 414.1 MB Notification: Performance of matching and sorting (n=48) (initialization): time 0.000816/0.3242, allocations: 397.6 kB / 0.5713 GB, free: 8.723 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.585e-05/0.3243, allocations: 10.66 kB / 0.5713 GB, free: 8.715 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.093e-05/0.3243, allocations: 4 kB / 0.5713 GB, free: 8.711 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.342e-05/0.3243, allocations: 4 kB / 0.5713 GB, free: 8.707 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004179/0.3247, allocations: 103.8 kB / 0.5714 GB, free: 8.605 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.913e-05/0.3247, allocations: 11.98 kB / 0.5714 GB, free: 8.594 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002268/0.3249, allocations: 28.3 kB / 0.5714 GB, free: 8.566 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.924e-05/0.325, allocations: 16 kB / 0.5714 GB, free: 8.551 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.0002106/0.3252, allocations: 161.6 kB / 0.5716 GB, free: 8.383 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001228/0.3253, allocations: 27.81 kB / 0.5716 GB, free: 8.355 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.666e-05/0.3254, allocations: 33.7 kB / 0.5716 GB, free: 8.32 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.037e-06/0.3254, allocations: 4 kB / 0.5716 GB, free: 8.316 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.385e-06/0.3254, allocations: 0 / 0.5716 GB, free: 8.316 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.863e-06/0.3254, allocations: 4.219 kB / 0.5716 GB, free: 8.312 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001552/0.327, allocations: 0.9223 MB / 0.5726 GB, free: 7.332 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.256e-06/0.327, allocations: 4 kB / 0.5726 GB, free: 7.328 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003833/0.3274, allocations: 75.88 kB / 0.5726 GB, free: 7.254 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.894e-06/0.3274, allocations: 7.984 kB / 0.5726 GB, free: 7.246 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.473e-05/0.3274, allocations: 16 kB / 0.5726 GB, free: 7.23 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.438e-06/0.3274, allocations: 4 kB / 0.5727 GB, free: 7.227 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.964e-06/0.3274, allocations: 0 / 0.5727 GB, free: 7.227 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001059/0.3285, allocations: 0.7342 MB / 0.5734 GB, free: 6.469 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.206e-05/0.3285, allocations: 35.62 kB / 0.5734 GB, free: 6.434 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.802e-05/0.3286, allocations: 16.25 kB / 0.5734 GB, free: 6.418 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002998/0.3289, allocations: 27.97 kB / 0.5734 GB, free: 6.391 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.641e-05/0.3289, allocations: 23.95 kB / 0.5735 GB, free: 6.367 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.615e-05/0.329, allocations: 12 kB / 0.5735 GB, free: 6.355 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001736/0.3291, allocations: 160.5 kB / 0.5736 GB, free: 6.195 MB / 414.1 MB Notification: Performance of sort global known variables: time 9e-08/0.3291, allocations: 0 / 0.5736 GB, free: 6.195 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0004906/0.3296, allocations: 68 kB / 0.5737 GB, free: 6.129 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.001348/0.331, allocations: 1.278 MB / 0.5749 GB, free: 4.816 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0006365/0.3316, allocations: 264.1 kB / 0.5752 GB, free: 4.559 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 4.488e-06/0.3316, allocations: 4 kB / 0.5752 GB, free: 4.555 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002808/0.3319, allocations: 119.8 kB / 0.5753 GB, free: 4.438 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006844/0.3326, allocations: 40.86 kB / 0.5754 GB, free: 4.398 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0049/0.3375, allocations: 3.518 MB / 0.5788 GB, free: 0.6562 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001901/0.3377, allocations: 176 kB / 0.579 GB, free: 480 kB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0001581/0.3378, allocations: 34.95 kB / 0.579 GB, free: 444 kB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001568/0.338, allocations: 95.39 kB / 0.5791 GB, free: 348 kB / 414.1 MB Notification: Performance of SimCode: time 6.71e-07/0.338, allocations: 0 / 0.5791 GB, free: 348 kB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03472/0.3727, allocations: 6.108 MB / 0.585 GB, free: 10.38 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.08/11.45, allocations: 10.44 kB / 0.5851 GB, free: 10.38 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.446959775988944]