Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Mechanics.Rotational.Examples.First.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Modelica.Mechanics.Rotational.Examples.First,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|damper.phi_rel|damper.w_rel|inertia3.phi|inertia3.w",fileNamePrefix="Modelica_3.2.3_Modelica.Mechanics.Rotational.Examples.First") translateModel(Modelica.Mechanics.Rotational.Examples.First,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|damper.phi_rel|damper.w_rel|inertia3.phi|inertia3.w",fileNamePrefix="Modelica_3.2.3_Modelica.Mechanics.Rotational.Examples.First") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001137/0.001137, allocations: 111.7 kB / 17.73 MB, free: 5.359 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001253/0.001253, allocations: 188.1 kB / 18.66 MB, free: 4.438 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.484/1.484, allocations: 205.1 MB / 224.5 MB, free: 12.25 MB / 190.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001347/0.001347, allocations: 51.92 kB / 328.5 MB, free: 3.324 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09739/0.09875, allocations: 46.62 MB / 375.1 MB, free: 4.594 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Rotational.Examples.First): time 0.004131/0.1029, allocations: 2.337 MB / 377.5 MB, free: 2.242 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001401/0.1044, allocations: 0.6317 MB / 378.1 MB, free: 1.602 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002652/0.1046, allocations: 7.938 kB / 378.1 MB, free: 1.594 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002014/0.1049, allocations: 31.66 kB / 378.1 MB, free: 1.562 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002497/0.1052, allocations: 83.33 kB / 378.2 MB, free: 1.48 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00027/0.1054, allocations: 47.88 kB / 378.3 MB, free: 1.434 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003418/0.1058, allocations: 282.7 kB / 378.6 MB, free: 1.156 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002306/0.106, allocations: 98.73 kB / 378.6 MB, free: 1.059 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002194/0.1063, allocations: 115.6 kB / 378.8 MB, free: 0.9453 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001828/0.1065, allocations: 107.5 kB / 378.9 MB, free: 0.8398 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 3.718e-05/0.1065, allocations: 20 kB / 378.9 MB, free: 0.8203 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.947e-05/0.1065, allocations: 24 kB / 378.9 MB, free: 0.7969 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 5.683e-05/0.1066, allocations: 55.77 kB / 379 MB, free: 0.7422 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000125/0.1067, allocations: 123.4 kB / 379.1 MB, free: 0.6211 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003304/0.1071, allocations: 263 kB / 379.3 MB, free: 372 kB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.289e-06/0.1071, allocations: 0 / 379.3 MB, free: 372 kB / 318.1 MB Notification: Performance of FrontEnd: time 1.813e-06/0.1071, allocations: 0 / 379.3 MB, free: 372 kB / 318.1 MB Notification: Performance of Transformations before backend: time 1.302e-05/0.1071, allocations: 3.984 kB / 379.3 MB, free: 368 kB / 318.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 54 * Number of variables: 54 Notification: Performance of Generate backend data structure: time 0.1983/0.3054, allocations: 0.5113 MB / 379.9 MB, free: 13.13 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.227e-05/0.3055, allocations: 15.45 kB / 379.9 MB, free: 13.12 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.436e-05/0.3055, allocations: 25.5 kB / 379.9 MB, free: 13.11 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002915/0.3058, allocations: 250.2 kB / 380.1 MB, free: 12.89 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.9e-05/0.3059, allocations: 18.19 kB / 380.2 MB, free: 12.89 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.829e-05/0.3059, allocations: 26.52 kB / 380.2 MB, free: 12.89 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003856/0.3063, allocations: 191.8 kB / 380.4 MB, free: 12.85 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.787e-05/0.3063, allocations: 2.297 kB / 380.4 MB, free: 12.85 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.324e-05/0.3064, allocations: 15.41 kB / 380.4 MB, free: 12.85 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.538e-06/0.3064, allocations: 5.688 kB / 380.4 MB, free: 12.85 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002729/0.3067, allocations: 138.5 kB / 380.5 MB, free: 12.85 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008788/0.3076, allocations: 0.6263 MB / 381.2 MB, free: 12.55 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002827/0.3078, allocations: 175.3 kB / 381.3 MB, free: 12.52 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001619/0.308, allocations: 103.3 kB / 381.4 MB, free: 12.52 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.055e-05/0.3081, allocations: 2.75 kB / 381.4 MB, free: 12.52 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.658e-05/0.3081, allocations: 34.8 kB / 381.5 MB, free: 12.48 MB / 318.1 MB Notification: Performance of pre-optimization done (n=24): time 1.423e-06/0.3081, allocations: 0 / 381.5 MB, free: 12.48 MB / 318.1 MB Notification: Performance of matching and sorting (n=32): time 0.001838/0.3099, allocations: 1.067 MB / 382.5 MB, free: 11.84 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.625e-05/0.31, allocations: 64.59 kB / 382.6 MB, free: 11.77 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001767/0.3101, allocations: 184.3 kB / 382.8 MB, free: 11.64 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.925e-05/0.3102, allocations: 32.39 kB / 382.8 MB, free: 11.61 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.059e-05/0.3102, allocations: 138.4 kB / 382.9 MB, free: 11.48 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.543e-05/0.3103, allocations: 115 kB / 383.1 MB, free: 11.39 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.792e-05/0.3104, allocations: 53.39 kB / 383.1 MB, free: 11.36 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 5.563e-05/0.3104, allocations: 334.1 kB / 383.4 MB, free: 11.04 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001371/0.3106, allocations: 70.52 kB / 383.5 MB, free: 11.02 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001635/0.3107, allocations: 101.9 kB / 383.6 MB, free: 10.96 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002894/0.311, allocations: 195.5 kB / 383.8 MB, free: 10.87 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.232e-06/0.3111, allocations: 0 / 383.8 MB, free: 10.87 MB / 318.1 MB Notification: Performance of matching and sorting (n=37) (initialization): time 0.0004538/0.3115, allocations: 301.8 kB / 384.1 MB, free: 10.73 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.801e-05/0.3115, allocations: 9.703 kB / 384.1 MB, free: 10.73 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.131e-06/0.3116, allocations: 5.188 kB / 384.1 MB, free: 10.72 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001689/0.3117, allocations: 41.72 kB / 384.1 MB, free: 10.71 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002409/0.312, allocations: 51.83 kB / 384.2 MB, free: 10.71 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001101/0.3131, allocations: 1.747 MB / 385.9 MB, free: 9.043 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001205/0.3132, allocations: 9.641 kB / 385.9 MB, free: 9.039 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.638e-05/0.3132, allocations: 11.41 kB / 386 MB, free: 9.035 MB / 318.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * 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 (32): * Single equations (assignments): 31 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,5,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 9.735e-05/0.3133, allocations: 141.4 kB / 386.1 MB, free: 8.898 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.553e-05/0.3134, allocations: 26.61 kB / 386.1 MB, free: 8.883 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.334e-05/0.3135, allocations: 30.19 kB / 386.2 MB, free: 8.859 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.206e-06/0.3135, allocations: 3.219 kB / 386.2 MB, free: 8.859 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.522e-06/0.3135, allocations: 2.188 kB / 386.2 MB, free: 8.859 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.731e-06/0.3135, allocations: 1.594 kB / 386.2 MB, free: 8.859 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009361/0.3144, allocations: 0.7777 MB / 386.9 MB, free: 8.316 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.787e-06/0.3144, allocations: 2.672 kB / 386.9 MB, free: 8.316 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002484/0.3147, allocations: 57.03 kB / 387 MB, free: 8.312 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001088/0.3148, allocations: 40.39 kB / 387 MB, free: 8.297 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.866e-05/0.3148, allocations: 11.91 kB / 387 MB, free: 8.289 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007878/0.3156, allocations: 1.474 MB / 388.5 MB, free: 6.84 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.677e-06/0.3157, allocations: 6.188 kB / 388.5 MB, free: 6.836 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006184/0.3163, allocations: 485.3 kB / 389 MB, free: 6.539 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.217e-05/0.3163, allocations: 100.2 kB / 389.1 MB, free: 6.43 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.048e-05/0.3164, allocations: 11.22 kB / 389.1 MB, free: 6.422 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001335/0.3165, allocations: 8.984 kB / 389.1 MB, free: 6.418 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.763e-05/0.3166, allocations: 17.92 kB / 389.1 MB, free: 6.418 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.635e-05/0.3166, allocations: 11.45 kB / 389.1 MB, free: 6.414 MB / 318.1 MB Notification: Performance of sorting global known variables: time 9.187e-05/0.3167, allocations: 131.1 kB / 389.3 MB, free: 6.324 MB / 318.1 MB Notification: Performance of sort global known variables: time 9e-08/0.3167, allocations: 3.281 kB / 389.3 MB, free: 6.324 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0003762/0.3171, allocations: 69.19 kB / 389.3 MB, free: 6.312 MB / 318.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 4 (inertia3.phi,inertia3.w,damper.phi_rel,damper.w_rel) * 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 (29): * Single equations (assignments): 28 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,3,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0001032/0.3172, allocations: 103.7 kB / 389.4 MB, free: 6.219 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0005828/0.3178, allocations: 336.1 kB / 389.8 MB, free: 6.035 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 2.265e-06/0.3178, allocations: 0 / 389.8 MB, free: 6.035 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003063/0.3181, allocations: 249.2 kB / 390 MB, free: 5.879 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004366/0.3186, allocations: 47.78 kB / 390.1 MB, free: 5.863 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001067/0.3196, allocations: 0.7217 MB / 390.8 MB, free: 5.383 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001785/0.3198, allocations: 0.76 MB / 391.5 MB, free: 4.68 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 8.812e-05/0.3199, allocations: 25.92 kB / 391.6 MB, free: 4.676 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.104e-05/0.32, allocations: 20.53 kB / 391.6 MB, free: 4.668 MB / 318.1 MB Notification: Performance of SimCode: time 2.1e-07/0.32, allocations: 1.062 kB / 391.6 MB, free: 4.668 MB / 318.1 MB Notification: Performance of Templates: time 0.006406/0.3264, allocations: 2.722 MB / 394.3 MB, free: 4.457 MB / 318.1 MB make -j1 -f Modelica_3.2.3_Modelica.Mechanics.Rotational.Examples.First.makefile (rm -f Modelica_3.2.3_Modelica.Mechanics.Rotational.Examples.First.pipe ; mkfifo Modelica_3.2.3_Modelica.Mechanics.Rotational.Examples.First.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Mechanics.Rotational.Examples.First.pipe >> ../files/Modelica_3.2.3_Modelica.Mechanics.Rotational.Examples.First.sim & ./Modelica_3.2.3_Modelica.Mechanics.Rotational.Examples.First -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Mechanics.Rotational.Examples.First.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Mechanics.Rotational.Examples.First_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Mechanics/Rotational/Examples/First/First.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Mechanics.Rotational.Examples.First.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches