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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) 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="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Rotational.TestSpeed,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Rotational_TestSpeed",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001368/0.001368, allocations: 122.2 kB / 17.79 MB, free: 5.273 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001527/0.001527, allocations: 201.2 kB / 18.74 MB, free: 4.332 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.433/1.433, allocations: 227.4 MB / 247 MB, free: 10.46 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2234/0.2234, allocations: 46.13 MB / 344.4 MB, free: 11.45 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00287/0.00287, allocations: 75.88 kB / 480.9 MB, free: 4.535 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3191/0.322, allocations: 62.46 MB / 0.5306 GB, free: 13.36 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.TestSpeed): time 0.00467/0.3267, allocations: 2.627 MB / 0.5332 GB, free: 11.3 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001532/0.3283, allocations: 0.7289 MB / 0.5339 GB, free: 10.7 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001741/0.3285, allocations: 9.438 kB / 0.5339 GB, free: 10.7 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000181/0.3287, allocations: 43.66 kB / 0.5339 GB, free: 10.66 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001979/0.3289, allocations: 88.81 kB / 0.534 GB, free: 10.58 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003651/0.3293, allocations: 95 kB / 0.5341 GB, free: 10.5 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004564/0.3297, allocations: 339.8 kB / 0.5344 GB, free: 10.3 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002658/0.33, allocations: 83.06 kB / 0.5345 GB, free: 10.25 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003016/0.3303, allocations: 131.9 kB / 0.5346 GB, free: 10.17 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000215/0.3305, allocations: 128.6 kB / 0.5348 GB, free: 10.09 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 4.755e-05/0.3306, allocations: 22 kB / 0.5348 GB, free: 10.09 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001014/0.3307, allocations: 28.75 kB / 0.5348 GB, free: 10.08 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 6.942e-05/0.3308, allocations: 60.02 kB / 0.5349 GB, free: 10.03 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001561/0.331, allocations: 150.6 kB / 0.535 GB, free: 9.93 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004314/0.3314, allocations: 310.6 kB / 0.5353 GB, free: 9.711 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.398e-06/0.3314, allocations: 0 / 0.5353 GB, free: 9.711 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.253e-06/0.3314, allocations: 0 / 0.5353 GB, free: 9.711 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.34e-05/0.3315, allocations: 0 / 0.5353 GB, free: 9.711 MB / 398.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.0009743/0.3324, allocations: 0.5953 MB / 0.5359 GB, free: 9.172 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.834e-05/0.3325, allocations: 10.06 kB / 0.5359 GB, free: 9.172 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001151/0.3326, allocations: 57.61 kB / 0.536 GB, free: 9.113 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000231/0.3328, allocations: 52.81 kB / 0.536 GB, free: 9.09 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004082/0.3333, allocations: 280.8 kB / 0.5363 GB, free: 8.812 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.096e-05/0.3333, allocations: 22.97 kB / 0.5363 GB, free: 8.801 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.11e-05/0.3333, allocations: 30.39 kB / 0.5363 GB, free: 8.789 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004985/0.3338, allocations: 287.6 kB / 0.5366 GB, free: 8.578 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.285e-05/0.3339, allocations: 6.328 kB / 0.5366 GB, free: 8.574 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.657e-05/0.3339, allocations: 14.28 kB / 0.5366 GB, free: 8.562 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.396e-06/0.3339, allocations: 6.812 kB / 0.5366 GB, free: 8.562 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004243/0.3344, allocations: 180 kB / 0.5368 GB, free: 8.484 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001764/0.3361, allocations: 1.311 MB / 0.5381 GB, free: 7.262 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004325/0.3366, allocations: 246.7 kB / 0.5383 GB, free: 7.086 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002141/0.3368, allocations: 103.4 kB / 0.5384 GB, free: 7.016 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.729e-05/0.3368, allocations: 7.266 kB / 0.5384 GB, free: 7.012 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.857e-05/0.3369, allocations: 37.22 kB / 0.5385 GB, free: 6.969 MB / 398.1 MB Notification: Performance of pre-optimization done (n=26): time 1.473e-06/0.3369, allocations: 0 / 0.5385 GB, free: 6.969 MB / 398.1 MB Notification: Performance of matching and sorting (n=32): time 0.002733/0.3396, allocations: 1.577 MB / 0.54 GB, free: 5.559 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.975e-05/0.3397, allocations: 141 kB / 0.5401 GB, free: 5.395 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002591/0.34, allocations: 224.3 kB / 0.5403 GB, free: 5.23 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 3.243e-05/0.34, allocations: 35.92 kB / 0.5404 GB, free: 5.191 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001418/0.3402, allocations: 178.5 kB / 0.5405 GB, free: 5.027 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001083/0.3403, allocations: 124 kB / 0.5407 GB, free: 4.918 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001135/0.3404, allocations: 72.44 kB / 0.5407 GB, free: 4.867 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.000195/0.3406, allocations: 337 kB / 0.5411 GB, free: 4.535 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002841/0.3409, allocations: 101.5 kB / 0.5411 GB, free: 4.492 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004177/0.3413, allocations: 242.9 kB / 0.5414 GB, free: 4.27 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007485/0.3421, allocations: 368.1 kB / 0.5417 GB, free: 3.98 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.346e-06/0.3421, allocations: 2.062 kB / 0.5417 GB, free: 3.98 MB / 398.1 MB Notification: Performance of matching and sorting (n=48) (initialization): time 0.0009321/0.343, allocations: 408 kB / 0.5421 GB, free: 3.766 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.459e-05/0.3431, allocations: 7.469 kB / 0.5421 GB, free: 3.766 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.119e-05/0.3431, allocations: 4.062 kB / 0.5421 GB, free: 3.766 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.355e-05/0.3431, allocations: 7.562 kB / 0.5421 GB, free: 3.766 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004129/0.3435, allocations: 101.9 kB / 0.5422 GB, free: 3.738 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.348e-05/0.3436, allocations: 7.312 kB / 0.5422 GB, free: 3.738 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002388/0.3438, allocations: 25.11 kB / 0.5423 GB, free: 3.727 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.138e-05/0.3439, allocations: 19.53 kB / 0.5423 GB, free: 3.723 MB / 398.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.0002009/0.3441, allocations: 160.3 kB / 0.5424 GB, free: 3.57 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001159/0.3442, allocations: 34.34 kB / 0.5425 GB, free: 3.551 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.76e-05/0.3443, allocations: 31.52 kB / 0.5425 GB, free: 3.523 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.957e-06/0.3443, allocations: 4.375 kB / 0.5425 GB, free: 3.523 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.434e-05/0.3443, allocations: 1.375 kB / 0.5425 GB, free: 3.523 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.524e-06/0.3443, allocations: 1.469 kB / 0.5425 GB, free: 3.523 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001646/0.346, allocations: 0.9837 MB / 0.5435 GB, free: 2.699 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.374e-06/0.346, allocations: 5.422 kB / 0.5435 GB, free: 2.695 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000353/0.3464, allocations: 77.61 kB / 0.5436 GB, free: 2.676 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.149e-06/0.3464, allocations: 2.25 kB / 0.5436 GB, free: 2.676 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.79e-05/0.3464, allocations: 11.41 kB / 0.5436 GB, free: 2.668 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.691e-06/0.3464, allocations: 3.656 kB / 0.5436 GB, free: 2.668 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.751e-06/0.3464, allocations: 5.234 kB / 0.5436 GB, free: 2.664 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001091/0.3475, allocations: 0.7257 MB / 0.5443 GB, free: 2.117 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001126/0.3477, allocations: 105.9 kB / 0.5444 GB, free: 2.004 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.718e-05/0.3477, allocations: 11.22 kB / 0.5444 GB, free: 1.996 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002864/0.348, allocations: 18.55 kB / 0.5444 GB, free: 1.988 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.035e-05/0.3481, allocations: 23.03 kB / 0.5444 GB, free: 1.977 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.636e-05/0.3481, allocations: 23.64 kB / 0.5445 GB, free: 1.961 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001737/0.3483, allocations: 162.1 kB / 0.5446 GB, free: 1.84 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.3483, allocations: 1.094 kB / 0.5446 GB, free: 1.84 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0005207/0.3489, allocations: 64.06 kB / 0.5447 GB, free: 1.832 MB / 398.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.001529/0.3504, allocations: 1.271 MB / 0.5459 GB, free: 0.7461 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0007224/0.3511, allocations: 280.2 kB / 0.5462 GB, free: 0.6328 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 3.015e-06/0.3511, allocations: 0 / 0.5462 GB, free: 0.6328 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003076/0.3515, allocations: 135.7 kB / 0.5463 GB, free: 0.5781 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006777/0.3521, allocations: 43.77 kB / 0.5464 GB, free: 0.5508 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005236/0.3574, allocations: 3.527 MB / 0.5498 GB, free: 13 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004824/0.3579, allocations: 0.772 MB / 0.5505 GB, free: 12.2 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0001715/0.3581, allocations: 30.97 kB / 0.5506 GB, free: 12.17 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001608/0.3583, allocations: 95.41 kB / 0.5507 GB, free: 12.07 MB / 414.1 MB Notification: Performance of SimCode: time 1.022e-06/0.3583, allocations: 4 kB / 0.5507 GB, free: 12.07 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03066/0.3889, allocations: 5.366 MB / 0.5559 GB, free: 6.781 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.454/8.843, allocations: 11.66 kB / 0.5559 GB, free: 6.773 MB / 414.1 MB (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 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Rotational_TestSpeed.fmu > ModelicaTest_trunk_ModelicaTest.Rotational.TestSpeed.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Rotational.TestSpeed_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.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) Reference file matches