Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_Modelica.Mechanics.Rotational.Examples.FirstGrounded.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo", uses=false) [Timeout 90] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/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(Modelica.Mechanics.Rotational.Examples.FirstGrounded,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|damper.phi_rel|damper.w_rel|inertia3.phi|inertia3.w",fileNamePrefix="Modelica_4.1.0-beta.om_Modelica.Mechanics.Rotational.Examples.FirstGrounded") translateModel(Modelica.Mechanics.Rotational.Examples.FirstGrounded,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|damper.phi_rel|damper.w_rel|inertia3.phi|inertia3.w",fileNamePrefix="Modelica_4.1.0-beta.om_Modelica.Mechanics.Rotational.Examples.FirstGrounded") [Timeout 660] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001814/0.001814, allocations: 108.7 kB / 18.78 MB, free: 3.586 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002213/0.002213, allocations: 207.9 kB / 19.79 MB, free: 2.586 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo): time 1.473/1.473, allocations: 230.4 MB / 251.1 MB, free: 8.504 MB / 206.1 MB Warning: Requested package Modelica of version trunk, but this package was already loaded with version 4.1.0. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package Complex of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package ModelicaServices of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.002047/0.002047, allocations: 67.83 kB / 368.9 MB, free: 6.094 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2677/0.2698, allocations: 53.31 MB / 422.3 MB, free: 7.863 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Rotational.Examples.FirstGrounded): time 0.003778/0.2735, allocations: 2.38 MB / 424.6 MB, free: 5.477 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.00111/0.2747, allocations: 0.6543 MB / 425.3 MB, free: 4.816 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001121/0.2748, allocations: 7.938 kB / 425.3 MB, free: 4.809 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001502/0.2749, allocations: 35.66 kB / 425.3 MB, free: 4.773 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001377/0.2751, allocations: 67.36 kB / 425.4 MB, free: 4.707 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002645/0.2753, allocations: 67.84 kB / 425.5 MB, free: 4.641 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003569/0.2757, allocations: 250.8 kB / 425.7 MB, free: 4.395 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001884/0.2759, allocations: 68.31 kB / 425.8 MB, free: 4.324 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002108/0.2761, allocations: 115.5 kB / 425.9 MB, free: 4.211 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001843/0.2763, allocations: 107.5 kB / 426 MB, free: 4.105 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 3.439e-05/0.2763, allocations: 20 kB / 426 MB, free: 4.086 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.195e-05/0.2764, allocations: 28 kB / 426 MB, free: 4.059 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 4.473e-05/0.2764, allocations: 43.84 kB / 426.1 MB, free: 4.016 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00013/0.2765, allocations: 119.4 kB / 426.2 MB, free: 3.898 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003493/0.2769, allocations: 250.3 kB / 426.4 MB, free: 3.656 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.41e-06/0.2769, allocations: 4 kB / 426.4 MB, free: 3.652 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.643e-06/0.2769, allocations: 0 / 426.4 MB, free: 3.652 MB / 334.1 MB Notification: Performance of Transformations before backend: time 7.574e-06/0.2769, allocations: 0 / 426.4 MB, free: 3.652 MB / 334.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 50 * Number of variables: 50 Notification: Performance of Generate backend data structure: time 0.0008068/0.2777, allocations: 0.5172 MB / 427 MB, free: 3.09 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.553e-05/0.2777, allocations: 8.031 kB / 427 MB, free: 3.082 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001614/0.2779, allocations: 36.78 kB / 427 MB, free: 3.047 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003516/0.2783, allocations: 252.6 kB / 427.3 MB, free: 2.758 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.585e-05/0.2783, allocations: 12.81 kB / 427.3 MB, free: 2.746 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.862e-05/0.2783, allocations: 24.38 kB / 427.3 MB, free: 2.723 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003946/0.2787, allocations: 218.1 kB / 427.5 MB, free: 2.5 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.946e-05/0.2787, allocations: 3.953 kB / 427.5 MB, free: 2.496 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.204e-05/0.2788, allocations: 12 kB / 427.5 MB, free: 2.484 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.223e-05/0.2788, allocations: 4 kB / 427.5 MB, free: 2.48 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002636/0.279, allocations: 125.7 kB / 427.6 MB, free: 2.355 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00106/0.2801, allocations: 0.7094 MB / 428.4 MB, free: 1.594 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002634/0.2804, allocations: 138.5 kB / 428.5 MB, free: 1.449 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001392/0.2805, allocations: 68.81 kB / 428.6 MB, free: 1.379 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.432e-05/0.2805, allocations: 0 / 428.6 MB, free: 1.379 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.508e-05/0.2805, allocations: 34.56 kB / 428.6 MB, free: 1.336 MB / 334.1 MB Notification: Performance of pre-optimization done (n=20): time 1.112e-06/0.2805, allocations: 8 kB / 428.6 MB, free: 1.328 MB / 334.1 MB Notification: Performance of matching and sorting (n=24): time 0.00163/0.2822, allocations: 0.8813 MB / 429.5 MB, free: 364 kB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.66e-05/0.2822, allocations: 59.41 kB / 429.5 MB, free: 292 kB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001928/0.2824, allocations: 176.3 kB / 429.7 MB, free: 100 kB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.299e-05/0.2824, allocations: 29.7 kB / 429.7 MB, free: 64 kB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001275/0.2826, allocations: 152.3 kB / 429.9 MB, free: 15.91 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.7e-05/0.2826, allocations: 91.2 kB / 430 MB, free: 15.82 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.453e-05/0.2827, allocations: 49.69 kB / 430 MB, free: 15.77 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001673/0.2829, allocations: 330.8 kB / 430.3 MB, free: 15.43 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001344/0.283, allocations: 51.97 kB / 430.4 MB, free: 15.38 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001627/0.2832, allocations: 108.2 kB / 430.5 MB, free: 15.26 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002771/0.2835, allocations: 164.2 kB / 430.7 MB, free: 15.09 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.106e-06/0.2835, allocations: 4 kB / 430.7 MB, free: 15.08 MB / 350.1 MB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0004612/0.2839, allocations: 250.1 kB / 430.9 MB, free: 14.83 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.526e-05/0.2839, allocations: 4 kB / 430.9 MB, free: 14.82 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.252e-06/0.2839, allocations: 0 / 430.9 MB, free: 14.82 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001673/0.2841, allocations: 48.7 kB / 431 MB, free: 14.77 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002007/0.2843, allocations: 48.09 kB / 431 MB, free: 14.73 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001402/0.2857, allocations: 1.486 MB / 432.5 MB, free: 13.1 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001152/0.2858, allocations: 12.02 kB / 432.5 MB, free: 13.09 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.597e-05/0.2858, allocations: 8 kB / 432.5 MB, free: 13.08 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * 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 (28): * Single equations (assignments): 27 * 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 prepare postOptimizeDAE: time 0.0001309/0.286, allocations: 135.1 kB / 432.6 MB, free: 12.94 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.309e-05/0.286, allocations: 23.86 kB / 432.7 MB, free: 12.91 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.17e-05/0.2861, allocations: 25.86 kB / 432.7 MB, free: 12.89 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.887e-06/0.2861, allocations: 3.938 kB / 432.7 MB, free: 12.88 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.421e-06/0.2861, allocations: 8.062 kB / 432.7 MB, free: 12.88 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.226e-06/0.2861, allocations: 0 / 432.7 MB, free: 12.88 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009401/0.287, allocations: 0.648 MB / 433.4 MB, free: 12.16 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.104e-06/0.287, allocations: 0 / 433.4 MB, free: 12.16 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002104/0.2872, allocations: 43.97 kB / 433.4 MB, free: 12.11 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001123/0.2874, allocations: 32.91 kB / 433.4 MB, free: 12.08 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.804e-05/0.2874, allocations: 11.98 kB / 433.4 MB, free: 12.07 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001313/0.2887, allocations: 1.489 MB / 434.9 MB, free: 10.44 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.233e-06/0.2887, allocations: 0 / 434.9 MB, free: 10.44 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005853/0.2893, allocations: 404.1 kB / 435.3 MB, free: 10.02 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.444e-05/0.2893, allocations: 96.97 kB / 435.4 MB, free: 9.91 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.486e-05/0.2894, allocations: 4 kB / 435.4 MB, free: 9.906 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000124/0.2895, allocations: 8.031 kB / 435.4 MB, free: 9.898 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.911e-05/0.2895, allocations: 23.86 kB / 435.5 MB, free: 9.875 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.213e-05/0.2896, allocations: 12 kB / 435.5 MB, free: 9.863 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001067/0.2897, allocations: 136 kB / 435.6 MB, free: 9.73 MB / 350.1 MB Notification: Performance of sort global known variables: time 8e-08/0.2897, allocations: 4 kB / 435.6 MB, free: 9.727 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.000319/0.29, allocations: 56 kB / 435.7 MB, free: 9.672 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (21): * Single equations (assignments): 20 * 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.0001253/0.2901, allocations: 103.2 kB / 435.8 MB, free: 9.562 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0005517/0.2907, allocations: 286.4 kB / 436 MB, free: 9.27 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.094e-06/0.2907, allocations: 4.25 kB / 436 MB, free: 9.266 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003412/0.291, allocations: 210.5 kB / 436.3 MB, free: 9.047 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003986/0.2914, allocations: 43.84 kB / 436.3 MB, free: 9.004 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001217/0.2926, allocations: 0.6786 MB / 437 MB, free: 8.289 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003902/0.293, allocations: 0.7482 MB / 437.7 MB, free: 7.512 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 7.15e-05/0.2931, allocations: 17.94 kB / 437.7 MB, free: 7.496 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.815e-05/0.2931, allocations: 23.42 kB / 437.8 MB, free: 7.473 MB / 350.1 MB Notification: Performance of SimCode: time 2.8e-07/0.2931, allocations: 3.938 kB / 437.8 MB, free: 7.469 MB / 350.1 MB Notification: Performance of Templates: time 0.006459/0.2996, allocations: 2.471 MB / 440.2 MB, free: 5.012 MB / 350.1 MB make -j1 -f Modelica_4.1.0-beta.om_Modelica.Mechanics.Rotational.Examples.FirstGrounded.makefile [Timeout 660] (rm -f Modelica_4.1.0-beta.om_Modelica.Mechanics.Rotational.Examples.FirstGrounded.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Mechanics.Rotational.Examples.FirstGrounded.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Mechanics.Rotational.Examples.FirstGrounded.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Mechanics.Rotational.Examples.FirstGrounded.sim & ./Modelica_4.1.0-beta.om_Modelica.Mechanics.Rotational.Examples.FirstGrounded -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0-beta.om_Modelica.Mechanics.Rotational.Examples.FirstGrounded.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0-beta.om_Modelica.Mechanics.Rotational.Examples.FirstGrounded_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Mechanics/Rotational/Examples/FirstGrounded/FirstGrounded.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0-beta.om_Modelica.Mechanics.Rotational.Examples.FirstGrounded.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] Reference file matches