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: translateModel(ModelicaTest.Rotational.TestSpeed,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|speed1.phi|speed1.w|speed2.phi|speed3.s|speed3.v|speed4.s",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Rotational.TestSpeed") translateModel(ModelicaTest.Rotational.TestSpeed,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|speed1.phi|speed1.w|speed2.phi|speed3.s|speed3.v|speed4.s",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Rotational.TestSpeed") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001763/0.001763, allocations: 114.8 kB / 17.78 MB, free: 5.277 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002017/0.002017, allocations: 202 kB / 18.73 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.572/1.572, allocations: 227.4 MB / 246.9 MB, free: 10.5 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2386/0.2386, allocations: 46.1 MB / 344.3 MB, free: 11.48 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001459/0.001459, allocations: 71.88 kB / 481.3 MB, free: 4.078 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3729/0.3744, allocations: 62.44 MB / 0.531 GB, free: 13.59 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.TestSpeed): time 0.003788/0.3782, allocations: 2.624 MB / 0.5335 GB, free: 11.54 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001352/0.3796, allocations: 0.73 MB / 0.5342 GB, free: 10.94 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000173/0.3798, allocations: 4.719 kB / 0.5343 GB, free: 10.94 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000195/0.38, allocations: 46.95 kB / 0.5343 GB, free: 10.89 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001814/0.3802, allocations: 85.52 kB / 0.5344 GB, free: 10.82 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003463/0.3806, allocations: 102.4 kB / 0.5345 GB, free: 10.73 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004196/0.381, allocations: 336.6 kB / 0.5348 GB, free: 10.54 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002178/0.3812, allocations: 83.06 kB / 0.5349 GB, free: 10.48 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002386/0.3815, allocations: 131.9 kB / 0.535 GB, free: 10.41 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001987/0.3817, allocations: 128.6 kB / 0.5351 GB, free: 10.32 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 4.204e-05/0.3817, allocations: 26 kB / 0.5352 GB, free: 10.32 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.915e-05/0.3818, allocations: 36.69 kB / 0.5352 GB, free: 10.3 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 5.375e-05/0.3819, allocations: 52.03 kB / 0.5352 GB, free: 10.26 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001682/0.3821, allocations: 150.8 kB / 0.5354 GB, free: 10.16 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004206/0.3825, allocations: 310.4 kB / 0.5357 GB, free: 9.941 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.798e-06/0.3825, allocations: 1.062 kB / 0.5357 GB, free: 9.941 MB / 398.1 MB Notification: Performance of FrontEnd: time 3.116e-06/0.3825, allocations: 0 / 0.5357 GB, free: 9.941 MB / 398.1 MB Notification: Performance of Transformations before backend: time 7.655e-06/0.3825, allocations: 3.938 kB / 0.5357 GB, free: 9.938 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.0009996/0.3835, allocations: 0.5911 MB / 0.5363 GB, free: 9.402 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.436e-05/0.3836, allocations: 10.22 kB / 0.5363 GB, free: 9.402 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002495/0.3838, allocations: 55.78 kB / 0.5363 GB, free: 9.375 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003865/0.3842, allocations: 288.9 kB / 0.5366 GB, free: 9.09 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.031e-05/0.3843, allocations: 19.31 kB / 0.5366 GB, free: 9.082 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.763e-05/0.3843, allocations: 33.77 kB / 0.5366 GB, free: 9.066 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004898/0.3848, allocations: 276.3 kB / 0.5369 GB, free: 8.867 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.462e-05/0.3848, allocations: 14.11 kB / 0.5369 GB, free: 8.855 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.493e-05/0.3849, allocations: 10.41 kB / 0.5369 GB, free: 8.848 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.139e-05/0.3849, allocations: 6.969 kB / 0.5369 GB, free: 8.848 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004181/0.3853, allocations: 187.8 kB / 0.5371 GB, free: 8.766 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001722/0.387, allocations: 1.303 MB / 0.5384 GB, free: 7.551 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004248/0.3875, allocations: 242.9 kB / 0.5386 GB, free: 7.379 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002707/0.3878, allocations: 99.33 kB / 0.5387 GB, free: 7.312 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.598e-05/0.3878, allocations: 11.55 kB / 0.5387 GB, free: 7.305 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.057e-05/0.3878, allocations: 44.98 kB / 0.5388 GB, free: 7.254 MB / 398.1 MB Notification: Performance of pre-optimization done (n=26): time 1.653e-06/0.3878, allocations: 0 / 0.5388 GB, free: 7.254 MB / 398.1 MB Notification: Performance of matching and sorting (n=32): time 0.002583/0.3904, allocations: 1.579 MB / 0.5403 GB, free: 5.844 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.497e-05/0.3905, allocations: 136.8 kB / 0.5404 GB, free: 5.684 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002855/0.3908, allocations: 229.1 kB / 0.5407 GB, free: 5.516 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.939e-05/0.3909, allocations: 30.98 kB / 0.5407 GB, free: 5.48 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001795/0.391, allocations: 186.2 kB / 0.5409 GB, free: 5.309 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001221/0.3912, allocations: 117.2 kB / 0.541 GB, free: 5.207 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001349/0.3913, allocations: 67.5 kB / 0.541 GB, free: 5.16 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001941/0.3915, allocations: 341.7 kB / 0.5414 GB, free: 4.824 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002763/0.3918, allocations: 100.5 kB / 0.5415 GB, free: 4.781 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003942/0.3922, allocations: 240.4 kB / 0.5417 GB, free: 4.559 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007211/0.3929, allocations: 371.8 kB / 0.5421 GB, free: 4.266 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.768e-06/0.3929, allocations: 0.9688 kB / 0.5421 GB, free: 4.266 MB / 398.1 MB Notification: Performance of matching and sorting (n=48) (initialization): time 0.0008999/0.3939, allocations: 404.7 kB / 0.5424 GB, free: 4.055 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.938e-05/0.3939, allocations: 6.719 kB / 0.5424 GB, free: 4.055 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.75e-05/0.3939, allocations: 4.594 kB / 0.5424 GB, free: 4.055 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.46e-05/0.394, allocations: 6.875 kB / 0.5425 GB, free: 4.055 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004174/0.3944, allocations: 98.78 kB / 0.5425 GB, free: 4.031 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.176e-05/0.3944, allocations: 15.47 kB / 0.5426 GB, free: 4.023 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002187/0.3946, allocations: 25.48 kB / 0.5426 GB, free: 4.012 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.662e-05/0.3947, allocations: 13.41 kB / 0.5426 GB, free: 4.012 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.0001845/0.3949, allocations: 157 kB / 0.5428 GB, free: 3.863 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001359/0.395, allocations: 38.33 kB / 0.5428 GB, free: 3.84 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.512e-05/0.3951, allocations: 31.64 kB / 0.5428 GB, free: 3.812 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.685e-06/0.3951, allocations: 8.484 kB / 0.5428 GB, free: 3.809 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.331e-05/0.3951, allocations: 9.031 kB / 0.5428 GB, free: 3.801 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.634e-06/0.3952, allocations: 6.156 kB / 0.5428 GB, free: 3.797 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001643/0.3968, allocations: 0.9749 MB / 0.5438 GB, free: 2.98 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.348e-06/0.3968, allocations: 2.906 kB / 0.5438 GB, free: 2.98 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003392/0.3972, allocations: 77.53 kB / 0.5439 GB, free: 2.961 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.488e-06/0.3972, allocations: 2.219 kB / 0.5439 GB, free: 2.961 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.461e-05/0.3972, allocations: 11.22 kB / 0.5439 GB, free: 2.953 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.098e-06/0.3972, allocations: 3.25 kB / 0.5439 GB, free: 2.953 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.33e-06/0.3972, allocations: 9.016 kB / 0.5439 GB, free: 2.945 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001006/0.3982, allocations: 0.727 MB / 0.5446 GB, free: 2.398 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.818e-05/0.3983, allocations: 104.5 kB / 0.5447 GB, free: 2.285 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.178e-05/0.3984, allocations: 11.66 kB / 0.5447 GB, free: 2.277 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002653/0.3986, allocations: 18.67 kB / 0.5447 GB, free: 2.27 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.954e-05/0.3987, allocations: 26.44 kB / 0.5448 GB, free: 2.254 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.15e-05/0.3988, allocations: 16.17 kB / 0.5448 GB, free: 2.246 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001535/0.3989, allocations: 158.6 kB / 0.5449 GB, free: 2.129 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.914e-06/0.3989, allocations: 0 / 0.5449 GB, free: 2.129 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0005053/0.3994, allocations: 71.94 kB / 0.545 GB, free: 2.113 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.0001445/0.3996, allocations: 104.5 kB / 0.5451 GB, free: 2.016 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0007206/0.4003, allocations: 274.6 kB / 0.5454 GB, free: 1.906 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.455e-06/0.4003, allocations: 1.438 kB / 0.5454 GB, free: 1.906 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003189/0.4006, allocations: 137.2 kB / 0.5455 GB, free: 1.848 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006641/0.4013, allocations: 48.67 kB / 0.5455 GB, free: 1.82 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001352/0.4027, allocations: 0.8846 MB / 0.5464 GB, free: 1.102 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003627/0.4031, allocations: 0.772 MB / 0.5471 GB, free: 308 kB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0001265/0.4032, allocations: 34.95 kB / 0.5472 GB, free: 268 kB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.547e-05/0.4033, allocations: 27.42 kB / 0.5472 GB, free: 240 kB / 398.1 MB Notification: Performance of SimCode: time 2.4e-07/0.4033, allocations: 0 / 0.5472 GB, free: 240 kB / 398.1 MB Notification: Performance of Templates: time 0.005597/0.4089, allocations: 2.462 MB / 0.5496 GB, free: 13.79 MB / 414.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Rotational.TestSpeed.makefile (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 & ./ModelicaTest_trunk_ModelicaTest.Rotational.TestSpeed -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Rotational.TestSpeed.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Rotational.TestSpeed_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Rotational/TestSpeed/TestSpeed.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Rotational.TestSpeed.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches