Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Mechanics.Rotational.Examples.FirstGrounded.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 3.2.3+maint.om/package.mo", uses=false) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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.FirstGrounded,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|damper.phi_rel|damper.w_rel|inertia3.phi|inertia3.w",fileNamePrefix="Modelica_3.2.3_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_3.2.3_Modelica.Mechanics.Rotational.Examples.FirstGrounded") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001061/0.001061, allocations: 103.2 kB / 18.4 MB, free: 4.68 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.001027/0.001027, allocations: 191.3 kB / 19.34 MB, free: 3.754 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.286/1.286, allocations: 205.1 MB / 225.2 MB, free: 12.25 MB / 190.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.00113/0.00113, allocations: 47.92 kB / 329.2 MB, free: 3.34 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07159/0.07273, allocations: 46.61 MB / 375.8 MB, free: 4.621 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Rotational.Examples.FirstGrounded): time 0.003117/0.07588, allocations: 2.356 MB / 378.2 MB, free: 2.25 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008942/0.07679, allocations: 0.6239 MB / 378.8 MB, free: 1.617 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001058/0.07691, allocations: 4 kB / 378.8 MB, free: 1.613 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001326/0.07706, allocations: 39.59 kB / 378.8 MB, free: 1.574 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001243/0.07719, allocations: 71.33 kB / 378.9 MB, free: 1.504 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001811/0.07738, allocations: 51.94 kB / 379 MB, free: 1.453 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.00026/0.07765, allocations: 258.8 kB / 379.2 MB, free: 1.199 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001686/0.07783, allocations: 84.31 kB / 379.3 MB, free: 1.117 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001325/0.07797, allocations: 103.6 kB / 379.4 MB, free: 1.016 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001438/0.07812, allocations: 103.5 kB / 379.5 MB, free: 0.9141 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 3.803e-05/0.07816, allocations: 16 kB / 379.5 MB, free: 0.8984 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.699e-05/0.07821, allocations: 20 kB / 379.5 MB, free: 0.8789 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 4.33e-05/0.07826, allocations: 51.83 kB / 379.6 MB, free: 0.8281 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001023/0.07836, allocations: 119.3 kB / 379.7 MB, free: 0.7109 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002267/0.0786, allocations: 247.1 kB / 379.9 MB, free: 480 kB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.969e-06/0.07861, allocations: 4 kB / 379.9 MB, free: 476 kB / 318.1 MB Notification: Performance of FrontEnd: time 1.453e-06/0.07862, allocations: 0 / 379.9 MB, free: 476 kB / 318.1 MB Notification: Performance of Transformations before backend: time 5.35e-06/0.07863, allocations: 0 / 379.9 MB, free: 476 kB / 318.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.1498/0.2284, allocations: 0.4961 MB / 380.4 MB, free: 13.2 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.815e-05/0.2285, allocations: 13.08 kB / 380.4 MB, free: 13.2 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.402e-05/0.2286, allocations: 24.88 kB / 380.5 MB, free: 13.18 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003155/0.2289, allocations: 243 kB / 380.7 MB, free: 12.97 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.999e-05/0.2289, allocations: 19.22 kB / 380.7 MB, free: 12.97 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.493e-05/0.229, allocations: 26.06 kB / 380.8 MB, free: 12.97 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003673/0.2293, allocations: 208.1 kB / 381 MB, free: 12.91 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.582e-05/0.2294, allocations: 4.812 kB / 381 MB, free: 12.91 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.205e-05/0.2294, allocations: 14.7 kB / 381 MB, free: 12.91 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.535e-06/0.2294, allocations: 7.562 kB / 381 MB, free: 12.91 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002507/0.2297, allocations: 126.1 kB / 381.1 MB, free: 12.91 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009277/0.2306, allocations: 0.7011 MB / 381.8 MB, free: 12.53 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002482/0.2309, allocations: 153 kB / 382 MB, free: 12.5 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001212/0.231, allocations: 68.39 kB / 382 MB, free: 12.49 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.175e-05/0.231, allocations: 6.047 kB / 382 MB, free: 12.49 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.699e-05/0.2311, allocations: 35.7 kB / 382.1 MB, free: 12.45 MB / 318.1 MB Notification: Performance of pre-optimization done (n=20): time 1.553e-06/0.2311, allocations: 0 / 382.1 MB, free: 12.45 MB / 318.1 MB Notification: Performance of matching and sorting (n=24): time 0.001466/0.2325, allocations: 0.876 MB / 382.9 MB, free: 11.92 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.063e-05/0.2326, allocations: 66.67 kB / 383 MB, free: 11.85 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001487/0.2327, allocations: 175.1 kB / 383.2 MB, free: 11.72 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.405e-05/0.2327, allocations: 31.08 kB / 383.2 MB, free: 11.69 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.72e-05/0.2328, allocations: 139.8 kB / 383.3 MB, free: 11.57 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.373e-05/0.2329, allocations: 84.91 kB / 383.4 MB, free: 11.5 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.784e-05/0.2329, allocations: 46.75 kB / 383.5 MB, free: 11.47 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 5.198e-05/0.233, allocations: 329.8 kB / 383.8 MB, free: 11.15 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001415/0.2331, allocations: 57.44 kB / 383.8 MB, free: 11.13 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001588/0.2333, allocations: 100.2 kB / 383.9 MB, free: 11.07 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000291/0.2336, allocations: 175.4 kB / 384.1 MB, free: 10.96 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.585e-06/0.2336, allocations: 4.969 kB / 384.1 MB, free: 10.96 MB / 318.1 MB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0004023/0.234, allocations: 254.3 kB / 384.4 MB, free: 10.84 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.573e-05/0.234, allocations: 5.25 kB / 384.4 MB, free: 10.84 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.68e-06/0.2341, allocations: 2.062 kB / 384.4 MB, free: 10.84 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001583/0.2342, allocations: 31.62 kB / 384.4 MB, free: 10.83 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002176/0.2345, allocations: 55.17 kB / 384.5 MB, free: 10.82 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008714/0.2353, allocations: 1.478 MB / 385.9 MB, free: 9.367 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001179/0.2355, allocations: 17.52 kB / 386 MB, free: 9.355 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.623e-05/0.2355, allocations: 10.59 kB / 386 MB, free: 9.352 MB / 318.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 9.191e-05/0.2356, allocations: 133 kB / 386.1 MB, free: 9.223 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.273e-05/0.2356, allocations: 17.25 kB / 386.1 MB, free: 9.215 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.623e-05/0.2357, allocations: 27.83 kB / 386.1 MB, free: 9.195 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.31e-06/0.2357, allocations: 0.75 kB / 386.1 MB, free: 9.195 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.234e-06/0.2357, allocations: 1.375 kB / 386.1 MB, free: 9.195 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.382e-05/0.2357, allocations: 98.08 kB / 386.2 MB, free: 9.086 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.526e-05/0.2358, allocations: 9.938 kB / 386.2 MB, free: 9.078 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001308/0.2359, allocations: 4.25 kB / 386.3 MB, free: 9.078 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.316e-05/0.236, allocations: 18.48 kB / 386.3 MB, free: 9.074 MB / 318.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0005842/0.2366, allocations: 316.4 kB / 386.6 MB, free: 8.902 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0004501/0.237, allocations: 450 kB / 387 MB, free: 8.602 MB / 318.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0001312/0.2372, allocations: 73.8 kB / 387.1 MB, free: 8.574 MB / 318.1 MB Notification: Performance of sorting global known variables: time 8.012e-05/0.2373, allocations: 127.8 kB / 387.2 MB, free: 8.484 MB / 318.1 MB Notification: Performance of Backend: time 3.31e-07/0.2373, allocations: 3.172 kB / 387.2 MB, free: 8.484 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0006213/0.2379, allocations: 321.5 kB / 387.5 MB, free: 8.258 MB / 318.1 MB Notification: Performance of SimCode: time 0.00101/0.2389, allocations: 1.114 MB / 388.6 MB, free: 7.348 MB / 318.1 MB Notification: Performance of Templates: time 0.006006/0.2449, allocations: 2.469 MB / 391.1 MB, free: 7.18 MB / 318.1 MB make -j1 -f Modelica_3.2.3_Modelica.Mechanics.Rotational.Examples.FirstGrounded.makefile (rm -f Modelica_3.2.3_Modelica.Mechanics.Rotational.Examples.FirstGrounded.pipe ; mkfifo Modelica_3.2.3_Modelica.Mechanics.Rotational.Examples.FirstGrounded.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Mechanics.Rotational.Examples.FirstGrounded.pipe >> ../files/Modelica_3.2.3_Modelica.Mechanics.Rotational.Examples.FirstGrounded.sim & ./Modelica_3.2.3_Modelica.Mechanics.Rotational.Examples.FirstGrounded -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Mechanics.Rotational.Examples.FirstGrounded.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Mechanics.Rotational.Examples.FirstGrounded_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Mechanics/Rotational/Examples/FirstGrounded/FirstGrounded.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Mechanics.Rotational.Examples.FirstGrounded.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches