Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Mechanics.Rotational.Examples.First.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009849/0.0009849, allocations: 88.73 kB / 21.5 MB, free: 2.984 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001042/0.001042, allocations: 164.2 kB / 24.91 MB, free: 8.762 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 0.9271/0.9271, allocations: 177 MB / 205.2 MB, free: 5.043 MB / 186.7 MB " [Timeout remaining time 179] 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(Modelica.Mechanics.Rotational.Examples.First,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|damper.phi_rel|damper.w_rel|inertia3.phi|inertia3.w",fileNamePrefix="Modelica_trunk_Modelica.Mechanics.Rotational.Examples.First") translateModel(Modelica.Mechanics.Rotational.Examples.First,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|damper.phi_rel|damper.w_rel|inertia3.phi|inertia3.w",fileNamePrefix="Modelica_trunk_Modelica.Mechanics.Rotational.Examples.First") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.292e-06/1.292e-06, allocations: 0 / 273.4 MB, free: 1.094 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.853e-05/1.983e-05, allocations: 6.312 kB / 273.4 MB, free: 1.086 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Rotational.Examples.First): time 0.002702/0.002722, allocations: 2.377 MB / 275.8 MB, free: 14.7 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.0009911/0.003713, allocations: 0.6541 MB / 276.4 MB, free: 14.04 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001176/0.00383, allocations: 7.938 kB / 276.4 MB, free: 14.03 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001338/0.003964, allocations: 31.66 kB / 276.4 MB, free: 14 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001425/0.004107, allocations: 87.2 kB / 276.5 MB, free: 13.91 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002208/0.004327, allocations: 71.84 kB / 276.6 MB, free: 13.84 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002302/0.004558, allocations: 282.5 kB / 276.9 MB, free: 13.56 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000149/0.004707, allocations: 81.88 kB / 277 MB, free: 13.48 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000215/0.004922, allocations: 167.5 kB / 277.1 MB, free: 13.31 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001176/0.005039, allocations: 83.72 kB / 277.2 MB, free: 13.23 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 2.659e-05/0.005066, allocations: 20 kB / 277.2 MB, free: 13.21 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 5.423e-05/0.00512, allocations: 27.98 kB / 277.2 MB, free: 13.18 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 3.306e-05/0.005153, allocations: 47.83 kB / 277.3 MB, free: 13.14 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 6.85e-05/0.005222, allocations: 87.75 kB / 277.4 MB, free: 13.05 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000207/0.005429, allocations: 179.3 kB / 277.6 MB, free: 12.88 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.335e-06/0.005431, allocations: 8 kB / 277.6 MB, free: 12.87 MB / 266.7 MB Notification: Performance of FrontEnd: time 9.71e-07/0.005432, allocations: 0 / 277.6 MB, free: 12.87 MB / 266.7 MB Notification: Performance of Transformations before backend: time 4.178e-06/0.005436, allocations: 0 / 277.6 MB, free: 12.87 MB / 266.7 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.0004593/0.005895, allocations: 440.1 kB / 278 MB, free: 12.41 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.319e-05/0.005929, allocations: 15.98 kB / 278 MB, free: 12.4 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000118/0.006046, allocations: 36.91 kB / 278 MB, free: 12.36 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001914/0.006238, allocations: 178.1 kB / 278.2 MB, free: 12.16 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.422e-05/0.006252, allocations: 12.88 kB / 278.2 MB, free: 12.15 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.114e-05/0.006283, allocations: 24.38 kB / 278.3 MB, free: 12.12 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001663/0.00645, allocations: 153.3 kB / 278.4 MB, free: 11.97 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.132e-05/0.006461, allocations: 192 / 278.4 MB, free: 11.97 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.297e-05/0.006474, allocations: 12.38 kB / 278.4 MB, free: 11.96 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.508e-06/0.006483, allocations: 7.938 kB / 278.4 MB, free: 11.95 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.322e-05/0.006557, allocations: 59.45 kB / 278.5 MB, free: 11.89 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005161/0.007073, allocations: 390.1 kB / 278.9 MB, free: 11.49 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001582/0.007231, allocations: 126.3 kB / 279 MB, free: 11.36 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.222e-05/0.007283, allocations: 48.83 kB / 279 MB, free: 11.31 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.773e-05/0.007301, allocations: 8 kB / 279 MB, free: 11.3 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.404e-05/0.007325, allocations: 34.56 kB / 279.1 MB, free: 11.26 MB / 266.7 MB Notification: Performance of pre-optimization done (n=24): time 1.523e-06/0.007326, allocations: 0 / 279.1 MB, free: 11.26 MB / 266.7 MB Notification: Performance of matching and sorting (n=32): time 0.0009991/0.008326, allocations: 0.7172 MB / 279.8 MB, free: 10.49 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.853e-05/0.008354, allocations: 59.39 kB / 279.9 MB, free: 10.42 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.17e-05/0.008446, allocations: 163.4 kB / 280 MB, free: 10.25 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.416e-05/0.00846, allocations: 29.7 kB / 280 MB, free: 10.21 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.355e-05/0.008513, allocations: 140.7 kB / 280.2 MB, free: 10.07 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.478e-05/0.008568, allocations: 115 kB / 280.3 MB, free: 9.957 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.266e-05/0.008621, allocations: 53.67 kB / 280.3 MB, free: 9.898 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 8.954e-05/0.00871, allocations: 346.7 kB / 280.7 MB, free: 9.551 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.257e-05/0.008743, allocations: 23.98 kB / 280.7 MB, free: 9.527 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.516e-05/0.008798, allocations: 66.52 kB / 280.8 MB, free: 9.453 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001048/0.008903, allocations: 120 kB / 280.9 MB, free: 9.328 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.222e-06/0.008904, allocations: 0 / 280.9 MB, free: 9.328 MB / 266.7 MB Notification: Performance of matching and sorting (n=37) (initialization): time 0.0001925/0.009097, allocations: 179.3 kB / 281.1 MB, free: 9.145 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.257e-05/0.009109, allocations: 4 kB / 281.1 MB, free: 9.141 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.799e-06/0.009114, allocations: 0 / 281.1 MB, free: 9.141 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001124/0.009226, allocations: 36.77 kB / 281.1 MB, free: 9.102 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001301/0.009357, allocations: 59.91 kB / 281.2 MB, free: 9.043 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000785/0.01014, allocations: 1.43 MB / 282.6 MB, free: 7.531 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.711e-05/0.0102, allocations: 12 kB / 282.6 MB, free: 7.52 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.338e-06/0.01021, allocations: 4 kB / 282.6 MB, free: 7.516 MB / 266.7 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 7.779e-05/0.01029, allocations: 129.7 kB / 282.7 MB, free: 7.379 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.833e-05/0.01031, allocations: 19.98 kB / 282.8 MB, free: 7.359 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.149e-05/0.01035, allocations: 34.64 kB / 282.8 MB, free: 7.324 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.445e-06/0.01035, allocations: 4 kB / 282.8 MB, free: 7.32 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.487e-06/0.01035, allocations: 4.031 kB / 282.8 MB, free: 7.316 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.927e-06/0.01036, allocations: 0 / 282.8 MB, free: 7.316 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004766/0.01083, allocations: 497 kB / 283.3 MB, free: 6.789 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.424e-06/0.01083, allocations: 0 / 283.3 MB, free: 6.789 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001355/0.01097, allocations: 59.91 kB / 283.3 MB, free: 6.73 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.696e-05/0.01105, allocations: 28.94 kB / 283.4 MB, free: 6.699 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.202e-05/0.01106, allocations: 11.98 kB / 283.4 MB, free: 6.688 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005779/0.01164, allocations: 1.225 MB / 284.6 MB, free: 5.367 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.683e-06/0.01164, allocations: 3.938 kB / 284.6 MB, free: 5.363 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002566/0.01189, allocations: 327.3 kB / 284.9 MB, free: 5.016 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.827e-05/0.01191, allocations: 31.77 kB / 285 MB, free: 4.984 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.639e-05/0.01193, allocations: 7.984 kB / 285 MB, free: 4.977 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.638e-05/0.012, allocations: 8 kB / 285 MB, free: 4.969 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.643e-05/0.01203, allocations: 23.95 kB / 285 MB, free: 4.945 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.935e-06/0.01204, allocations: 4 kB / 285 MB, free: 4.941 MB / 266.7 MB Notification: Performance of sorting global known variables: time 3.41e-05/0.01207, allocations: 44.81 kB / 285 MB, free: 4.895 MB / 266.7 MB Notification: Performance of sort global known variables: time 6.1e-08/0.01207, allocations: 0 / 285 MB, free: 4.895 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0002093/0.01228, allocations: 64 kB / 285.1 MB, free: 4.832 MB / 266.7 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 9.4e-05/0.01238, allocations: 96.3 kB / 285.2 MB, free: 4.73 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0002743/0.01265, allocations: 252.4 kB / 285.4 MB, free: 4.469 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 4.538e-06/0.01266, allocations: 0 / 285.4 MB, free: 4.469 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001474/0.0128, allocations: 216.2 kB / 285.7 MB, free: 4.242 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002324/0.01304, allocations: 52.14 kB / 285.7 MB, free: 4.191 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007966/0.01383, allocations: 0.5661 MB / 286.3 MB, free: 3.586 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.196e-05/0.01389, allocations: 88.92 kB / 286.4 MB, free: 3.48 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 6.126e-05/0.01395, allocations: 22.28 kB / 286.4 MB, free: 3.457 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.354e-05/0.01404, allocations: 91.36 kB / 286.5 MB, free: 3.367 MB / 266.7 MB Notification: Performance of SimCode: time 7.92e-07/0.01404, allocations: 0 / 286.5 MB, free: 3.367 MB / 266.7 MB Notification: Performance of Templates: time 0.004721/0.01876, allocations: 2.907 MB / 289.4 MB, free: 0.5117 MB / 266.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Mechanics.Rotational.Examples.First.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Mechanics.Rotational.Examples.First.pipe ; mkfifo Modelica_trunk_Modelica.Mechanics.Rotational.Examples.First.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Mechanics.Rotational.Examples.First.pipe >> ../files/Modelica_trunk_Modelica.Mechanics.Rotational.Examples.First.sim & ./Modelica_trunk_Modelica.Mechanics.Rotational.Examples.First -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Mechanics.Rotational.Examples.First.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_trunk_Modelica.Mechanics.Rotational.Examples.First_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Mechanics/Rotational/Examples/First/First.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.593799991067499]