Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Rotational.TestSpeed.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.00178/0.00178, allocations: 105.1 kB / 21.22 MB, free: 0.6289 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.00206/0.00206, allocations: 212.7 kB / 24.52 MB, free: 3.91 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.531/1.531, allocations: 230.5 MB / 258.2 MB, free: 7.789 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2252/0.2252, allocations: 46.95 MB / 361.6 MB, free: 3.918 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Rotational.TestSpeed,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Rotational_TestSpeed",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Rotational.TestSpeed,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Rotational_TestSpeed",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002365/0.002365, allocations: 79.88 kB / 0.4969 GB, free: 7.566 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3467/0.349, allocations: 66.08 MB / 0.5614 GB, free: 4.008 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.TestSpeed): time 0.003833/0.3529, allocations: 2.472 MB / 0.5638 GB, free: 1.527 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001311/0.3542, allocations: 0.6895 MB / 0.5645 GB, free: 0.832 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001321/0.3543, allocations: 11.88 kB / 0.5645 GB, free: 0.8203 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001572/0.3545, allocations: 47.52 kB / 0.5646 GB, free: 0.7734 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001775/0.3546, allocations: 87.2 kB / 0.5646 GB, free: 0.6875 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003072/0.3549, allocations: 107.8 kB / 0.5648 GB, free: 0.582 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003703/0.3553, allocations: 330.5 kB / 0.5651 GB, free: 264 kB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001655/0.3555, allocations: 67.88 kB / 0.5651 GB, free: 188 kB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002318/0.3557, allocations: 143.5 kB / 0.5653 GB, free: 44 kB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002063/0.3559, allocations: 135.4 kB / 0.5654 GB, free: 15.91 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 4.082e-05/0.356, allocations: 20 kB / 0.5654 GB, free: 15.89 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.609e-05/0.356, allocations: 24 kB / 0.5654 GB, free: 15.87 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 5.463e-05/0.3561, allocations: 55.78 kB / 0.5655 GB, free: 15.81 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001292/0.3562, allocations: 127.4 kB / 0.5656 GB, free: 15.69 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003982/0.3566, allocations: 314.5 kB / 0.5659 GB, free: 15.38 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.697e-06/0.3566, allocations: 0 / 0.5659 GB, free: 15.38 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.623e-06/0.3566, allocations: 0 / 0.5659 GB, free: 15.38 MB / 414.1 MB Notification: Performance of Transformations before backend: time 7.414e-06/0.3566, allocations: 0 / 0.5659 GB, free: 15.38 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.0009625/0.3576, allocations: 0.5207 MB / 0.5664 GB, free: 14.83 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.886e-05/0.3576, allocations: 16.03 kB / 0.5664 GB, free: 14.81 MB / 414.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.015e-05/0.3576, allocations: 4.688 kB / 0.5664 GB, free: 14.81 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.999e-05/0.3577, allocations: 62.72 kB / 0.5665 GB, free: 14.74 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002396/0.3579, allocations: 48.73 kB / 0.5665 GB, free: 14.69 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000363/0.3583, allocations: 213.9 kB / 0.5668 GB, free: 14.46 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.017e-05/0.3583, allocations: 20.88 kB / 0.5668 GB, free: 14.44 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.487e-05/0.3584, allocations: 36.31 kB / 0.5668 GB, free: 14.4 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005026/0.3589, allocations: 281 kB / 0.5671 GB, free: 14.1 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.529e-05/0.3589, allocations: 11.95 kB / 0.5671 GB, free: 14.09 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.561e-05/0.3589, allocations: 12 kB / 0.5671 GB, free: 14.08 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.477e-06/0.3589, allocations: 4 kB / 0.5671 GB, free: 14.07 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004139/0.3594, allocations: 183.7 kB / 0.5673 GB, free: 13.89 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001648/0.361, allocations: 1.192 MB / 0.5684 GB, free: 12.61 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004205/0.3614, allocations: 234.4 kB / 0.5687 GB, free: 12.35 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002079/0.3616, allocations: 103.5 kB / 0.5688 GB, free: 12.23 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.367e-05/0.3617, allocations: 4 kB / 0.5688 GB, free: 12.23 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.241e-05/0.3617, allocations: 38.56 kB / 0.5688 GB, free: 12.18 MB / 414.1 MB Notification: Performance of pre-optimization done (n=26): time 1.763e-06/0.3617, allocations: 0 / 0.5688 GB, free: 12.18 MB / 414.1 MB Notification: Performance of matching and sorting (n=32): time 0.002443/0.3641, allocations: 1.205 MB / 0.57 GB, free: 10.86 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.236e-05/0.3642, allocations: 132.5 kB / 0.5701 GB, free: 10.7 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002304/0.3645, allocations: 233 kB / 0.5703 GB, free: 10.46 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 3.095e-05/0.3645, allocations: 29.7 kB / 0.5704 GB, free: 10.43 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001185/0.3646, allocations: 184.5 kB / 0.5705 GB, free: 10.24 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.736e-05/0.3647, allocations: 122.9 kB / 0.5706 GB, free: 10.12 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001035/0.3648, allocations: 66.14 kB / 0.5707 GB, free: 10.05 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001554/0.365, allocations: 346.7 kB / 0.571 GB, free: 9.703 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002413/0.3652, allocations: 96.81 kB / 0.5711 GB, free: 9.609 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003421/0.3655, allocations: 237.4 kB / 0.5714 GB, free: 9.32 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006315/0.3662, allocations: 379.3 kB / 0.5717 GB, free: 8.891 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.47e-06/0.3662, allocations: 3.938 kB / 0.5717 GB, free: 8.887 MB / 414.1 MB Notification: Performance of matching and sorting (n=48) (initialization): time 0.000777/0.367, allocations: 396.9 kB / 0.5721 GB, free: 8.492 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.884e-05/0.367, allocations: 8 kB / 0.5721 GB, free: 8.484 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.387e-05/0.367, allocations: 8.078 kB / 0.5721 GB, free: 8.477 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.021e-05/0.367, allocations: 4 kB / 0.5721 GB, free: 8.473 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000396/0.3674, allocations: 100.2 kB / 0.5722 GB, free: 8.375 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.598e-05/0.3674, allocations: 15.98 kB / 0.5722 GB, free: 8.359 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000225/0.3677, allocations: 31.91 kB / 0.5723 GB, free: 8.328 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.924e-05/0.3677, allocations: 20 kB / 0.5723 GB, free: 8.309 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.0001588/0.3678, allocations: 151 kB / 0.5724 GB, free: 8.152 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001063/0.3679, allocations: 31.81 kB / 0.5725 GB, free: 8.121 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001112/0.3681, allocations: 37.7 kB / 0.5725 GB, free: 8.082 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.392e-06/0.3681, allocations: 4 kB / 0.5725 GB, free: 8.078 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.306e-06/0.3681, allocations: 0 / 0.5725 GB, free: 8.078 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.218e-06/0.3681, allocations: 0 / 0.5725 GB, free: 8.078 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001587/0.3697, allocations: 0.9184 MB / 0.5734 GB, free: 7.102 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.587e-06/0.3697, allocations: 7.938 kB / 0.5734 GB, free: 7.094 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003747/0.37, allocations: 72.19 kB / 0.5735 GB, free: 7.023 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.018e-05/0.3701, allocations: 15.98 kB / 0.5735 GB, free: 7.008 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.448e-05/0.3701, allocations: 8 kB / 0.5735 GB, free: 7 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.22e-06/0.3701, allocations: 7.938 kB / 0.5735 GB, free: 6.992 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.803e-06/0.3701, allocations: 0 / 0.5735 GB, free: 6.992 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001055/0.3711, allocations: 0.7334 MB / 0.5742 GB, free: 6.234 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.693e-05/0.3712, allocations: 27.88 kB / 0.5742 GB, free: 6.207 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.636e-05/0.3712, allocations: 11.94 kB / 0.5743 GB, free: 6.195 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002918/0.3715, allocations: 23.92 kB / 0.5743 GB, free: 6.172 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.762e-05/0.3716, allocations: 23.95 kB / 0.5743 GB, free: 6.148 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.261e-05/0.3716, allocations: 12.52 kB / 0.5743 GB, free: 6.137 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001644/0.3718, allocations: 164.5 kB / 0.5745 GB, free: 5.973 MB / 414.1 MB Notification: Performance of sort global known variables: time 6e-08/0.3718, allocations: 0 / 0.5745 GB, free: 5.973 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0005197/0.3723, allocations: 67.94 kB / 0.5745 GB, free: 5.906 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.001373/0.3737, allocations: 1.282 MB / 0.5758 GB, free: 4.59 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0006554/0.3743, allocations: 263.6 kB / 0.576 GB, free: 4.332 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.184e-06/0.3743, allocations: 0 / 0.576 GB, free: 4.332 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002803/0.3746, allocations: 124.7 kB / 0.5762 GB, free: 4.211 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006615/0.3753, allocations: 47.78 kB / 0.5762 GB, free: 4.168 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004944/0.3802, allocations: 3.526 MB / 0.5796 GB, free: 424 kB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001769/0.3804, allocations: 164.1 kB / 0.5798 GB, free: 244 kB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0001524/0.3806, allocations: 38.89 kB / 0.5798 GB, free: 204 kB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001654/0.3807, allocations: 103.3 kB / 0.5799 GB, free: 100 kB / 414.1 MB Notification: Performance of SimCode: time 7.12e-07/0.3807, allocations: 0 / 0.5799 GB, free: 100 kB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02786/0.4086, allocations: 5.748 MB / 0.5856 GB, free: 10.49 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.97/12.38, allocations: 0 / 0.5856 GB, free: 10.49 MB / 430.1 MB " [Timeout remaining time 647] (rm -f ModelicaTest_trunk_ModelicaTest.Rotational.TestSpeed.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Rotational.TestSpeed.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Rotational.TestSpeed.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Rotational.TestSpeed.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Rotational.TestSpeed_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Rotational_TestSpeed_fmu --startTime=0 --stopTime=1.1 --stepSize=0.000219824 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Rotational_TestSpeed.fmu > ModelicaTest_trunk_ModelicaTest.Rotational.TestSpeed.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_trunk_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_trunk_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: 15.552314126980491]