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.001373/0.001373, allocations: 121.6 kB / 17.78 MB, free: 5.262 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.00184/0.00184, allocations: 199.9 kB / 18.73 MB, free: 4.324 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.411/1.411, 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.2654/0.2654, allocations: 46.1 MB / 344.3 MB, free: 11.5 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001595/0.001595, allocations: 79.86 kB / 481.3 MB, free: 4.09 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4006/0.4022, allocations: 62.42 MB / 0.531 GB, free: 13.61 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.TestSpeed): time 0.004073/0.4063, allocations: 2.636 MB / 0.5335 GB, free: 11.54 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001327/0.4076, allocations: 0.7286 MB / 0.5342 GB, free: 10.95 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001424/0.4078, allocations: 5.5 kB / 0.5343 GB, free: 10.95 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001555/0.4079, allocations: 43.64 kB / 0.5343 GB, free: 10.91 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001719/0.4081, allocations: 92.83 kB / 0.5344 GB, free: 10.82 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000314/0.4085, allocations: 102.8 kB / 0.5345 GB, free: 10.74 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003982/0.4089, allocations: 333.5 kB / 0.5348 GB, free: 10.54 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000217/0.4091, allocations: 90.84 kB / 0.5349 GB, free: 10.48 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002613/0.4094, allocations: 129.1 kB / 0.535 GB, free: 10.41 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001889/0.4096, allocations: 132.6 kB / 0.5351 GB, free: 10.32 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 4.214e-05/0.4096, allocations: 26.53 kB / 0.5352 GB, free: 10.32 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.163e-05/0.4097, allocations: 31.69 kB / 0.5352 GB, free: 10.31 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 5.114e-05/0.4098, allocations: 60.7 kB / 0.5352 GB, free: 10.26 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001527/0.4099, allocations: 145.9 kB / 0.5354 GB, free: 10.16 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003815/0.4103, allocations: 305.5 kB / 0.5357 GB, free: 9.953 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.899e-06/0.4103, allocations: 0 / 0.5357 GB, free: 9.953 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.955e-06/0.4103, allocations: 0 / 0.5357 GB, free: 9.953 MB / 398.1 MB Notification: Performance of Transformations before backend: time 8.416e-06/0.4103, allocations: 3.938 kB / 0.5357 GB, free: 9.949 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.0009562/0.4113, allocations: 0.5952 MB / 0.5363 GB, free: 9.41 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.917e-05/0.4113, allocations: 9.5 kB / 0.5363 GB, free: 9.41 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002695/0.4116, allocations: 48.48 kB / 0.5363 GB, free: 9.391 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004053/0.412, allocations: 280.4 kB / 0.5366 GB, free: 9.113 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.614e-05/0.4121, allocations: 22.69 kB / 0.5366 GB, free: 9.102 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.177e-05/0.4121, allocations: 29.55 kB / 0.5366 GB, free: 9.09 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005173/0.4127, allocations: 273.2 kB / 0.5369 GB, free: 8.895 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.211e-05/0.4127, allocations: 10.81 kB / 0.5369 GB, free: 8.887 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.53e-05/0.4127, allocations: 14.47 kB / 0.5369 GB, free: 8.875 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.005e-05/0.4127, allocations: 5.5 kB / 0.5369 GB, free: 8.875 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004199/0.4132, allocations: 184.4 kB / 0.5371 GB, free: 8.793 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00158/0.4148, allocations: 1.302 MB / 0.5384 GB, free: 7.578 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004065/0.4152, allocations: 247.9 kB / 0.5386 GB, free: 7.402 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002113/0.4154, allocations: 102.6 kB / 0.5387 GB, free: 7.332 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.076e-05/0.4154, allocations: 12.27 kB / 0.5387 GB, free: 7.324 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.565e-05/0.4155, allocations: 36.25 kB / 0.5388 GB, free: 7.281 MB / 398.1 MB Notification: Performance of pre-optimization done (n=26): time 1.472e-06/0.4155, allocations: 0 / 0.5388 GB, free: 7.281 MB / 398.1 MB Notification: Performance of matching and sorting (n=32): time 0.002518/0.418, allocations: 1.566 MB / 0.5403 GB, free: 5.883 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.561e-05/0.4181, allocations: 137.4 kB / 0.5404 GB, free: 5.723 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002192/0.4183, allocations: 227.5 kB / 0.5406 GB, free: 5.555 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.526e-05/0.4184, allocations: 31.95 kB / 0.5407 GB, free: 5.52 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001145/0.4185, allocations: 174.9 kB / 0.5408 GB, free: 5.359 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.466e-05/0.4186, allocations: 119.1 kB / 0.5409 GB, free: 5.254 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.702e-05/0.4187, allocations: 76.09 kB / 0.541 GB, free: 5.199 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001147/0.4188, allocations: 337.5 kB / 0.5413 GB, free: 4.867 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002402/0.419, allocations: 100.5 kB / 0.5414 GB, free: 4.824 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003157/0.4194, allocations: 241 kB / 0.5417 GB, free: 4.602 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006291/0.42, allocations: 371.1 kB / 0.542 GB, free: 4.309 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.286e-06/0.42, allocations: 1.25 kB / 0.542 GB, free: 4.309 MB / 398.1 MB Notification: Performance of matching and sorting (n=48) (initialization): time 0.0007484/0.4208, allocations: 396.4 kB / 0.5424 GB, free: 4.105 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.159e-05/0.4208, allocations: 7.938 kB / 0.5424 GB, free: 4.105 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.498e-06/0.4208, allocations: 4.5 kB / 0.5424 GB, free: 4.105 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.397e-05/0.4208, allocations: 6.5 kB / 0.5424 GB, free: 4.105 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003771/0.4212, allocations: 98.62 kB / 0.5425 GB, free: 4.082 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.356e-05/0.4213, allocations: 11.12 kB / 0.5425 GB, free: 4.078 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000209/0.4215, allocations: 29.14 kB / 0.5425 GB, free: 4.062 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.157e-05/0.4215, allocations: 22.36 kB / 0.5426 GB, free: 4.055 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.0001392/0.4217, allocations: 148.6 kB / 0.5427 GB, free: 3.914 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001044/0.4218, allocations: 33.61 kB / 0.5427 GB, free: 3.895 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.533e-05/0.4219, allocations: 40.36 kB / 0.5428 GB, free: 3.859 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.223e-06/0.4219, allocations: 12.11 kB / 0.5428 GB, free: 3.852 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.927e-06/0.4219, allocations: 1.031 kB / 0.5428 GB, free: 3.852 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.229e-06/0.4219, allocations: 2.25 kB / 0.5428 GB, free: 3.852 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001441/0.4233, allocations: 0.9789 MB / 0.5438 GB, free: 3.031 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.657e-06/0.4234, allocations: 2.156 kB / 0.5438 GB, free: 3.031 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003724/0.4237, allocations: 77.98 kB / 0.5438 GB, free: 3.012 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.901e-06/0.4238, allocations: 2.312 kB / 0.5438 GB, free: 3.012 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.53e-05/0.4238, allocations: 11.34 kB / 0.5438 GB, free: 3.004 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.082e-06/0.4238, allocations: 7.453 kB / 0.5438 GB, free: 3 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.788e-06/0.4238, allocations: 5.031 kB / 0.5439 GB, free: 2.996 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009856/0.4248, allocations: 0.7218 MB / 0.5446 GB, free: 2.453 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.319e-05/0.4249, allocations: 109.2 kB / 0.5447 GB, free: 2.336 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.406e-05/0.4249, allocations: 15.53 kB / 0.5447 GB, free: 2.324 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002847/0.4252, allocations: 18.7 kB / 0.5447 GB, free: 2.316 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.804e-05/0.4253, allocations: 26.5 kB / 0.5447 GB, free: 2.301 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.861e-05/0.4253, allocations: 11.64 kB / 0.5447 GB, free: 2.297 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.000148/0.4255, allocations: 166.8 kB / 0.5449 GB, free: 2.172 MB / 398.1 MB Notification: Performance of sort global known variables: time 2.495e-06/0.4255, allocations: 0 / 0.5449 GB, free: 2.172 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0004951/0.426, allocations: 69.09 kB / 0.545 GB, free: 2.16 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.0001142/0.4261, allocations: 100.5 kB / 0.5451 GB, free: 2.066 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0006911/0.4268, allocations: 274.2 kB / 0.5453 GB, free: 1.957 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.364e-06/0.4268, allocations: 1.5 kB / 0.5453 GB, free: 1.957 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002845/0.4271, allocations: 137.4 kB / 0.5454 GB, free: 1.898 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006698/0.4278, allocations: 47.5 kB / 0.5455 GB, free: 1.871 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001396/0.4292, allocations: 0.8701 MB / 0.5463 GB, free: 1.164 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003154/0.4295, allocations: 0.772 MB / 0.5471 GB, free: 372 kB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0001257/0.4297, allocations: 34.95 kB / 0.5471 GB, free: 332 kB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.434e-05/0.4297, allocations: 27.42 kB / 0.5472 GB, free: 304 kB / 398.1 MB Notification: Performance of SimCode: time 2.21e-07/0.4298, allocations: 0 / 0.5472 GB, free: 304 kB / 398.1 MB Notification: Performance of Templates: time 0.005646/0.4354, allocations: 2.462 MB / 0.5496 GB, free: 13.85 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