Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Mechanics.Rotational.Examples.FirstGrounded.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) 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.FirstGrounded,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|damper.phi_rel|damper.w_rel|inertia3.phi|inertia3.w",fileNamePrefix="Modelica_trunk_Modelica.Mechanics.Rotational.Examples.FirstGrounded") translateModel(Modelica.Mechanics.Rotational.Examples.FirstGrounded,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|damper.phi_rel|damper.w_rel|inertia3.phi|inertia3.w",fileNamePrefix="Modelica_trunk_Modelica.Mechanics.Rotational.Examples.FirstGrounded") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001503/0.001503, allocations: 113.2 kB / 18.46 MB, free: 4.598 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001784/0.001784, allocations: 210.7 kB / 19.41 MB, free: 3.648 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.312/1.312, allocations: 227.4 MB / 247.6 MB, free: 10.46 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001166/0.001166, allocations: 59.91 kB / 359.4 MB, free: 12.89 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2001/0.2013, allocations: 50.54 MB / 409.9 MB, free: 1.559 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Rotational.Examples.FirstGrounded): time 0.003281/0.2046, allocations: 2.356 MB / 412.3 MB, free: 15.2 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001085/0.2057, allocations: 0.6466 MB / 412.9 MB, free: 14.54 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001334/0.2059, allocations: 7.938 kB / 412.9 MB, free: 14.54 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001361/0.206, allocations: 35.66 kB / 413 MB, free: 14.5 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001424/0.2062, allocations: 67.34 kB / 413.1 MB, free: 14.43 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002339/0.2064, allocations: 63.86 kB / 413.1 MB, free: 14.37 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002872/0.2067, allocations: 266.7 kB / 413.4 MB, free: 14.11 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001674/0.2069, allocations: 88.28 kB / 413.5 MB, free: 14.02 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001901/0.2071, allocations: 107.6 kB / 413.6 MB, free: 13.91 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001498/0.2073, allocations: 107.5 kB / 413.7 MB, free: 13.8 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 3.343e-05/0.2073, allocations: 16 kB / 413.7 MB, free: 13.79 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.834e-05/0.2074, allocations: 28 kB / 413.7 MB, free: 13.76 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 3.991e-05/0.2074, allocations: 47.77 kB / 413.8 MB, free: 13.71 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001181/0.2075, allocations: 123.4 kB / 413.9 MB, free: 13.59 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002785/0.2078, allocations: 244.3 kB / 414.1 MB, free: 13.36 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.156e-06/0.2078, allocations: 0 / 414.1 MB, free: 13.36 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.132e-06/0.2079, allocations: 0 / 414.1 MB, free: 13.36 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.425e-05/0.2079, allocations: 0 / 414.1 MB, free: 13.36 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.00069/0.2086, allocations: 0.5145 MB / 414.6 MB, free: 12.8 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.599e-05/0.2086, allocations: 12.03 kB / 414.6 MB, free: 12.79 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001623/0.2088, allocations: 36.64 kB / 414.7 MB, free: 12.75 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002996/0.2091, allocations: 248.6 kB / 414.9 MB, free: 12.46 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.889e-05/0.2091, allocations: 16.8 kB / 414.9 MB, free: 12.45 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.178e-05/0.2092, allocations: 24.38 kB / 415 MB, free: 12.43 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003446/0.2095, allocations: 210.2 kB / 415.2 MB, free: 12.21 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.658e-05/0.2095, allocations: 3.906 kB / 415.2 MB, free: 12.21 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.099e-05/0.2096, allocations: 12 kB / 415.2 MB, free: 12.2 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.574e-06/0.2096, allocations: 8 kB / 415.2 MB, free: 12.19 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002557/0.2098, allocations: 129.6 kB / 415.3 MB, free: 12.06 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009706/0.2108, allocations: 0.6937 MB / 416 MB, free: 11.31 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002493/0.2111, allocations: 150.5 kB / 416.2 MB, free: 11.16 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001309/0.2112, allocations: 68.83 kB / 416.2 MB, free: 11.09 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.875e-05/0.2112, allocations: 4 kB / 416.2 MB, free: 11.08 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.628e-05/0.2113, allocations: 42.5 kB / 416.3 MB, free: 11.03 MB / 334.1 MB Notification: Performance of pre-optimization done (n=20): time 1.553e-06/0.2113, allocations: 0 / 416.3 MB, free: 11.03 MB / 334.1 MB Notification: Performance of matching and sorting (n=24): time 0.001534/0.2128, allocations: 0.8856 MB / 417.2 MB, free: 10.05 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.776e-05/0.2129, allocations: 55.41 kB / 417.2 MB, free: 9.988 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001584/0.213, allocations: 181.1 kB / 417.4 MB, free: 9.797 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.755e-05/0.2131, allocations: 29.7 kB / 417.4 MB, free: 9.762 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.249e-05/0.2131, allocations: 144.2 kB / 417.6 MB, free: 9.617 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.488e-05/0.2132, allocations: 94.73 kB / 417.7 MB, free: 9.523 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.324e-05/0.2133, allocations: 45.7 kB / 417.7 MB, free: 9.473 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001083/0.2134, allocations: 326.8 kB / 418 MB, free: 9.145 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001283/0.2135, allocations: 59.97 kB / 418.1 MB, free: 9.086 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001475/0.2137, allocations: 100.2 kB / 418.2 MB, free: 8.973 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002784/0.214, allocations: 172.1 kB / 418.3 MB, free: 8.789 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.272e-06/0.214, allocations: 0 / 418.3 MB, free: 8.789 MB / 334.1 MB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0004431/0.2144, allocations: 254 kB / 418.6 MB, free: 8.531 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.3e-05/0.2145, allocations: 8 kB / 418.6 MB, free: 8.523 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.478e-06/0.2145, allocations: 0 / 418.6 MB, free: 8.523 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001559/0.2146, allocations: 32.83 kB / 418.6 MB, free: 8.488 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002088/0.2149, allocations: 59.84 kB / 418.7 MB, free: 8.43 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001163/0.216, allocations: 1.481 MB / 420.2 MB, free: 6.805 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001195/0.2162, allocations: 8.031 kB / 420.2 MB, free: 6.797 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.818e-05/0.2162, allocations: 12 kB / 420.2 MB, free: 6.785 MB / 334.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.000116/0.2163, allocations: 133.8 kB / 420.3 MB, free: 6.645 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.275e-05/0.2164, allocations: 19.75 kB / 420.3 MB, free: 6.625 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.078e-05/0.2164, allocations: 29.86 kB / 420.4 MB, free: 6.594 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.24e-06/0.2164, allocations: 4 kB / 420.4 MB, free: 6.59 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.815e-06/0.2164, allocations: 3.938 kB / 420.4 MB, free: 6.586 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.077e-05/0.2165, allocations: 92.83 kB / 420.5 MB, free: 6.477 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.849e-05/0.2165, allocations: 4 kB / 420.5 MB, free: 6.473 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001267/0.2167, allocations: 7.984 kB / 420.5 MB, free: 6.465 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.485e-05/0.2167, allocations: 19.98 kB / 420.5 MB, free: 6.445 MB / 334.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0006106/0.2173, allocations: 316.7 kB / 420.8 MB, free: 6.129 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0005012/0.2178, allocations: 450.2 kB / 421.2 MB, free: 5.672 MB / 334.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.00012/0.218, allocations: 69.17 kB / 421.3 MB, free: 5.605 MB / 334.1 MB Notification: Performance of sorting global known variables: time 9.055e-05/0.2181, allocations: 124.1 kB / 421.4 MB, free: 5.484 MB / 334.1 MB Notification: Performance of Backend: time 2.81e-07/0.2181, allocations: 0 / 421.4 MB, free: 5.484 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0007014/0.2188, allocations: 321 kB / 421.7 MB, free: 5.152 MB / 334.1 MB Notification: Performance of SimCode: time 0.001124/0.2199, allocations: 1.107 MB / 422.9 MB, free: 3.996 MB / 334.1 MB Notification: Performance of Templates: time 0.005603/0.2255, allocations: 2.561 MB / 425.4 MB, free: 1.453 MB / 334.1 MB make -j1 -f Modelica_trunk_Modelica.Mechanics.Rotational.Examples.FirstGrounded.makefile (rm -f Modelica_trunk_Modelica.Mechanics.Rotational.Examples.FirstGrounded.pipe ; mkfifo Modelica_trunk_Modelica.Mechanics.Rotational.Examples.FirstGrounded.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Mechanics.Rotational.Examples.FirstGrounded.pipe >> ../files/Modelica_trunk_Modelica.Mechanics.Rotational.Examples.FirstGrounded.sim & ./Modelica_trunk_Modelica.Mechanics.Rotational.Examples.FirstGrounded -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Mechanics.Rotational.Examples.FirstGrounded.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Mechanics.Rotational.Examples.FirstGrounded_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Mechanics/Rotational/Examples/FirstGrounded/FirstGrounded.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Mechanics.Rotational.Examples.FirstGrounded.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches