Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001256/0.001256, allocations: 109.5 kB / 20.43 MB, free: 1.457 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002066/0.002066, allocations: 181.8 kB / 23.72 MB, free: 4.699 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.389/1.389, allocations: 225.6 MB / 252.5 MB, free: 13.03 MB / 206.1 MB " [Timeout remaining time 178] 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: "" <> buildModelFMU(Modelica.Mechanics.Rotational.Examples.FirstGrounded,fileNamePrefix="Modelica_4_0_0_Modelica_Mechanics_Rotational_Examples_FirstGrounded",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Mechanics.Rotational.Examples.FirstGrounded,fileNamePrefix="Modelica_4_0_0_Modelica_Mechanics_Rotational_Examples_FirstGrounded",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001625/0.001625, allocations: 51.92 kB / 370.4 MB, free: 9.879 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2195/0.2211, allocations: 52.19 MB / 422.6 MB, free: 14.61 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Rotational.Examples.FirstGrounded): time 0.003544/0.2247, allocations: 2.375 MB / 425 MB, free: 12.23 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009913/0.2256, allocations: 0.5844 MB / 425.6 MB, free: 11.64 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001243/0.2258, allocations: 4 kB / 425.6 MB, free: 11.63 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001425/0.2259, allocations: 35.59 kB / 425.6 MB, free: 11.6 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001421/0.2261, allocations: 75.33 kB / 425.7 MB, free: 11.52 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001867/0.2262, allocations: 51.94 kB / 425.8 MB, free: 11.47 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003039/0.2265, allocations: 262.8 kB / 426 MB, free: 11.21 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001626/0.2267, allocations: 64.56 kB / 426.1 MB, free: 11.15 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001566/0.2269, allocations: 103.6 kB / 426.2 MB, free: 11.05 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000161/0.227, allocations: 103.5 kB / 426.3 MB, free: 10.95 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 4.091e-05/0.2271, allocations: 20 kB / 426.3 MB, free: 10.93 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.599e-05/0.2271, allocations: 20 kB / 426.3 MB, free: 10.91 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 4.467e-05/0.2271, allocations: 43.83 kB / 426.4 MB, free: 10.86 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001157/0.2273, allocations: 119.4 kB / 426.5 MB, free: 10.75 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003035/0.2276, allocations: 247.3 kB / 426.7 MB, free: 10.51 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.757e-06/0.2276, allocations: 0 / 426.7 MB, free: 10.51 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.543e-06/0.2276, allocations: 0 / 426.7 MB, free: 10.51 MB / 334.1 MB Notification: Performance of Transformations before backend: time 5.761e-06/0.2276, allocations: 4 kB / 426.7 MB, free: 10.51 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.0006863/0.2283, allocations: 457.6 kB / 427.2 MB, free: 10.03 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.163e-05/0.2283, allocations: 8.031 kB / 427.2 MB, free: 10.02 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.073e-05/0.2284, allocations: 54.73 kB / 427.2 MB, free: 9.961 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.186e-05/0.2284, allocations: 32.73 kB / 427.3 MB, free: 9.93 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003036/0.2287, allocations: 179.5 kB / 427.4 MB, free: 9.727 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.331e-05/0.2287, allocations: 20.81 kB / 427.5 MB, free: 9.707 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.869e-05/0.2288, allocations: 24.38 kB / 427.5 MB, free: 9.684 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003707/0.2292, allocations: 210 kB / 427.7 MB, free: 9.465 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.839e-05/0.2292, allocations: 3.953 kB / 427.7 MB, free: 9.461 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.822e-05/0.2292, allocations: 8 kB / 427.7 MB, free: 9.453 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.057e-06/0.2292, allocations: 4 kB / 427.7 MB, free: 9.449 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002654/0.2295, allocations: 129.6 kB / 427.8 MB, free: 9.32 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009938/0.2305, allocations: 0.6618 MB / 428.5 MB, free: 8.613 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002536/0.2307, allocations: 142.5 kB / 428.6 MB, free: 8.465 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001227/0.2308, allocations: 56.84 kB / 428.7 MB, free: 8.406 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.911e-05/0.2309, allocations: 4 kB / 428.7 MB, free: 8.402 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.903e-05/0.2309, allocations: 42.55 kB / 428.7 MB, free: 8.352 MB / 334.1 MB Notification: Performance of pre-optimization done (n=20): time 1.343e-06/0.2309, allocations: 0 / 428.7 MB, free: 8.352 MB / 334.1 MB Notification: Performance of matching and sorting (n=24): time 0.001463/0.2324, allocations: 0.7467 MB / 429.5 MB, free: 7.555 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.699e-05/0.2324, allocations: 51.41 kB / 429.5 MB, free: 7.492 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001704/0.2326, allocations: 175.3 kB / 429.7 MB, free: 7.309 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.862e-05/0.2326, allocations: 33.58 kB / 429.7 MB, free: 7.27 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.674e-05/0.2327, allocations: 148.4 kB / 429.9 MB, free: 7.121 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.519e-05/0.2328, allocations: 87.22 kB / 430 MB, free: 7.035 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.425e-05/0.2328, allocations: 45.7 kB / 430 MB, free: 6.984 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.000143/0.233, allocations: 334.8 kB / 430.3 MB, free: 6.648 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000119/0.2331, allocations: 55.97 kB / 430.4 MB, free: 6.594 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001491/0.2332, allocations: 109.3 kB / 430.5 MB, free: 6.473 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002673/0.2335, allocations: 164.2 kB / 430.7 MB, free: 6.297 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.256e-06/0.2335, allocations: 4 kB / 430.7 MB, free: 6.293 MB / 334.1 MB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0004395/0.234, allocations: 262 kB / 430.9 MB, free: 6.027 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.493e-05/0.234, allocations: 4 kB / 430.9 MB, free: 6.023 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.98e-06/0.234, allocations: 0 / 430.9 MB, free: 6.023 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001606/0.2341, allocations: 40.95 kB / 431 MB, free: 5.98 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002013/0.2343, allocations: 47.91 kB / 431 MB, free: 5.934 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001254/0.2356, allocations: 1.381 MB / 432.4 MB, free: 4.434 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001241/0.2357, allocations: 8.031 kB / 432.4 MB, free: 4.426 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.423e-05/0.2357, allocations: 8 kB / 432.4 MB, free: 4.418 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.0001353/0.2359, allocations: 137.8 kB / 432.5 MB, free: 4.273 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.299e-05/0.2359, allocations: 19.86 kB / 432.6 MB, free: 4.254 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.748e-05/0.236, allocations: 30.03 kB / 432.6 MB, free: 4.219 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.657e-06/0.236, allocations: 3.938 kB / 432.6 MB, free: 4.215 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.51e-06/0.236, allocations: 4 kB / 432.6 MB, free: 4.211 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.312e-06/0.236, allocations: 7.922 kB / 432.6 MB, free: 4.203 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009094/0.2369, allocations: 0.6136 MB / 433.2 MB, free: 3.527 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.595e-06/0.2369, allocations: 4.062 kB / 433.2 MB, free: 3.523 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002088/0.2371, allocations: 43.97 kB / 433.3 MB, free: 3.48 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001184/0.2372, allocations: 36.78 kB / 433.3 MB, free: 3.441 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.586e-05/0.2372, allocations: 4 kB / 433.3 MB, free: 3.438 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001213/0.2384, allocations: 1.394 MB / 434.7 MB, free: 1.934 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.783e-06/0.2384, allocations: 0 / 434.7 MB, free: 1.934 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005917/0.239, allocations: 403.4 kB / 435.1 MB, free: 1.516 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.654e-05/0.2391, allocations: 15.86 kB / 435.1 MB, free: 1.5 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.932e-05/0.2391, allocations: 8 kB / 435.1 MB, free: 1.492 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001227/0.2392, allocations: 8 kB / 435.1 MB, free: 1.484 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.549e-05/0.2393, allocations: 19.94 kB / 435.1 MB, free: 1.465 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.697e-05/0.2393, allocations: 19.94 kB / 435.2 MB, free: 1.445 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0001101/0.2394, allocations: 119.2 kB / 435.3 MB, free: 1.328 MB / 334.1 MB Notification: Performance of sort global known variables: time 7e-08/0.2394, allocations: 0 / 435.3 MB, free: 1.328 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0003388/0.2397, allocations: 60 kB / 435.3 MB, free: 1.27 MB / 334.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (21): * Single equations (assignments): 20 * 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.0009559/0.2407, allocations: 0.9352 MB / 436.3 MB, free: 308 kB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0005677/0.2413, allocations: 281.2 kB / 436.5 MB, free: 16 kB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 3.066e-06/0.2413, allocations: 256 / 436.5 MB, free: 16 kB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003445/0.2416, allocations: 218.5 kB / 436.8 MB, free: 15.79 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004296/0.2421, allocations: 43.38 kB / 436.8 MB, free: 15.75 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003371/0.2454, allocations: 2.533 MB / 439.3 MB, free: 13.09 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003763/0.2458, allocations: 0.7442 MB / 440.1 MB, free: 12.32 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 8.462e-05/0.2459, allocations: 21.94 kB / 440.1 MB, free: 12.3 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001034/0.246, allocations: 71.42 kB / 440.2 MB, free: 12.23 MB / 350.1 MB Notification: Performance of SimCode: time 4.61e-07/0.246, allocations: 0 / 440.2 MB, free: 12.23 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03716/0.2831, allocations: 4.965 MB / 445.1 MB, free: 7.406 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.27/11.55, allocations: 2.5 kB / 445.1 MB, free: 7.406 MB / 350.1 MB " [Timeout remaining time 648] (rm -f Modelica_4.0.0_Modelica.Mechanics.Rotational.Examples.FirstGrounded.pipe ; mkfifo Modelica_4.0.0_Modelica.Mechanics.Rotational.Examples.FirstGrounded.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Mechanics.Rotational.Examples.FirstGrounded.pipe >> ../files/Modelica_4.0.0_Modelica.Mechanics.Rotational.Examples.FirstGrounded.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.0.0_Modelica.Mechanics.Rotational.Examples.FirstGrounded_res.mat --tempDir=temp_Modelica_4_0_0_Modelica_Mechanics_Rotational_Examples_FirstGrounded_fmu --startTime=0 --stopTime=1 --stepSize=0.001 --timeout=50 --tolerance=1e-06 Modelica_4_0_0_Modelica_Mechanics_Rotational_Examples_FirstGrounded.fmu > Modelica_4.0.0_Modelica.Mechanics.Rotational.Examples.FirstGrounded.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_4.0.0_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_4.0.0_Modelica.Mechanics.Rotational.Examples.FirstGrounded.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: 13.79967637709342]