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.001282/0.001282, allocations: 117.2 kB / 18.46 MB, free: 4.59 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001393/0.001393, allocations: 206.7 kB / 19.41 MB, free: 3.641 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.344/1.344, allocations: 227.4 MB / 247.6 MB, free: 10.43 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001251/0.001251, allocations: 59.91 kB / 359.4 MB, free: 12.89 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.214/0.2153, allocations: 50.54 MB / 409.9 MB, free: 1.574 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Rotational.Examples.FirstGrounded): time 0.003234/0.2185, allocations: 2.367 MB / 412.3 MB, free: 15.2 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009792/0.2195, allocations: 0.6427 MB / 412.9 MB, free: 14.55 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001119/0.2196, allocations: 8 kB / 413 MB, free: 14.55 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001368/0.2198, allocations: 31.59 kB / 413 MB, free: 14.52 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001331/0.2199, allocations: 75.34 kB / 413.1 MB, free: 14.44 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002302/0.2202, allocations: 67.86 kB / 413.1 MB, free: 14.38 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002618/0.2205, allocations: 258.8 kB / 413.4 MB, free: 14.12 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001674/0.2206, allocations: 88.28 kB / 413.5 MB, free: 14.03 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001804/0.2208, allocations: 107.6 kB / 413.6 MB, free: 13.92 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001393/0.221, allocations: 107.5 kB / 413.7 MB, free: 13.82 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 3.169e-05/0.221, allocations: 20 kB / 413.7 MB, free: 13.8 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.856e-05/0.2211, allocations: 28 kB / 413.7 MB, free: 13.77 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 4.129e-05/0.2211, allocations: 47.84 kB / 413.8 MB, free: 13.72 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001024/0.2212, allocations: 119.4 kB / 413.9 MB, free: 13.61 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002821/0.2215, allocations: 243 kB / 414.1 MB, free: 13.37 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.887e-06/0.2215, allocations: 4 kB / 414.1 MB, free: 13.36 MB / 334.1 MB Notification: Performance of FrontEnd: time 2.454e-06/0.2216, allocations: 0 / 414.1 MB, free: 13.36 MB / 334.1 MB Notification: Performance of Transformations before backend: time 5.821e-06/0.2216, allocations: 3.938 kB / 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.0006634/0.2222, allocations: 0.5144 MB / 414.6 MB, free: 12.8 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.379e-05/0.2223, allocations: 15.97 kB / 414.7 MB, free: 12.78 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001595/0.2224, allocations: 36.78 kB / 414.7 MB, free: 12.75 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002755/0.2227, allocations: 252.5 kB / 414.9 MB, free: 12.46 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.857e-05/0.2228, allocations: 16.81 kB / 415 MB, free: 12.44 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.917e-05/0.2228, allocations: 20.36 kB / 415 MB, free: 12.42 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003412/0.2231, allocations: 218.1 kB / 415.2 MB, free: 12.2 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.788e-05/0.2232, allocations: 3.953 kB / 415.2 MB, free: 12.2 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.865e-05/0.2232, allocations: 12 kB / 415.2 MB, free: 12.18 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.556e-06/0.2232, allocations: 8 kB / 415.2 MB, free: 12.18 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002532/0.2235, allocations: 125.7 kB / 415.3 MB, free: 12.05 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009184/0.2244, allocations: 0.6978 MB / 416 MB, free: 11.3 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002464/0.2247, allocations: 154.5 kB / 416.2 MB, free: 11.14 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001234/0.2248, allocations: 72.83 kB / 416.3 MB, free: 11.07 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.992e-05/0.2248, allocations: 0 / 416.3 MB, free: 11.07 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.305e-05/0.2248, allocations: 34.56 kB / 416.3 MB, free: 11.02 MB / 334.1 MB Notification: Performance of pre-optimization done (n=20): time 1.202e-06/0.2249, allocations: 0 / 416.3 MB, free: 11.02 MB / 334.1 MB Notification: Performance of matching and sorting (n=24): time 0.001466/0.2263, allocations: 0.8888 MB / 417.2 MB, free: 10.04 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.756e-05/0.2264, allocations: 51.41 kB / 417.2 MB, free: 9.98 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001475/0.2265, allocations: 181.2 kB / 417.4 MB, free: 9.789 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.859e-05/0.2265, allocations: 29.7 kB / 417.4 MB, free: 9.754 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.128e-05/0.2266, allocations: 148.4 kB / 417.6 MB, free: 9.605 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.296e-05/0.2267, allocations: 95.2 kB / 417.7 MB, free: 9.512 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.515e-05/0.2268, allocations: 45.7 kB / 417.7 MB, free: 9.461 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 9.596e-05/0.2269, allocations: 326.8 kB / 418 MB, free: 9.133 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001213/0.227, allocations: 59.97 kB / 418.1 MB, free: 9.074 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001332/0.2271, allocations: 96.23 kB / 418.2 MB, free: 8.965 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002589/0.2274, allocations: 172.2 kB / 418.4 MB, free: 8.781 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.606e-06/0.2274, allocations: 4 kB / 418.4 MB, free: 8.777 MB / 334.1 MB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0004157/0.2278, allocations: 254.1 kB / 418.6 MB, free: 8.52 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.436e-05/0.2279, allocations: 8 kB / 418.6 MB, free: 8.512 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.001e-06/0.2279, allocations: 3.984 kB / 418.6 MB, free: 8.508 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001533/0.228, allocations: 32.83 kB / 418.7 MB, free: 8.473 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002127/0.2283, allocations: 55.91 kB / 418.7 MB, free: 8.418 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001102/0.2294, allocations: 1.477 MB / 420.2 MB, free: 6.797 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001156/0.2295, allocations: 15.92 kB / 420.2 MB, free: 6.781 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.14e-05/0.2295, allocations: 12.06 kB / 420.2 MB, free: 6.77 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.0001072/0.2296, allocations: 137.2 kB / 420.3 MB, free: 6.629 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.185e-05/0.2297, allocations: 19.86 kB / 420.4 MB, free: 6.609 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.187e-05/0.2297, allocations: 29.86 kB / 420.4 MB, free: 6.578 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.347e-06/0.2297, allocations: 0 / 420.4 MB, free: 6.578 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.555e-06/0.2298, allocations: 3.938 kB / 420.4 MB, free: 6.574 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.001e-05/0.2298, allocations: 93.02 kB / 420.5 MB, free: 6.465 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.509e-05/0.2298, allocations: 4 kB / 420.5 MB, free: 6.461 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001293/0.23, allocations: 15.98 kB / 420.5 MB, free: 6.445 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.393e-05/0.23, allocations: 15.92 kB / 420.5 MB, free: 6.43 MB / 334.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0005928/0.2306, allocations: 316.7 kB / 420.8 MB, free: 6.113 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0004894/0.2311, allocations: 454.3 kB / 421.3 MB, free: 5.652 MB / 334.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0001229/0.2313, allocations: 65.19 kB / 421.3 MB, free: 5.59 MB / 334.1 MB Notification: Performance of sorting global known variables: time 8.39e-05/0.2314, allocations: 128.1 kB / 421.5 MB, free: 5.465 MB / 334.1 MB Notification: Performance of Backend: time 3.2e-07/0.2314, allocations: 0 / 421.5 MB, free: 5.465 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0007051/0.2321, allocations: 333.1 kB / 421.8 MB, free: 5.121 MB / 334.1 MB Notification: Performance of SimCode: time 0.001089/0.2332, allocations: 1.106 MB / 422.9 MB, free: 3.969 MB / 334.1 MB Notification: Performance of Templates: time 0.00559/0.2388, allocations: 2.565 MB / 425.5 MB, free: 1.422 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