Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_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 4.0.0+maint.om/package.mo", uses=false) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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_4.0.0_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_4.0.0_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.001197/0.001197, allocations: 115.5 kB / 17.7 MB, free: 5.438 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.001041/0.001041, allocations: 192 kB / 18.63 MB, free: 4.512 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.334/1.334, allocations: 222.9 MB / 242.3 MB, free: 15.16 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0009556/0.0009556, allocations: 46.7 kB / 302.1 MB, free: 5.172 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0973/0.09827, allocations: 49.45 MB / 351.5 MB, free: 3.699 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Rotational.Examples.First): time 0.003476/0.1018, allocations: 2.348 MB / 353.8 MB, free: 1.336 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.001166/0.103, allocations: 0.5765 MB / 354.4 MB, free: 0.7539 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001596/0.1032, allocations: 7.938 kB / 354.4 MB, free: 0.7461 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001876/0.1034, allocations: 39.64 kB / 354.5 MB, free: 0.707 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001788/0.1036, allocations: 79.27 kB / 354.5 MB, free: 0.6289 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002443/0.1038, allocations: 51.92 kB / 354.6 MB, free: 0.5781 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003345/0.1042, allocations: 270.7 kB / 354.9 MB, free: 320 kB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002611/0.1045, allocations: 106.7 kB / 355 MB, free: 204 kB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002142/0.1047, allocations: 103.6 kB / 355.1 MB, free: 100 kB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001869/0.1049, allocations: 115.5 kB / 355.2 MB, free: 15.98 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 4.18e-05/0.1049, allocations: 20 kB / 355.2 MB, free: 15.96 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.653e-05/0.105, allocations: 20 kB / 355.2 MB, free: 15.94 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 5.183e-05/0.105, allocations: 51.78 kB / 355.3 MB, free: 15.89 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001167/0.1052, allocations: 119.4 kB / 355.4 MB, free: 15.77 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002832/0.1054, allocations: 278.9 kB / 355.7 MB, free: 15.5 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.088e-06/0.1055, allocations: 0 / 355.7 MB, free: 15.5 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.342e-06/0.1055, allocations: 0 / 355.7 MB, free: 15.5 MB / 302.1 MB Notification: Performance of Transformations before backend: time 1.123e-05/0.1055, allocations: 0 / 355.7 MB, free: 15.5 MB / 302.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.0007434/0.1062, allocations: 0.5106 MB / 356.2 MB, free: 14.95 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.025e-05/0.1063, allocations: 15.89 kB / 356.2 MB, free: 14.93 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.607e-05/0.1063, allocations: 24.66 kB / 356.2 MB, free: 14.91 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003302/0.1067, allocations: 245.8 kB / 356.5 MB, free: 14.62 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.035e-05/0.1067, allocations: 16.81 kB / 356.5 MB, free: 14.61 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.555e-05/0.1068, allocations: 28.28 kB / 356.5 MB, free: 14.58 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003388/0.1071, allocations: 199.5 kB / 356.7 MB, free: 14.38 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.569e-05/0.1071, allocations: 0 / 356.7 MB, free: 14.38 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.876e-05/0.1071, allocations: 4 kB / 356.7 MB, free: 14.38 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.314e-06/0.1072, allocations: 8 kB / 356.7 MB, free: 14.37 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002572/0.1074, allocations: 137.7 kB / 356.8 MB, free: 14.24 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008517/0.1083, allocations: 0.6346 MB / 357.5 MB, free: 13.55 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002659/0.1086, allocations: 182.5 kB / 357.6 MB, free: 13.36 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001554/0.1087, allocations: 96.83 kB / 357.7 MB, free: 13.27 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.216e-05/0.1088, allocations: 8 kB / 357.8 MB, free: 13.26 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.264e-05/0.1088, allocations: 34.56 kB / 357.8 MB, free: 13.21 MB / 302.1 MB Notification: Performance of pre-optimization done (n=24): time 1.433e-06/0.1088, allocations: 0 / 357.8 MB, free: 13.21 MB / 302.1 MB Notification: Performance of matching and sorting (n=32): time 0.001707/0.1105, allocations: 1.08 MB / 358.9 MB, free: 12.05 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.689e-05/0.1106, allocations: 55.34 kB / 358.9 MB, free: 11.98 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000151/0.1107, allocations: 184 kB / 359.1 MB, free: 11.79 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 2.154e-05/0.1107, allocations: 29.7 kB / 359.1 MB, free: 11.76 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.568e-05/0.1108, allocations: 144.6 kB / 359.3 MB, free: 11.61 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.909e-05/0.1109, allocations: 110.3 kB / 359.4 MB, free: 11.5 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.881e-05/0.111, allocations: 57.7 kB / 359.4 MB, free: 11.44 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 9.963e-05/0.1111, allocations: 330.8 kB / 359.8 MB, free: 11.11 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001331/0.1112, allocations: 67.97 kB / 359.8 MB, free: 11.04 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001506/0.1114, allocations: 107.2 kB / 359.9 MB, free: 10.93 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002885/0.1117, allocations: 193.3 kB / 360.1 MB, free: 10.73 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.202e-06/0.1117, allocations: 0 / 360.1 MB, free: 10.73 MB / 302.1 MB Notification: Performance of matching and sorting (n=37) (initialization): time 0.0004634/0.1122, allocations: 302.1 kB / 360.4 MB, free: 10.43 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.382e-05/0.1122, allocations: 4 kB / 360.4 MB, free: 10.43 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.493e-06/0.1122, allocations: 4 kB / 360.4 MB, free: 10.42 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000161/0.1124, allocations: 36.84 kB / 360.5 MB, free: 10.38 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002426/0.1126, allocations: 67.95 kB / 360.5 MB, free: 10.32 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001389/0.114, allocations: 1.744 MB / 362.3 MB, free: 8.434 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001155/0.1141, allocations: 8 kB / 362.3 MB, free: 8.426 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.553e-05/0.1142, allocations: 4 kB / 362.3 MB, free: 8.422 MB / 302.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 0.0001192/0.1143, allocations: 141.8 kB / 362.4 MB, free: 8.273 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.536e-05/0.1143, allocations: 27.73 kB / 362.4 MB, free: 8.246 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.332e-05/0.1144, allocations: 26.66 kB / 362.5 MB, free: 8.223 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.598e-06/0.1144, allocations: 12.05 kB / 362.5 MB, free: 8.211 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.006e-06/0.1144, allocations: 0 / 362.5 MB, free: 8.211 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.598e-06/0.1144, allocations: 3.984 kB / 362.5 MB, free: 8.207 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001002/0.1154, allocations: 0.7742 MB / 363.3 MB, free: 7.359 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.635e-06/0.1155, allocations: 4 kB / 363.3 MB, free: 7.355 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002586/0.1157, allocations: 55.91 kB / 363.3 MB, free: 7.301 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001129/0.1158, allocations: 32.84 kB / 363.3 MB, free: 7.266 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.004e-05/0.1159, allocations: 11.98 kB / 363.4 MB, free: 7.254 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001057/0.1169, allocations: 1.489 MB / 364.8 MB, free: 5.621 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.583e-06/0.117, allocations: 0 / 364.8 MB, free: 5.621 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006252/0.1176, allocations: 498.3 kB / 365.3 MB, free: 5.105 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.27e-05/0.1176, allocations: 92.92 kB / 365.4 MB, free: 4.996 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.685e-05/0.1177, allocations: 4 kB / 365.4 MB, free: 4.992 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001367/0.1178, allocations: 15.97 kB / 365.4 MB, free: 4.977 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.792e-05/0.1179, allocations: 27.97 kB / 365.5 MB, free: 4.949 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.692e-05/0.1179, allocations: 12.23 kB / 365.5 MB, free: 4.938 MB / 302.1 MB Notification: Performance of sorting global known variables: time 9.425e-05/0.118, allocations: 127.2 kB / 365.6 MB, free: 4.812 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.118, allocations: 0 / 365.6 MB, free: 4.812 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0003499/0.1184, allocations: 68 kB / 365.7 MB, free: 4.746 MB / 302.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.0001172/0.1185, allocations: 119 kB / 365.8 MB, free: 4.621 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0005611/0.1191, allocations: 343.5 kB / 366.1 MB, free: 4.273 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.054e-06/0.1191, allocations: 0 / 366.1 MB, free: 4.273 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000314/0.1194, allocations: 234.5 kB / 366.4 MB, free: 4.031 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004081/0.1198, allocations: 52.2 kB / 366.4 MB, free: 3.98 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001143/0.121, allocations: 0.718 MB / 367.1 MB, free: 3.223 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003025/0.1213, allocations: 0.7562 MB / 367.9 MB, free: 2.438 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 7.713e-05/0.1214, allocations: 26.3 kB / 367.9 MB, free: 2.414 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.309e-05/0.1214, allocations: 23.42 kB / 367.9 MB, free: 2.391 MB / 302.1 MB Notification: Performance of SimCode: time 4.41e-07/0.1214, allocations: 0 / 367.9 MB, free: 2.391 MB / 302.1 MB Notification: Performance of Templates: time 0.1689/0.2904, allocations: 2.649 MB / 370.6 MB, free: 24.83 MB / 302.1 MB make -j1 -f Modelica_4.0.0_Modelica.Mechanics.Rotational.Examples.First.makefile (rm -f Modelica_4.0.0_Modelica.Mechanics.Rotational.Examples.First.pipe ; mkfifo Modelica_4.0.0_Modelica.Mechanics.Rotational.Examples.First.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Mechanics.Rotational.Examples.First.pipe >> ../files/Modelica_4.0.0_Modelica.Mechanics.Rotational.Examples.First.sim & ./Modelica_4.0.0_Modelica.Mechanics.Rotational.Examples.First -abortSlowSimulation -alarm=480 -s cvode -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Mechanics.Rotational.Examples.First.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Mechanics.Rotational.Examples.First_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Mechanics/Rotational/Examples/First/First.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Mechanics.Rotational.Examples.First.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches