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.004728/0.004728, allocations: 101.1 kB / 15.87 MB, free: 6.316 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.001176/0.001176, allocations: 192.8 kB / 16.79 MB, free: 6.242 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.294/1.294, allocations: 205.1 MB / 222.6 MB, free: 4.738 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.3026/0.3026, allocations: 43.5 MB / 313.5 MB, free: 8.473 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.001307/0.001307, allocations: 66.56 kB / 382.1 MB, free: 8.645 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1098/0.1111, allocations: 57.77 MB / 439.9 MB, free: 14.77 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.TestSpeed): time 0.003803/0.115, allocations: 2.66 MB / 442.6 MB, free: 12.09 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001058/0.1161, allocations: 0.6865 MB / 443.3 MB, free: 11.39 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001363/0.1162, allocations: 11.88 kB / 443.3 MB, free: 11.38 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001582/0.1164, allocations: 35.7 kB / 443.3 MB, free: 11.35 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001388/0.1165, allocations: 67.41 kB / 443.4 MB, free: 11.28 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002366/0.1168, allocations: 79.91 kB / 443.4 MB, free: 11.2 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003088/0.1171, allocations: 310.6 kB / 443.7 MB, free: 10.9 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001765/0.1173, allocations: 82 kB / 443.8 MB, free: 10.82 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001621/0.1175, allocations: 119.4 kB / 443.9 MB, free: 10.7 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001414/0.1176, allocations: 127.4 kB / 444.1 MB, free: 10.57 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 5.405e-05/0.1177, allocations: 16 kB / 444.1 MB, free: 10.56 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.035e-05/0.1177, allocations: 15.94 kB / 444.1 MB, free: 10.54 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 4.508e-05/0.1178, allocations: 43.83 kB / 444.1 MB, free: 10.5 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001179/0.1179, allocations: 139.2 kB / 444.3 MB, free: 10.36 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002766/0.1182, allocations: 279 kB / 444.5 MB, free: 10.09 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.257e-06/0.1182, allocations: 0 / 444.5 MB, free: 10.09 MB / 382.1 MB Notification: Performance of FrontEnd: time 8.52e-07/0.1182, allocations: 0 / 444.5 MB, free: 10.09 MB / 382.1 MB Notification: Performance of Transformations before backend: time 7.824e-06/0.1182, allocations: 4 kB / 444.6 MB, free: 10.09 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.0008765/0.1191, allocations: 0.5885 MB / 445.1 MB, free: 9.449 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.92e-05/0.1191, allocations: 8.031 kB / 445.1 MB, free: 9.441 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.61e-05/0.1192, allocations: 58.72 kB / 445.2 MB, free: 9.375 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.354e-05/0.1193, allocations: 32.56 kB / 445.2 MB, free: 9.344 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002971/0.1196, allocations: 259.7 kB / 445.5 MB, free: 9.051 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.724e-05/0.1196, allocations: 24.88 kB / 445.5 MB, free: 9.027 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.603e-05/0.1196, allocations: 32.28 kB / 445.5 MB, free: 8.996 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004717/0.1201, allocations: 282.1 kB / 445.8 MB, free: 8.695 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.804e-05/0.1201, allocations: 0 / 445.8 MB, free: 8.695 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.452e-05/0.1202, allocations: 12 kB / 445.8 MB, free: 8.684 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.05e-05/0.1202, allocations: 8 kB / 445.8 MB, free: 8.676 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000389/0.1206, allocations: 187.7 kB / 446 MB, free: 8.492 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001586/0.1222, allocations: 1.31 MB / 447.3 MB, free: 7.078 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004076/0.1226, allocations: 250.5 kB / 447.6 MB, free: 6.797 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001868/0.1228, allocations: 95.39 kB / 447.7 MB, free: 6.691 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.109e-05/0.1228, allocations: 4 kB / 447.7 MB, free: 6.688 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.748e-05/0.1229, allocations: 46.48 kB / 447.7 MB, free: 6.633 MB / 382.1 MB Notification: Performance of pre-optimization done (n=26): time 1.613e-06/0.1229, allocations: 0 / 447.7 MB, free: 6.633 MB / 382.1 MB Notification: Performance of matching and sorting (n=32): time 0.002545/0.1254, allocations: 1.565 MB / 449.3 MB, free: 4.859 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.133e-05/0.1255, allocations: 136.5 kB / 449.4 MB, free: 4.695 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002058/0.1257, allocations: 217 kB / 449.6 MB, free: 4.469 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.346e-05/0.1258, allocations: 33.7 kB / 449.7 MB, free: 4.43 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001134/0.1259, allocations: 180.2 kB / 449.8 MB, free: 4.25 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.601e-05/0.126, allocations: 118.3 kB / 450 MB, free: 4.133 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.143e-05/0.1261, allocations: 66.12 kB / 450 MB, free: 4.062 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001424/0.1262, allocations: 338.8 kB / 450.4 MB, free: 3.723 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002341/0.1264, allocations: 104.8 kB / 450.5 MB, free: 3.621 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003091/0.1268, allocations: 233.4 kB / 450.7 MB, free: 3.336 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005546/0.1273, allocations: 370 kB / 451 MB, free: 2.914 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.843e-06/0.1273, allocations: 0 / 451 MB, free: 2.914 MB / 382.1 MB Notification: Performance of matching and sorting (n=48) (initialization): time 0.0007275/0.1281, allocations: 405.1 kB / 451.4 MB, free: 2.512 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.025e-05/0.1281, allocations: 8.5 kB / 451.4 MB, free: 2.504 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.178e-06/0.1281, allocations: 11.94 kB / 451.5 MB, free: 2.492 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.978e-05/0.1281, allocations: 11.94 kB / 451.5 MB, free: 2.48 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003767/0.1285, allocations: 96.19 kB / 451.6 MB, free: 2.387 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.334e-05/0.1286, allocations: 11.94 kB / 451.6 MB, free: 2.375 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002018/0.1288, allocations: 27.98 kB / 451.6 MB, free: 2.348 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.95e-05/0.1288, allocations: 19.98 kB / 451.6 MB, free: 2.328 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.0001565/0.129, allocations: 153.7 kB / 451.8 MB, free: 2.168 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.611e-05/0.1291, allocations: 27.72 kB / 451.8 MB, free: 2.141 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.965e-05/0.1291, allocations: 37.7 kB / 451.8 MB, free: 2.098 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.628e-06/0.1292, allocations: 4 kB / 451.8 MB, free: 2.094 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.143e-06/0.1292, allocations: 0 / 451.8 MB, free: 2.094 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.389e-06/0.1292, allocations: 0 / 451.8 MB, free: 2.094 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00137/0.1305, allocations: 0.9854 MB / 452.8 MB, free: 1.043 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.625e-06/0.1306, allocations: 4.062 kB / 452.8 MB, free: 1.039 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003452/0.1309, allocations: 83.88 kB / 452.9 MB, free: 0.957 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.542e-06/0.1309, allocations: 4 kB / 452.9 MB, free: 0.9531 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.783e-05/0.131, allocations: 11.94 kB / 452.9 MB, free: 0.9414 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.445e-06/0.131, allocations: 0 / 452.9 MB, free: 0.9414 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.505e-06/0.131, allocations: 4 kB / 452.9 MB, free: 0.9375 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009341/0.1319, allocations: 0.7249 MB / 453.7 MB, free: 192 kB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.157e-05/0.132, allocations: 108.7 kB / 453.8 MB, free: 64 kB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.17e-05/0.1321, allocations: 16 kB / 453.8 MB, free: 48 kB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002689/0.1323, allocations: 15.98 kB / 453.8 MB, free: 32 kB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.638e-05/0.1324, allocations: 27.91 kB / 453.8 MB, free: 4 kB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.1707/0.3031, allocations: 7.141 kB / 453.8 MB, free: 48.16 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001833/0.3034, allocations: 157.1 kB / 454 MB, free: 48.08 MB / 382.1 MB Notification: Performance of sort global known variables: time 3.2e-07/0.3034, allocations: 3.844 kB / 454 MB, free: 48.08 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0007607/0.3042, allocations: 68.8 kB / 454.1 MB, free: 48.08 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.001134/0.3053, allocations: 1.274 MB / 455.3 MB, free: 47.18 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0005848/0.3059, allocations: 273.5 kB / 455.6 MB, free: 47.18 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.946e-06/0.3059, allocations: 0 / 455.6 MB, free: 47.18 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003054/0.3062, allocations: 132.1 kB / 455.7 MB, free: 47.18 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007262/0.307, allocations: 35.77 kB / 455.8 MB, free: 47.18 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003607/0.3106, allocations: 3.604 MB / 459.4 MB, free: 44.95 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001851/0.3108, allocations: 0.7732 MB / 460.1 MB, free: 44.25 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0001446/0.3109, allocations: 34.81 kB / 460.2 MB, free: 44.24 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001262/0.3111, allocations: 95.72 kB / 460.3 MB, free: 44.23 MB / 382.1 MB Notification: Performance of SimCode: time 2e-07/0.3111, allocations: 0 / 460.3 MB, free: 44.23 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01352/0.3246, allocations: 4.901 MB / 465.2 MB, free: 43.74 MB / 382.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001325/0.3248, allocations: 189.3 kB / 465.3 MB, free: 43.48 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.75/2.075, allocations: 0 / 465.3 MB, free: 43.48 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