Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Rotational.TestSpeed.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Rotational.TestSpeed,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Rotational_TestSpeed",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Rotational.TestSpeed,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Rotational_TestSpeed",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001133/0.001133, allocations: 99.44 kB / 15.98 MB, free: 6.352 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001082/0.001082, allocations: 195.9 kB / 16.91 MB, free: 6.195 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.348/1.348, allocations: 205.1 MB / 222.8 MB, free: 4.715 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.3293/0.3293, allocations: 43.5 MB / 313.6 MB, free: 8.461 MB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001344/0.001344, allocations: 63.91 kB / 382.3 MB, free: 8.539 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1215/0.1229, allocations: 57.78 MB / 440.1 MB, free: 14.66 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.TestSpeed): time 0.003748/0.1267, allocations: 2.653 MB / 442.8 MB, free: 11.99 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001091/0.1278, allocations: 0.6826 MB / 443.4 MB, free: 11.3 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001273/0.1279, allocations: 7.938 kB / 443.4 MB, free: 11.29 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001487/0.1281, allocations: 27.72 kB / 443.5 MB, free: 11.26 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000186/0.1283, allocations: 79.39 kB / 443.5 MB, free: 11.18 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002338/0.1285, allocations: 79.92 kB / 443.6 MB, free: 11.11 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003408/0.1289, allocations: 338.4 kB / 444 MB, free: 10.77 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000187/0.1291, allocations: 86.14 kB / 444 MB, free: 10.69 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001603/0.1293, allocations: 123.5 kB / 444.2 MB, free: 10.57 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001659/0.1294, allocations: 135.4 kB / 444.3 MB, free: 10.43 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 3.749e-05/0.1295, allocations: 24 kB / 444.3 MB, free: 10.41 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.945e-05/0.1295, allocations: 24 kB / 444.3 MB, free: 10.39 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 5.001e-05/0.1296, allocations: 51.78 kB / 444.4 MB, free: 10.34 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001438/0.1297, allocations: 147.2 kB / 444.5 MB, free: 10.19 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002795/0.13, allocations: 286.9 kB / 444.8 MB, free: 9.91 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.268e-06/0.13, allocations: 0 / 444.8 MB, free: 9.91 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.122e-06/0.13, allocations: 0 / 444.8 MB, free: 9.91 MB / 382.1 MB Notification: Performance of Transformations before backend: time 6.251e-06/0.13, allocations: 0 / 444.8 MB, free: 9.91 MB / 382.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.0008751/0.1309, allocations: 0.5963 MB / 445.4 MB, free: 9.266 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.284e-05/0.131, allocations: 11.89 kB / 445.4 MB, free: 9.254 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.825e-05/0.131, allocations: 58.72 kB / 445.5 MB, free: 9.188 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.84e-05/0.1311, allocations: 32.56 kB / 445.5 MB, free: 9.156 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002912/0.1314, allocations: 263.6 kB / 445.8 MB, free: 8.859 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.819e-05/0.1314, allocations: 20.94 kB / 445.8 MB, free: 8.84 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.256e-05/0.1315, allocations: 32.28 kB / 445.8 MB, free: 8.809 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004917/0.132, allocations: 278.1 kB / 446.1 MB, free: 8.512 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.961e-05/0.132, allocations: 3.938 kB / 446.1 MB, free: 8.508 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.606e-05/0.1321, allocations: 12 kB / 446.1 MB, free: 8.496 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.838e-06/0.1321, allocations: 11.94 kB / 446.1 MB, free: 8.484 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003971/0.1325, allocations: 183.8 kB / 446.3 MB, free: 8.305 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001585/0.1341, allocations: 1.306 MB / 447.6 MB, free: 6.895 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000403/0.1345, allocations: 254.3 kB / 447.9 MB, free: 6.609 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001932/0.1347, allocations: 99.39 kB / 447.9 MB, free: 6.5 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.601e-05/0.1347, allocations: 0 / 447.9 MB, free: 6.5 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.655e-05/0.1348, allocations: 46.69 kB / 448 MB, free: 6.445 MB / 382.1 MB Notification: Performance of pre-optimization done (n=26): time 1.253e-06/0.1348, allocations: 0 / 448 MB, free: 6.445 MB / 382.1 MB Notification: Performance of matching and sorting (n=32): time 0.002528/0.1373, allocations: 1.561 MB / 449.6 MB, free: 4.676 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.525e-05/0.1374, allocations: 136.5 kB / 449.7 MB, free: 4.512 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002014/0.1376, allocations: 217 kB / 449.9 MB, free: 4.285 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 3.525e-05/0.1376, allocations: 29.7 kB / 449.9 MB, free: 4.25 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001101/0.1377, allocations: 188.1 kB / 450.1 MB, free: 4.062 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.502e-05/0.1378, allocations: 114.3 kB / 450.2 MB, free: 3.949 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.645e-05/0.1379, allocations: 70.12 kB / 450.3 MB, free: 3.875 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001318/0.1381, allocations: 334.8 kB / 450.6 MB, free: 3.539 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002352/0.1383, allocations: 104.8 kB / 450.7 MB, free: 3.438 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003178/0.1386, allocations: 245.5 kB / 451 MB, free: 3.141 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000601/0.1393, allocations: 356.8 kB / 451.3 MB, free: 2.73 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.124e-06/0.1393, allocations: 3.938 kB / 451.3 MB, free: 2.727 MB / 382.1 MB Notification: Performance of matching and sorting (n=48) (initialization): time 0.0007689/0.14, allocations: 401.6 kB / 451.7 MB, free: 2.328 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.051e-05/0.1401, allocations: 8.406 kB / 451.7 MB, free: 2.32 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.036e-05/0.1401, allocations: 8 kB / 451.7 MB, free: 2.312 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.223e-05/0.1401, allocations: 8 kB / 451.7 MB, free: 2.305 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003718/0.1405, allocations: 95.88 kB / 451.8 MB, free: 2.211 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.628e-05/0.1405, allocations: 12.81 kB / 451.8 MB, free: 2.199 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002159/0.1408, allocations: 23.92 kB / 451.9 MB, free: 2.176 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.869e-05/0.1408, allocations: 23.98 kB / 451.9 MB, free: 2.152 MB / 382.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.0001559/0.141, allocations: 161.6 kB / 452 MB, free: 1.984 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001051/0.1411, allocations: 27.72 kB / 452.1 MB, free: 1.957 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.153e-05/0.1411, allocations: 37.7 kB / 452.1 MB, free: 1.918 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.531e-06/0.1412, allocations: 4 kB / 452.1 MB, free: 1.914 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.488e-06/0.1412, allocations: 0 / 452.1 MB, free: 1.914 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.518e-06/0.1412, allocations: 0 / 452.1 MB, free: 1.914 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001436/0.1426, allocations: 0.9816 MB / 453.1 MB, free: 0.8672 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.946e-06/0.1426, allocations: 4.062 kB / 453.1 MB, free: 0.8633 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003721/0.143, allocations: 83.88 kB / 453.2 MB, free: 0.7812 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.08e-06/0.143, allocations: 4 kB / 453.2 MB, free: 0.7773 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.336e-05/0.1431, allocations: 7.938 kB / 453.2 MB, free: 0.7695 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.268e-06/0.1431, allocations: 4 kB / 453.2 MB, free: 0.7656 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.303e-06/0.1431, allocations: 7.938 kB / 453.2 MB, free: 0.7578 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009882/0.1441, allocations: 0.7211 MB / 453.9 MB, free: 12 kB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.2315/0.3755, allocations: 104.8 kB / 454 MB, free: 48.29 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001069/0.3757, allocations: 11.38 kB / 454 MB, free: 48.29 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003981/0.3761, allocations: 18.12 kB / 454.1 MB, free: 48.29 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001048/0.3762, allocations: 27.53 kB / 454.1 MB, free: 48.29 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.269e-05/0.3763, allocations: 10.44 kB / 454.1 MB, free: 48.29 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001799/0.3765, allocations: 160.8 kB / 454.2 MB, free: 48.21 MB / 382.1 MB Notification: Performance of sort global known variables: time 2.9e-07/0.3765, allocations: 0 / 454.2 MB, free: 48.21 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0006514/0.3771, allocations: 65.97 kB / 454.3 MB, free: 48.21 MB / 382.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.001148/0.3783, allocations: 1.273 MB / 455.6 MB, free: 47.32 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0006237/0.3789, allocations: 292.3 kB / 455.9 MB, free: 47.32 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.296e-06/0.3789, allocations: 6.344 kB / 455.9 MB, free: 47.32 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002414/0.3792, allocations: 133.2 kB / 456 MB, free: 47.32 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007252/0.3799, allocations: 34.78 kB / 456 MB, free: 47.32 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003754/0.3837, allocations: 3.605 MB / 459.6 MB, free: 45.08 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002226/0.3839, allocations: 0.7774 MB / 460.4 MB, free: 44.38 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0001599/0.3841, allocations: 28.77 kB / 460.4 MB, free: 44.37 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001672/0.3843, allocations: 94.39 kB / 460.5 MB, free: 44.37 MB / 382.1 MB Notification: Performance of SimCode: time 1.072e-06/0.3843, allocations: 0 / 460.5 MB, free: 44.37 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01538/0.3997, allocations: 5.04 MB / 465.6 MB, free: 43.85 MB / 382.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001427/0.3998, allocations: 183.9 kB / 465.8 MB, free: 43.6 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.986/2.386, allocations: 4 kB / 465.8 MB, free: 43.59 MB / 382.1 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Rotational.TestSpeed.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Rotational.TestSpeed.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Rotational.TestSpeed.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Rotational.TestSpeed.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Rotational.TestSpeed_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Rotational_TestSpeed_fmu --startTime=0 --stopTime=1.1 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Rotational_TestSpeed.fmu > ModelicaTest_3.2.3_ModelicaTest.Rotational.TestSpeed.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Rotational.TestSpeed_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Rotational/TestSpeed/TestSpeed.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Rotational.TestSpeed.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches