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.001264/0.001264, allocations: 109.8 kB / 18.45 MB, free: 4.609 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001295/0.001295, allocations: 209.9 kB / 19.4 MB, free: 3.664 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.236/1.236, allocations: 227.4 MB / 247.6 MB, free: 10.56 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.1978/0.1978, allocations: 46.1 MB / 345 MB, free: 11.54 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00137/0.00137, allocations: 72.17 kB / 482 MB, free: 4.129 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2886/0.29, allocations: 62.44 MB / 0.5316 GB, free: 13.62 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.TestSpeed): time 0.003413/0.2934, allocations: 2.628 MB / 0.5342 GB, free: 11.56 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001091/0.2945, allocations: 0.7249 MB / 0.5349 GB, free: 10.96 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001238/0.2947, allocations: 9.281 kB / 0.5349 GB, free: 10.96 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001431/0.2948, allocations: 40.38 kB / 0.535 GB, free: 10.93 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001568/0.295, allocations: 92.45 kB / 0.535 GB, free: 10.84 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002563/0.2953, allocations: 95.61 kB / 0.5351 GB, free: 10.77 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.000315/0.2956, allocations: 341.4 kB / 0.5355 GB, free: 10.56 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000164/0.2958, allocations: 82.31 kB / 0.5355 GB, free: 10.51 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001965/0.296, allocations: 133.2 kB / 0.5357 GB, free: 10.44 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000147/0.2961, allocations: 128.7 kB / 0.5358 GB, free: 10.35 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 3.305e-05/0.2962, allocations: 27.38 kB / 0.5358 GB, free: 10.35 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.614e-05/0.2962, allocations: 31.36 kB / 0.5359 GB, free: 10.34 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 5.027e-05/0.2963, allocations: 60.02 kB / 0.5359 GB, free: 10.29 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001223/0.2964, allocations: 141.9 kB / 0.536 GB, free: 10.2 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003069/0.2967, allocations: 309 kB / 0.5363 GB, free: 9.98 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.887e-06/0.2967, allocations: 1.156 kB / 0.5363 GB, free: 9.98 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.203e-06/0.2967, allocations: 0 / 0.5363 GB, free: 9.98 MB / 398.1 MB Notification: Performance of Transformations before backend: time 6.272e-06/0.2968, allocations: 0 / 0.5363 GB, free: 9.98 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.0007898/0.2976, allocations: 0.5955 MB / 0.5369 GB, free: 9.441 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.214e-05/0.2976, allocations: 8.812 kB / 0.5369 GB, free: 9.441 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002126/0.2978, allocations: 57.09 kB / 0.537 GB, free: 9.414 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000324/0.2981, allocations: 284.7 kB / 0.5373 GB, free: 9.133 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.578e-05/0.2982, allocations: 17.97 kB / 0.5373 GB, free: 9.125 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.576e-05/0.2982, allocations: 25.59 kB / 0.5373 GB, free: 9.117 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004309/0.2987, allocations: 277.3 kB / 0.5376 GB, free: 8.918 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.361e-05/0.2987, allocations: 10 kB / 0.5376 GB, free: 8.91 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.172e-05/0.2987, allocations: 10.91 kB / 0.5376 GB, free: 8.902 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.257e-06/0.2987, allocations: 5.656 kB / 0.5376 GB, free: 8.902 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003813/0.2991, allocations: 184.8 kB / 0.5378 GB, free: 8.82 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00147/0.3006, allocations: 1.31 MB / 0.539 GB, free: 7.598 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003773/0.301, allocations: 250.5 kB / 0.5393 GB, free: 7.418 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000179/0.3012, allocations: 112.5 kB / 0.5394 GB, free: 7.34 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.368e-05/0.3012, allocations: 3.156 kB / 0.5394 GB, free: 7.34 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.134e-05/0.3012, allocations: 36.59 kB / 0.5394 GB, free: 7.297 MB / 398.1 MB Notification: Performance of pre-optimization done (n=26): time 1.442e-06/0.3012, allocations: 0.8438 kB / 0.5394 GB, free: 7.297 MB / 398.1 MB Notification: Performance of matching and sorting (n=32): time 0.00229/0.3035, allocations: 1.565 MB / 0.541 GB, free: 5.898 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.335e-05/0.3036, allocations: 137 kB / 0.5411 GB, free: 5.738 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001961/0.3038, allocations: 225.1 kB / 0.5413 GB, free: 5.574 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.316e-05/0.3038, allocations: 31.27 kB / 0.5413 GB, free: 5.539 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.452e-05/0.3039, allocations: 186.7 kB / 0.5415 GB, free: 5.367 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.087e-05/0.304, allocations: 119.2 kB / 0.5416 GB, free: 5.262 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.901e-05/0.3041, allocations: 70.95 kB / 0.5417 GB, free: 5.211 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001079/0.3042, allocations: 342 kB / 0.542 GB, free: 4.875 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002301/0.3045, allocations: 100.3 kB / 0.5421 GB, free: 4.832 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003123/0.3048, allocations: 233 kB / 0.5423 GB, free: 4.617 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005539/0.3054, allocations: 371.5 kB / 0.5427 GB, free: 4.324 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.567e-06/0.3054, allocations: 0.9375 kB / 0.5427 GB, free: 4.324 MB / 398.1 MB Notification: Performance of matching and sorting (n=48) (initialization): time 0.0006935/0.3061, allocations: 393.9 kB / 0.5431 GB, free: 4.125 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.693e-05/0.3061, allocations: 6.438 kB / 0.5431 GB, free: 4.125 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.949e-06/0.3061, allocations: 5.5 kB / 0.5431 GB, free: 4.125 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.86e-05/0.3061, allocations: 6.281 kB / 0.5431 GB, free: 4.125 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003442/0.3065, allocations: 102.6 kB / 0.5432 GB, free: 4.098 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.355e-05/0.3065, allocations: 15.3 kB / 0.5432 GB, free: 4.09 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001977/0.3067, allocations: 25.61 kB / 0.5432 GB, free: 4.078 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.756e-05/0.3068, allocations: 18.34 kB / 0.5432 GB, free: 4.074 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.0001356/0.3069, allocations: 152 kB / 0.5434 GB, free: 3.93 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.224e-05/0.307, allocations: 29.19 kB / 0.5434 GB, free: 3.914 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.324e-05/0.3071, allocations: 36.3 kB / 0.5434 GB, free: 3.883 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.639e-06/0.3071, allocations: 4.5 kB / 0.5434 GB, free: 3.883 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.903e-06/0.3071, allocations: 1.094 kB / 0.5434 GB, free: 3.883 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.001e-06/0.3071, allocations: 8.953 kB / 0.5435 GB, free: 3.875 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001331/0.3084, allocations: 0.9851 MB / 0.5444 GB, free: 3.051 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.517e-06/0.3084, allocations: 1.781 kB / 0.5444 GB, free: 3.051 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003353/0.3088, allocations: 81.75 kB / 0.5445 GB, free: 3.027 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.24e-06/0.3088, allocations: 2.25 kB / 0.5445 GB, free: 3.027 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.363e-05/0.3088, allocations: 11.22 kB / 0.5445 GB, free: 3.02 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.218e-06/0.3088, allocations: 3.281 kB / 0.5445 GB, free: 3.02 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.215e-06/0.3088, allocations: 1.125 kB / 0.5445 GB, free: 3.02 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000899/0.3097, allocations: 0.7299 MB / 0.5452 GB, free: 2.469 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.543e-05/0.3098, allocations: 109.5 kB / 0.5453 GB, free: 2.352 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.753e-05/0.3099, allocations: 10.62 kB / 0.5453 GB, free: 2.344 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002666/0.3101, allocations: 22.75 kB / 0.5454 GB, free: 2.332 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.855e-05/0.3102, allocations: 23.16 kB / 0.5454 GB, free: 2.32 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.712e-05/0.3102, allocations: 7.344 kB / 0.5454 GB, free: 2.32 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001401/0.3104, allocations: 166.6 kB / 0.5456 GB, free: 2.195 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.3104, allocations: 3.938 kB / 0.5456 GB, free: 2.191 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0004546/0.3108, allocations: 65.12 kB / 0.5456 GB, free: 2.184 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.0001022/0.3109, allocations: 104.5 kB / 0.5457 GB, free: 2.086 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0005736/0.3115, allocations: 285.9 kB / 0.546 GB, free: 1.965 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.775e-06/0.3115, allocations: 1.156 kB / 0.546 GB, free: 1.965 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002462/0.3118, allocations: 125.1 kB / 0.5461 GB, free: 1.918 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005863/0.3124, allocations: 52.2 kB / 0.5462 GB, free: 1.891 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001302/0.3137, allocations: 0.9041 MB / 0.547 GB, free: 1.141 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003137/0.314, allocations: 0.772 MB / 0.5478 GB, free: 348 kB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.224e-05/0.3141, allocations: 27.44 kB / 0.5478 GB, free: 320 kB / 398.1 MB Notification: Performance of SimCode: time 2.2e-07/0.3141, allocations: 0 / 0.5478 GB, free: 320 kB / 398.1 MB Notification: Performance of Templates: time 0.005012/0.3191, allocations: 3.384 MB / 0.5511 GB, free: 12.93 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/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