Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Rotational.TestSpeed.conf.json loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package ModelicaServices with version trunk (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Using package Modelica with version trunk (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 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(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001038/0.001038, allocations: 192.8 kB / 17.43 MB, free: 4.398 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.365/1.365, allocations: 229.5 MB / 247.7 MB, free: 6.305 MB / 202.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.000855/0.000855, allocations: 95.53 kB / 299.8 MB, free: 5.336 MB / 234.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.3357/0.3357, allocations: 45.01 MB / 397 MB, free: 31.47 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002603/0.0002603, allocations: 4 kB / 470.8 MB, free: 7.098 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3067/0.307, allocations: 63.09 MB / 0.5214 GB, free: 38.48 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.TestSpeed): time 0.002173/0.3092, allocations: 2.232 MB / 0.5235 GB, free: 36.88 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.0008843/0.3101, allocations: 0.8897 MB / 0.5244 GB, free: 36.12 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001158/0.3103, allocations: 6.75 kB / 0.5244 GB, free: 36.12 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001127/0.3104, allocations: 35.78 kB / 0.5244 GB, free: 36.1 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001211/0.3105, allocations: 74.64 kB / 0.5245 GB, free: 36.05 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001914/0.3107, allocations: 75.47 kB / 0.5246 GB, free: 36 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002374/0.311, allocations: 317.4 kB / 0.5249 GB, free: 35.85 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000134/0.3111, allocations: 72.39 kB / 0.525 GB, free: 35.81 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001624/0.3113, allocations: 113.5 kB / 0.5251 GB, free: 35.76 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001167/0.3114, allocations: 126.2 kB / 0.5252 GB, free: 35.7 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 2.688e-05/0.3114, allocations: 11.5 kB / 0.5252 GB, free: 35.7 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 5.805e-05/0.3115, allocations: 17.77 kB / 0.5252 GB, free: 35.7 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 3.15e-05/0.3115, allocations: 43.17 kB / 0.5253 GB, free: 35.67 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 9.786e-05/0.3116, allocations: 154.9 kB / 0.5254 GB, free: 35.57 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002485/0.3119, allocations: 275 kB / 0.5257 GB, free: 35.48 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.61e-06/0.3119, allocations: 8 kB / 0.5257 GB, free: 35.47 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.352e-06/0.3119, allocations: 3.938 kB / 0.5257 GB, free: 35.46 MB / 378.7 MB Notification: Performance of Transformations before backend: time 6.232e-06/0.3119, allocations: 0 / 0.5257 GB, free: 35.46 MB / 378.7 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.0006487/0.3126, allocations: 0.5499 MB / 0.5262 GB, free: 35 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.144e-05/0.3126, allocations: 8.156 kB / 0.5262 GB, free: 35 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002087/0.3128, allocations: 56.23 kB / 0.5263 GB, free: 34.98 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002169/0.3131, allocations: 261.9 kB / 0.5265 GB, free: 34.74 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.675e-05/0.3131, allocations: 21.5 kB / 0.5265 GB, free: 34.73 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.457e-05/0.3131, allocations: 34.16 kB / 0.5266 GB, free: 34.71 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003856/0.3135, allocations: 285.4 kB / 0.5269 GB, free: 34.56 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.697e-05/0.3136, allocations: 2.5 kB / 0.5269 GB, free: 34.56 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.11e-05/0.3136, allocations: 18.5 kB / 0.5269 GB, free: 34.54 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.865e-06/0.3136, allocations: 5.375 kB / 0.5269 GB, free: 34.54 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003611/0.314, allocations: 199.2 kB / 0.5271 GB, free: 34.5 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001286/0.3153, allocations: 1.321 MB / 0.5284 GB, free: 33.41 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003532/0.3156, allocations: 249.2 kB / 0.5286 GB, free: 33.25 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000203/0.3158, allocations: 117.5 kB / 0.5287 GB, free: 33.19 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.508e-05/0.3159, allocations: 2.844 kB / 0.5287 GB, free: 33.19 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.408e-05/0.3159, allocations: 41.28 kB / 0.5287 GB, free: 33.14 MB / 378.7 MB Notification: Performance of pre-optimization done (n=26): time 1.443e-06/0.3159, allocations: 0 / 0.5287 GB, free: 33.14 MB / 378.7 MB Notification: Performance of matching and sorting (n=32): time 0.002026/0.3179, allocations: 1.626 MB / 0.5303 GB, free: 31.83 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.598e-05/0.318, allocations: 134.9 kB / 0.5305 GB, free: 31.67 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001629/0.3182, allocations: 224.1 kB / 0.5307 GB, free: 31.53 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.709e-05/0.3182, allocations: 32.48 kB / 0.5307 GB, free: 31.5 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.283e-05/0.3183, allocations: 173.9 kB / 0.5309 GB, free: 31.34 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.74e-05/0.3183, allocations: 118.9 kB / 0.531 GB, free: 31.25 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.32e-05/0.3183, allocations: 10.88 kB / 0.531 GB, free: 31.24 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 6.333e-05/0.3184, allocations: 338.7 kB / 0.5313 GB, free: 30.92 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002233/0.3186, allocations: 108 kB / 0.5314 GB, free: 30.89 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000255/0.3189, allocations: 247.3 kB / 0.5317 GB, free: 30.69 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004794/0.3194, allocations: 388 kB / 0.532 GB, free: 30.43 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.675e-06/0.3194, allocations: 2.688 kB / 0.532 GB, free: 30.43 MB / 378.7 MB Notification: Performance of matching and sorting (n=48) (initialization): time 0.0006133/0.32, allocations: 426.4 kB / 0.5324 GB, free: 30.26 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.378e-05/0.32, allocations: 8.75 kB / 0.5324 GB, free: 30.26 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.592e-06/0.3201, allocations: 3.594 kB / 0.5325 GB, free: 30.26 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.08e-05/0.3201, allocations: 6 kB / 0.5325 GB, free: 30.26 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003374/0.3204, allocations: 108.5 kB / 0.5326 GB, free: 30.25 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.247e-05/0.3204, allocations: 11.97 kB / 0.5326 GB, free: 30.25 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001855/0.3206, allocations: 40.88 kB / 0.5326 GB, free: 30.23 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.668e-05/0.3207, allocations: 18 kB / 0.5326 GB, free: 30.23 MB / 378.7 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 9.794e-05/0.3208, allocations: 148.6 kB / 0.5328 GB, free: 30.09 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.199e-05/0.3209, allocations: 29.81 kB / 0.5328 GB, free: 30.07 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.156e-05/0.3209, allocations: 38.56 kB / 0.5328 GB, free: 30.05 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.058e-06/0.3209, allocations: 6.188 kB / 0.5328 GB, free: 30.05 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.34e-06/0.3209, allocations: 0 / 0.5328 GB, free: 30.05 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.058e-06/0.3209, allocations: 3.328 kB / 0.5328 GB, free: 30.05 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001099/0.3221, allocations: 1.005 MB / 0.5338 GB, free: 29.34 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.865e-06/0.3221, allocations: 6.625 kB / 0.5338 GB, free: 29.33 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003232/0.3224, allocations: 82.97 kB / 0.5339 GB, free: 29.32 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.667e-06/0.3224, allocations: 3.031 kB / 0.5339 GB, free: 29.32 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.263e-05/0.3224, allocations: 17.78 kB / 0.5339 GB, free: 29.31 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.055e-06/0.3224, allocations: 2.969 kB / 0.5339 GB, free: 29.31 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.845e-06/0.3225, allocations: 6.875 kB / 0.5339 GB, free: 29.31 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007903/0.3232, allocations: 0.7585 MB / 0.5347 GB, free: 28.81 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.429e-05/0.3233, allocations: 99.94 kB / 0.5348 GB, free: 28.71 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.724e-05/0.3233, allocations: 10.56 kB / 0.5348 GB, free: 28.7 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002665/0.3236, allocations: 24.27 kB / 0.5348 GB, free: 28.7 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.269e-05/0.3237, allocations: 32.61 kB / 0.5348 GB, free: 28.68 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.727e-05/0.3237, allocations: 13.28 kB / 0.5349 GB, free: 28.68 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001025/0.3239, allocations: 156.5 kB / 0.535 GB, free: 28.58 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.31e-07/0.3239, allocations: 3.938 kB / 0.535 GB, free: 28.58 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0003982/0.3243, allocations: 67.72 kB / 0.5351 GB, free: 28.57 MB / 378.7 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 9.516e-05/0.3244, allocations: 108.2 kB / 0.5352 GB, free: 28.47 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0005617/0.3249, allocations: 299.3 kB / 0.5355 GB, free: 28.39 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 1.663e-06/0.3249, allocations: 0 / 0.5355 GB, free: 28.39 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000259/0.3252, allocations: 148.6 kB / 0.5356 GB, free: 28.35 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006055/0.3258, allocations: 43.34 kB / 0.5356 GB, free: 28.33 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001185/0.327, allocations: 1.104 MB / 0.5367 GB, free: 27.54 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002095/0.3272, allocations: 0.7704 MB / 0.5375 GB, free: 26.84 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0001347/0.3274, allocations: 37.23 kB / 0.5375 GB, free: 26.82 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.679e-05/0.3274, allocations: 23.19 kB / 0.5375 GB, free: 26.82 MB / 378.7 MB Notification: Performance of SimCode: time 2.1e-07/0.3275, allocations: 0 / 0.5375 GB, free: 26.82 MB / 378.7 MB Notification: Performance of Templates: time 0.004742/0.3322, allocations: 2.186 MB / 0.5397 GB, free: 26.65 MB / 378.7 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","../files/ModelicaTest_trunk_ModelicaTest.Rotational.TestSpeed.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches