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.0009625/0.0009625, allocations: 88.19 kB / 15.7 MB, free: 460 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001237/0.001237, allocations: 175.4 kB / 16.58 MB, free: 6.84 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.481/1.481, allocations: 205.4 MB / 222.8 MB, free: 5.66 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.3641/0.3641, allocations: 43.55 MB / 314.6 MB, free: 8.762 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.0005103/0.0005106, allocations: 12 kB / 384 MB, free: 7.922 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1313/0.1318, allocations: 58.86 MB / 442.9 MB, free: 12.95 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.TestSpeed): time 0.003012/0.1349, allocations: 2.194 MB / 445.1 MB, free: 10.75 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001348/0.1363, allocations: 0.6596 MB / 445.7 MB, free: 10.08 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002768/0.1366, allocations: 15.88 kB / 445.7 MB, free: 10.06 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001657/0.1368, allocations: 27.77 kB / 445.8 MB, free: 10.04 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002275/0.137, allocations: 75.39 kB / 445.8 MB, free: 9.961 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002861/0.1373, allocations: 63.86 kB / 445.9 MB, free: 9.898 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.000408/0.1377, allocations: 302.6 kB / 446.2 MB, free: 9.602 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001834/0.1379, allocations: 69.83 kB / 446.3 MB, free: 9.535 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002282/0.1381, allocations: 115.5 kB / 446.4 MB, free: 9.422 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001954/0.1383, allocations: 115.5 kB / 446.5 MB, free: 9.309 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 3.934e-05/0.1384, allocations: 12 kB / 446.5 MB, free: 9.297 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.452e-05/0.1384, allocations: 12 kB / 446.5 MB, free: 9.285 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 4.468e-05/0.1385, allocations: 51.75 kB / 446.6 MB, free: 9.234 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 7.738e-05/0.1386, allocations: 73.58 kB / 446.6 MB, free: 9.156 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002199/0.1388, allocations: 207.4 kB / 446.8 MB, free: 8.953 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.929e-06/0.1388, allocations: 0 / 446.8 MB, free: 8.953 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.492e-06/0.1388, allocations: 0 / 446.8 MB, free: 8.953 MB / 382.1 MB Notification: Performance of Transformations before backend: time 9.548e-06/0.1388, allocations: 4 kB / 446.9 MB, free: 8.949 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.0008958/0.1397, allocations: 0.5494 MB / 447.4 MB, free: 8.352 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.951e-05/0.1398, allocations: 8.031 kB / 447.4 MB, free: 8.344 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.624e-05/0.1399, allocations: 58.55 kB / 447.5 MB, free: 8.277 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.678e-05/0.14, allocations: 35.62 kB / 447.5 MB, free: 8.242 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003288/0.1403, allocations: 254.5 kB / 447.8 MB, free: 7.953 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.391e-05/0.1403, allocations: 20.56 kB / 447.8 MB, free: 7.934 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.544e-05/0.1404, allocations: 24 kB / 447.8 MB, free: 7.91 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000473/0.1409, allocations: 289.9 kB / 448.1 MB, free: 7.602 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.804e-05/0.1409, allocations: 11.91 kB / 448.1 MB, free: 7.59 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.221e-05/0.1409, allocations: 4 kB / 448.1 MB, free: 7.586 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.289e-05/0.1409, allocations: 8 kB / 448.1 MB, free: 7.578 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004286/0.1414, allocations: 203.7 kB / 448.3 MB, free: 7.379 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001688/0.1431, allocations: 1.318 MB / 449.6 MB, free: 5.957 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004797/0.1436, allocations: 250.5 kB / 449.9 MB, free: 5.676 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001947/0.1438, allocations: 107.4 kB / 450 MB, free: 5.559 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.822e-05/0.1438, allocations: 8 kB / 450 MB, free: 5.551 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.191e-05/0.1439, allocations: 46.48 kB / 450 MB, free: 5.496 MB / 382.1 MB Notification: Performance of pre-optimization done (n=26): time 1.653e-06/0.1439, allocations: 0 / 450 MB, free: 5.496 MB / 382.1 MB Notification: Performance of matching and sorting (n=32): time 0.002655/0.1465, allocations: 1.627 MB / 451.6 MB, free: 3.66 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.118e-05/0.1466, allocations: 132.5 kB / 451.8 MB, free: 3.5 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002508/0.1469, allocations: 225 kB / 452 MB, free: 3.266 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.743e-05/0.1469, allocations: 29.7 kB / 452 MB, free: 3.23 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001282/0.1471, allocations: 176.2 kB / 452.2 MB, free: 3.055 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000103/0.1472, allocations: 118.3 kB / 452.3 MB, free: 2.938 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.751e-05/0.1472, allocations: 12 kB / 452.3 MB, free: 2.926 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001524/0.1473, allocations: 334.8 kB / 452.7 MB, free: 2.59 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002557/0.1476, allocations: 116.8 kB / 452.8 MB, free: 2.477 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003485/0.148, allocations: 241.4 kB / 453 MB, free: 2.184 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003067/0.1483, allocations: 143.9 kB / 453.1 MB, free: 2.043 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.945e-06/0.1483, allocations: 0 / 453.1 MB, free: 2.043 MB / 382.1 MB Notification: Performance of matching and sorting (n=48) (initialization): time 0.0007942/0.1491, allocations: 421.2 kB / 453.6 MB, free: 1.625 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.591e-05/0.1491, allocations: 4 kB / 453.6 MB, free: 1.621 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.347e-05/0.1492, allocations: 16.2 kB / 453.6 MB, free: 1.605 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.342e-05/0.1492, allocations: 4 kB / 453.6 MB, free: 1.602 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003783/0.1496, allocations: 116.1 kB / 453.7 MB, free: 1.488 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.655e-05/0.1496, allocations: 8.781 kB / 453.7 MB, free: 1.48 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002145/0.1498, allocations: 27.98 kB / 453.7 MB, free: 1.453 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.648e-05/0.1499, allocations: 24.45 kB / 453.7 MB, free: 1.43 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001975/0.1501, allocations: 153.6 kB / 453.9 MB, free: 1.27 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001202/0.1502, allocations: 35.67 kB / 453.9 MB, free: 1.234 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.106e-05/0.1503, allocations: 37.69 kB / 454 MB, free: 1.191 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.277e-06/0.1503, allocations: 7.953 kB / 454 MB, free: 1.184 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.159e-05/0.1503, allocations: 7.938 kB / 454 MB, free: 1.176 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.43e-06/0.1503, allocations: 0 / 454 MB, free: 1.176 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001524/0.1519, allocations: 1.009 MB / 455 MB, free: 104 kB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.471e-06/0.1519, allocations: 4 kB / 455 MB, free: 100 kB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003422/0.1522, allocations: 87.95 kB / 455.1 MB, free: 12 kB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.29e-06/0.1522, allocations: 0 / 455.1 MB, free: 12 kB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.399e-05/0.1523, allocations: 8 kB / 455.1 MB, free: 4 kB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.227/0.3793, allocations: 6.688 kB / 455.1 MB, free: 46 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.22e-06/0.3793, allocations: 1.406 kB / 455.1 MB, free: 46 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001101/0.3805, allocations: 0.753 MB / 455.9 MB, free: 45.63 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.857e-05/0.3805, allocations: 101.8 kB / 456 MB, free: 45.54 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.193e-05/0.3806, allocations: 7.281 kB / 456 MB, free: 45.54 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003216/0.3809, allocations: 28.19 kB / 456 MB, free: 45.54 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.808e-05/0.381, allocations: 26.95 kB / 456 MB, free: 45.54 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.038e-05/0.381, allocations: 11.88 kB / 456 MB, free: 45.54 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001375/0.3812, allocations: 155.7 kB / 456.2 MB, free: 45.46 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.3812, allocations: 3 kB / 456.2 MB, free: 45.46 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0005042/0.3817, allocations: 65.78 kB / 456.2 MB, free: 45.46 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0009619/0.3827, allocations: 1.301 MB / 457.5 MB, free: 44.57 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0005994/0.3833, allocations: 303.4 kB / 457.8 MB, free: 44.56 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.695e-06/0.3833, allocations: 0 / 457.8 MB, free: 44.56 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002463/0.3835, allocations: 149.1 kB / 458 MB, free: 44.56 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006458/0.3842, allocations: 35.05 kB / 458 MB, free: 44.56 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002623/0.3868, allocations: 2.191 MB / 460.2 MB, free: 43.51 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001856/0.387, allocations: 0.7706 MB / 461 MB, free: 42.81 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.00014/0.3872, allocations: 38.45 kB / 461 MB, free: 42.8 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001217/0.3873, allocations: 95.62 kB / 461.1 MB, free: 42.79 MB / 382.1 MB Notification: Performance of SimCode: time 9.61e-07/0.3873, allocations: 0 / 461.1 MB, free: 42.79 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01531/0.4026, allocations: 4.751 MB / 465.9 MB, free: 42.38 MB / 382.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001517/0.4028, allocations: 179.5 kB / 466 MB, free: 42.13 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.777/2.18, allocations: 0 / 466 MB, free: 42.13 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/linux/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) Environment - environmentSimulation: TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_ModelicaTest.Rotational.TestSpeed_res.mat does not exist to compare? outputFormat=mat