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.0009875/0.0009875, allocations: 95.5 kB / 21.2 MB, free: 3.371 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.0009826/0.0009826, allocations: 160.5 kB / 24.55 MB, free: 16 kB / 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.9518/0.9518, allocations: 177 MB / 204.8 MB, free: 5.574 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.583e-06/1.583e-06, allocations: 0 / 272.9 MB, free: 1.465 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.275e-05/3.433e-05, allocations: 9.203 kB / 272.9 MB, free: 1.457 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Rotational.Examples.First): time 0.003714/0.003749, allocations: 2.407 MB / 275.3 MB, free: 15.04 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.001276/0.005025, allocations: 0.6348 MB / 275.9 MB, free: 14.39 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001491/0.005174, allocations: 7.938 kB / 275.9 MB, free: 14.39 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001775/0.005351, allocations: 35.66 kB / 276 MB, free: 14.35 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001854/0.005537, allocations: 83.27 kB / 276.1 MB, free: 14.27 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002775/0.005814, allocations: 71.78 kB / 276.1 MB, free: 14.2 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003111/0.006125, allocations: 282.5 kB / 276.4 MB, free: 13.92 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001901/0.006315, allocations: 75.27 kB / 276.5 MB, free: 13.84 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000274/0.006589, allocations: 171.5 kB / 276.6 MB, free: 13.67 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001529/0.006742, allocations: 83.72 kB / 276.7 MB, free: 13.59 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 3.817e-05/0.00678, allocations: 24 kB / 276.8 MB, free: 13.57 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.232e-05/0.006853, allocations: 27.98 kB / 276.8 MB, free: 13.54 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 4.168e-05/0.006894, allocations: 43.83 kB / 276.8 MB, free: 13.5 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 9.232e-05/0.006987, allocations: 91.77 kB / 276.9 MB, free: 13.41 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002807/0.007267, allocations: 171.4 kB / 277.1 MB, free: 13.24 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.048e-06/0.007271, allocations: 7.922 kB / 277.1 MB, free: 13.23 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.223e-06/0.007273, allocations: 0 / 277.1 MB, free: 13.23 MB / 266.7 MB Notification: Performance of Transformations before backend: time 8.586e-06/0.007281, allocations: 3.938 kB / 277.1 MB, free: 13.23 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.0007168/0.007998, allocations: 0.5546 MB / 277.6 MB, free: 12.64 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.445e-05/0.008043, allocations: 11.98 kB / 277.7 MB, free: 12.62 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001763/0.008219, allocations: 52.73 kB / 277.7 MB, free: 12.57 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002826/0.008501, allocations: 184.9 kB / 277.9 MB, free: 12.36 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.378e-05/0.008525, allocations: 16.88 kB / 277.9 MB, free: 12.35 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.615e-05/0.008581, allocations: 36.25 kB / 277.9 MB, free: 12.31 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002888/0.00887, allocations: 161.4 kB / 278.1 MB, free: 12.15 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.641e-05/0.008887, allocations: 192 / 278.1 MB, free: 12.15 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.329e-05/0.00891, allocations: 12.38 kB / 278.1 MB, free: 12.14 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.31e-05/0.008923, allocations: 11.94 kB / 278.1 MB, free: 12.12 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001637/0.009087, allocations: 78.92 kB / 278.2 MB, free: 12.05 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008925/0.009979, allocations: 0.5405 MB / 278.7 MB, free: 11.47 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002662/0.01025, allocations: 135 kB / 278.9 MB, free: 11.32 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001208/0.01037, allocations: 71.64 kB / 278.9 MB, free: 11.25 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.57e-05/0.01039, allocations: 4 kB / 278.9 MB, free: 11.25 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.872e-05/0.01042, allocations: 33.39 kB / 279 MB, free: 11.2 MB / 266.7 MB Notification: Performance of pre-optimization done (n=24): time 2.104e-06/0.01042, allocations: 0 / 279 MB, free: 11.2 MB / 266.7 MB Notification: Performance of matching and sorting (n=32): time 0.001504/0.01193, allocations: 0.7952 MB / 279.8 MB, free: 10.35 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.753e-05/0.01196, allocations: 55.41 kB / 279.8 MB, free: 10.28 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001564/0.01212, allocations: 218.6 kB / 280 MB, free: 10.05 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 2.147e-05/0.01214, allocations: 33.7 kB / 280.1 MB, free: 10.01 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001097/0.01225, allocations: 183.5 kB / 280.3 MB, free: 9.828 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.133e-05/0.01233, allocations: 123 kB / 280.4 MB, free: 9.707 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.519e-05/0.01242, allocations: 59.36 kB / 280.4 MB, free: 9.641 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001525/0.01257, allocations: 0.5078 MB / 280.9 MB, free: 9.121 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.191e-05/0.01265, allocations: 31.98 kB / 281 MB, free: 9.09 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001203/0.01277, allocations: 90.98 kB / 281.1 MB, free: 8.988 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002154/0.01299, allocations: 136.7 kB / 281.2 MB, free: 8.844 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.084e-06/0.01299, allocations: 4 kB / 281.2 MB, free: 8.84 MB / 266.7 MB Notification: Performance of matching and sorting (n=37) (initialization): time 0.0003978/0.01339, allocations: 238 kB / 281.4 MB, free: 8.598 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.239e-05/0.01341, allocations: 19 kB / 281.4 MB, free: 8.582 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.112e-06/0.01342, allocations: 4.062 kB / 281.5 MB, free: 8.578 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001885/0.01361, allocations: 39.67 kB / 281.5 MB, free: 8.535 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000217/0.01382, allocations: 59.91 kB / 281.6 MB, free: 8.477 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001429/0.01525, allocations: 2.114 MB / 283.7 MB, free: 6.246 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.522e-05/0.01534, allocations: 16.02 kB / 283.7 MB, free: 6.23 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.81e-05/0.01535, allocations: 11.98 kB / 283.7 MB, free: 6.219 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 0.0001201/0.01547, allocations: 168.5 kB / 283.9 MB, free: 6.043 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.331e-05/0.01553, allocations: 31.86 kB / 283.9 MB, free: 6.012 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.029e-05/0.01557, allocations: 26.66 kB / 283.9 MB, free: 5.984 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.587e-06/0.01557, allocations: 4 kB / 283.9 MB, free: 5.98 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.513e-06/0.01558, allocations: 3.938 kB / 283.9 MB, free: 5.977 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.015e-06/0.01559, allocations: 3.984 kB / 283.9 MB, free: 5.973 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008561/0.01644, allocations: 0.6789 MB / 284.6 MB, free: 5.23 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.238e-06/0.01645, allocations: 4 kB / 284.6 MB, free: 5.227 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002073/0.01665, allocations: 63.91 kB / 284.7 MB, free: 5.164 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001094/0.01676, allocations: 31.67 kB / 284.7 MB, free: 5.129 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.961e-05/0.01678, allocations: 7.984 kB / 284.7 MB, free: 5.121 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001338/0.01812, allocations: 1.815 MB / 286.5 MB, free: 3.184 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.048e-06/0.01813, allocations: 3.938 kB / 286.5 MB, free: 3.18 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005222/0.01865, allocations: 454.9 kB / 287 MB, free: 2.699 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.265e-05/0.01867, allocations: 11.91 kB / 287 MB, free: 2.688 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.45e-05/0.0187, allocations: 8 kB / 287 MB, free: 2.68 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001106/0.01881, allocations: 12.03 kB / 287 MB, free: 2.668 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.757e-05/0.01887, allocations: 27.89 kB / 287 MB, free: 2.641 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.43e-05/0.01889, allocations: 8 kB / 287 MB, free: 2.633 MB / 266.7 MB Notification: Performance of sorting global known variables: time 9.298e-05/0.01898, allocations: 159.1 kB / 287.2 MB, free: 2.477 MB / 266.7 MB Notification: Performance of sort global known variables: time 1.1e-07/0.01898, allocations: 0 / 287.2 MB, free: 2.477 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0003978/0.01938, allocations: 64 kB / 287.3 MB, free: 2.414 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 0.0001297/0.01951, allocations: 107.2 kB / 287.4 MB, free: 2.297 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0005153/0.02002, allocations: 345.8 kB / 287.7 MB, free: 1.938 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.914e-06/0.02003, allocations: 4 kB / 287.7 MB, free: 1.934 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002737/0.0203, allocations: 282.3 kB / 288 MB, free: 1.637 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00043/0.02073, allocations: 54.84 kB / 288 MB, free: 1.586 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001338/0.02207, allocations: 0.6392 MB / 288.7 MB, free: 0.9023 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.324e-05/0.02214, allocations: 88.92 kB / 288.8 MB, free: 0.7969 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 7.268e-05/0.02221, allocations: 22.28 kB / 288.8 MB, free: 0.7734 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.729e-05/0.02227, allocations: 24.5 kB / 288.8 MB, free: 0.75 MB / 266.7 MB Notification: Performance of SimCode: time 6.71e-07/0.02227, allocations: 0 / 288.8 MB, free: 0.75 MB / 266.7 MB Notification: Performance of Templates: time 0.004993/0.02726, allocations: 2.7 MB / 291.5 MB, free: 14.09 MB / 282.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.7426832071505487]