Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Mechanics.Rotational.Examples.ElasticBearing.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.001326/0.001326, allocations: 75.75 kB / 21.25 MB, free: 396 kB / 14.72 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.001478/0.001478, allocations: 159.7 kB / 24.49 MB, free: 3.453 MB / 14.72 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 1.429/1.429, allocations: 177.1 MB / 204.7 MB, free: 8.898 MB / 190.1 MB " [Timeout remaining time 178] 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.ElasticBearing,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|load.phi|load.w|shaft.phi|shaft.w|springDamper.phi_rel|springDamper.w_rel",fileNamePrefix="Modelica_trunk_Modelica.Mechanics.Rotational.Examples.ElasticBearing") translateModel(Modelica.Mechanics.Rotational.Examples.ElasticBearing,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|load.phi|load.w|shaft.phi|shaft.w|springDamper.phi_rel|springDamper.w_rel",fileNamePrefix="Modelica_trunk_Modelica.Mechanics.Rotational.Examples.ElasticBearing") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001901/0.001901, allocations: 66.03 kB / 325.5 MB, free: 428 kB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0945/0.0964, allocations: 53.38 MB / 378.9 MB, free: 15.66 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Rotational.Examples.ElasticBearing): time 0.003702/0.1001, allocations: 2.323 MB / 381.2 MB, free: 13.33 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001045/0.1012, allocations: 0.5804 MB / 381.8 MB, free: 12.75 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001135/0.1013, allocations: 8 kB / 381.8 MB, free: 12.74 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001571/0.1014, allocations: 39.58 kB / 381.8 MB, free: 12.7 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001747/0.1016, allocations: 91.25 kB / 381.9 MB, free: 12.61 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001674/0.1018, allocations: 59.94 kB / 382 MB, free: 12.55 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003341/0.1021, allocations: 286.7 kB / 382.3 MB, free: 12.27 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001954/0.1023, allocations: 79.28 kB / 382.4 MB, free: 12.19 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001503/0.1024, allocations: 115.6 kB / 382.5 MB, free: 12.08 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001631/0.1026, allocations: 103.5 kB / 382.6 MB, free: 11.98 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 4.203e-05/0.1026, allocations: 24 kB / 382.6 MB, free: 11.95 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.653e-05/0.1027, allocations: 24 kB / 382.6 MB, free: 11.93 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 6.479e-05/0.1028, allocations: 67.7 kB / 382.7 MB, free: 11.86 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001291/0.1029, allocations: 107.5 kB / 382.8 MB, free: 11.76 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003485/0.1032, allocations: 290.8 kB / 383.1 MB, free: 11.47 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.761e-06/0.1032, allocations: 4 kB / 383.1 MB, free: 11.47 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.583e-06/0.1032, allocations: 3.938 kB / 383.1 MB, free: 11.46 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.03e-05/0.1033, allocations: 0 / 383.1 MB, free: 11.46 MB / 350.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 63 * Number of variables: 63 Notification: Performance of Generate backend data structure: time 0.0008131/0.1041, allocations: 473.8 kB / 383.5 MB, free: 10.97 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.75e-05/0.1041, allocations: 20.02 kB / 383.6 MB, free: 10.95 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.976e-05/0.1042, allocations: 28.75 kB / 383.6 MB, free: 10.93 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003236/0.1045, allocations: 186.6 kB / 383.8 MB, free: 10.72 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.465e-05/0.1045, allocations: 21.03 kB / 383.8 MB, free: 10.7 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.568e-05/0.1046, allocations: 28.12 kB / 383.8 MB, free: 10.67 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004656/0.105, allocations: 226.1 kB / 384 MB, free: 10.44 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.04e-05/0.1051, allocations: 7.891 kB / 384 MB, free: 10.43 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.722e-05/0.1051, allocations: 12 kB / 384.1 MB, free: 10.42 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.714e-05/0.1051, allocations: 8 kB / 384.1 MB, free: 10.41 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004037/0.1055, allocations: 182.4 kB / 384.2 MB, free: 10.24 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001102/0.1066, allocations: 0.5939 MB / 384.8 MB, free: 9.609 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005294/0.1071, allocations: 198.5 kB / 385 MB, free: 9.406 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002772/0.1074, allocations: 104.8 kB / 385.1 MB, free: 9.301 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.972e-05/0.1074, allocations: 11.94 kB / 385.1 MB, free: 9.289 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.069e-05/0.1075, allocations: 34.56 kB / 385.2 MB, free: 9.246 MB / 350.1 MB Notification: Performance of pre-optimization done (n=26): time 1.462e-06/0.1075, allocations: 0 / 385.2 MB, free: 9.246 MB / 350.1 MB Notification: Performance of matching and sorting (n=28): time 0.001721/0.1092, allocations: 0.8124 MB / 386 MB, free: 8.379 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.765e-05/0.1092, allocations: 59.41 kB / 386 MB, free: 8.309 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001344/0.1094, allocations: 140.4 kB / 386.2 MB, free: 8.164 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.375e-05/0.1094, allocations: 29.7 kB / 386.2 MB, free: 8.129 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001049/0.1095, allocations: 152.7 kB / 386.4 MB, free: 7.977 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.784e-05/0.1096, allocations: 107.1 kB / 386.5 MB, free: 7.871 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.821e-05/0.1097, allocations: 49.7 kB / 386.5 MB, free: 7.816 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001642/0.1098, allocations: 326.8 kB / 386.8 MB, free: 7.488 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001874/0.11, allocations: 75.95 kB / 386.9 MB, free: 7.414 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000218/0.1102, allocations: 108.9 kB / 387 MB, free: 7.297 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004155/0.1106, allocations: 215.3 kB / 387.2 MB, free: 7.074 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.233e-06/0.1106, allocations: 0 / 387.2 MB, free: 7.074 MB / 350.1 MB Notification: Performance of matching and sorting (n=35) (initialization): time 0.0005156/0.1112, allocations: 257.4 kB / 387.5 MB, free: 6.816 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.5e-05/0.1112, allocations: 8.094 kB / 387.5 MB, free: 6.809 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.59e-06/0.1112, allocations: 0 / 387.5 MB, free: 6.809 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.171e-05/0.1112, allocations: 7.984 kB / 387.5 MB, free: 6.801 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003081/0.1115, allocations: 71.91 kB / 387.6 MB, free: 6.73 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.276e-06/0.1115, allocations: 0 / 387.6 MB, free: 6.73 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001431/0.1117, allocations: 15.98 kB / 387.6 MB, free: 6.715 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.985e-05/0.1117, allocations: 12 kB / 387.6 MB, free: 6.703 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * 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 (35): * Single equations (assignments): 35 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001382/0.1118, allocations: 141.7 kB / 387.7 MB, free: 6.555 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.611e-05/0.1119, allocations: 23.8 kB / 387.8 MB, free: 6.531 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.673e-05/0.1119, allocations: 37.94 kB / 387.8 MB, free: 6.492 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.009e-06/0.1119, allocations: 7.938 kB / 387.8 MB, free: 6.484 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.991e-06/0.1119, allocations: 0 / 387.8 MB, free: 6.484 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.478e-06/0.112, allocations: 0 / 387.8 MB, free: 6.484 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009569/0.1129, allocations: 0.5546 MB / 388.4 MB, free: 5.887 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.044e-06/0.1129, allocations: 0 / 388.4 MB, free: 5.887 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003365/0.1132, allocations: 71.95 kB / 388.4 MB, free: 5.816 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.019e-06/0.1133, allocations: 8.062 kB / 388.4 MB, free: 5.809 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.787e-05/0.1133, allocations: 4 kB / 388.4 MB, free: 5.805 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.769e-06/0.1133, allocations: 7.938 kB / 388.4 MB, free: 5.797 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.012e-06/0.1133, allocations: 0 / 388.4 MB, free: 5.797 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007384/0.114, allocations: 444.8 kB / 388.9 MB, free: 5.336 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.36e-05/0.114, allocations: 15.86 kB / 388.9 MB, free: 5.32 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.909e-05/0.1141, allocations: 8.062 kB / 388.9 MB, free: 5.312 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001466/0.1142, allocations: 15.98 kB / 388.9 MB, free: 5.297 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.26e-05/0.1143, allocations: 19.91 kB / 388.9 MB, free: 5.277 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.582e-05/0.1143, allocations: 12 kB / 388.9 MB, free: 5.266 MB / 350.1 MB Notification: Performance of sorting global known variables: time 8.207e-05/0.1144, allocations: 112.8 kB / 389.1 MB, free: 5.156 MB / 350.1 MB Notification: Performance of sort global known variables: time 7.1e-08/0.1144, allocations: 0 / 389.1 MB, free: 5.156 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003051/0.1147, allocations: 56 kB / 389.1 MB, free: 5.102 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 6 (shaft.phi,shaft.w,load.phi,load.w,springDamper.phi_rel,springDamper.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 (28): * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001152/0.1148, allocations: 99.25 kB / 389.2 MB, free: 4.992 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0004508/0.1152, allocations: 191.8 kB / 389.4 MB, free: 4.805 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.773e-06/0.1152, allocations: 0 / 389.4 MB, free: 4.805 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002207/0.1155, allocations: 103.8 kB / 389.5 MB, free: 4.703 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003899/0.1159, allocations: 42.56 kB / 389.5 MB, free: 4.664 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001366/0.1172, allocations: 0.8084 MB / 390.3 MB, free: 3.828 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001624/0.1174, allocations: 146.4 kB / 390.5 MB, free: 3.66 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 7.863e-05/0.1175, allocations: 25.88 kB / 390.5 MB, free: 3.633 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.602e-05/0.1175, allocations: 20.5 kB / 390.5 MB, free: 3.613 MB / 350.1 MB Notification: Performance of SimCode: time 3.91e-07/0.1175, allocations: 0 / 390.5 MB, free: 3.613 MB / 350.1 MB Notification: Performance of Templates: time 0.005581/0.1231, allocations: 2.114 MB / 392.6 MB, free: 1.535 MB / 350.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Mechanics.Rotational.Examples.ElasticBearing.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Mechanics.Rotational.Examples.ElasticBearing.pipe ; mkfifo Modelica_trunk_Modelica.Mechanics.Rotational.Examples.ElasticBearing.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Mechanics.Rotational.Examples.ElasticBearing.pipe >> ../files/Modelica_trunk_Modelica.Mechanics.Rotational.Examples.ElasticBearing.sim & ./Modelica_trunk_Modelica.Mechanics.Rotational.Examples.ElasticBearing -abortSlowSimulation -alarm=480 -s ida -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Mechanics.Rotational.Examples.ElasticBearing.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_trunk_Modelica.Mechanics.Rotational.Examples.ElasticBearing_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Mechanics/Rotational/Examples/ElasticBearing/ElasticBearing.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Mechanics.Rotational.Examples.ElasticBearing.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 4.202951126964763]