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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001814/0.001814, allocations: 110 kB / 20.43 MB, free: 1.453 MB / 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.002428/0.002428, allocations: 212.2 kB / 23.74 MB, free: 4.66 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.401/1.401, allocations: 230.5 MB / 257.4 MB, free: 7.988 MB / 206.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: "" <> buildModelFMU(Modelica.Mechanics.Rotational.Examples.FirstGrounded,fileNamePrefix="Modelica_trunk_Modelica_Mechanics_Rotational_Examples_FirstGrounded",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Mechanics.Rotational.Examples.FirstGrounded,fileNamePrefix="Modelica_trunk_Modelica_Mechanics_Rotational_Examples_FirstGrounded",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001837/0.001837, allocations: 71.89 kB / 377.8 MB, free: 2.992 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2368/0.2386, allocations: 53.41 MB / 431.2 MB, free: 6.684 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Rotational.Examples.FirstGrounded): time 0.004084/0.2427, allocations: 2.38 MB / 433.6 MB, free: 4.297 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001134/0.2439, allocations: 0.666 MB / 434.2 MB, free: 3.625 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001184/0.244, allocations: 7.938 kB / 434.2 MB, free: 3.617 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001337/0.2441, allocations: 31.66 kB / 434.3 MB, free: 3.586 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001437/0.2443, allocations: 75.34 kB / 434.3 MB, free: 3.512 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002499/0.2445, allocations: 67.86 kB / 434.4 MB, free: 3.445 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003169/0.2448, allocations: 262.7 kB / 434.7 MB, free: 3.188 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001698/0.245, allocations: 64.52 kB / 434.7 MB, free: 3.121 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002132/0.2452, allocations: 111.6 kB / 434.8 MB, free: 3.012 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000167/0.2454, allocations: 103.5 kB / 434.9 MB, free: 2.91 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 3.252e-05/0.2454, allocations: 20 kB / 435 MB, free: 2.891 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.748e-05/0.2455, allocations: 23.98 kB / 435 MB, free: 2.867 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 4.189e-05/0.2455, allocations: 47.84 kB / 435 MB, free: 2.82 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001097/0.2456, allocations: 115.4 kB / 435.1 MB, free: 2.707 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003278/0.246, allocations: 259.3 kB / 435.4 MB, free: 2.461 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.27e-06/0.246, allocations: 0 / 435.4 MB, free: 2.461 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.333e-06/0.246, allocations: 0 / 435.4 MB, free: 2.461 MB / 334.1 MB Notification: Performance of Transformations before backend: time 6.663e-06/0.246, allocations: 3.938 kB / 435.4 MB, free: 2.457 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.0006913/0.2467, allocations: 453.5 kB / 435.8 MB, free: 1.984 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.674e-05/0.2467, allocations: 8.031 kB / 435.8 MB, free: 1.977 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.614e-05/0.2468, allocations: 54.73 kB / 435.9 MB, free: 1.914 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001476/0.2469, allocations: 36.78 kB / 435.9 MB, free: 1.879 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003142/0.2472, allocations: 194.8 kB / 436.1 MB, free: 1.66 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.718e-05/0.2472, allocations: 12.81 kB / 436.1 MB, free: 1.648 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.464e-05/0.2473, allocations: 24.38 kB / 436.2 MB, free: 1.625 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003583/0.2476, allocations: 210 kB / 436.4 MB, free: 1.41 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.821e-05/0.2477, allocations: 3.953 kB / 436.4 MB, free: 1.406 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.035e-05/0.2477, allocations: 12 kB / 436.4 MB, free: 1.395 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.074e-06/0.2477, allocations: 8 kB / 436.4 MB, free: 1.387 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002657/0.2479, allocations: 133.6 kB / 436.5 MB, free: 1.254 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001013/0.249, allocations: 0.6656 MB / 437.2 MB, free: 0.543 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002594/0.2492, allocations: 142.5 kB / 437.3 MB, free: 404 kB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00013/0.2493, allocations: 67.58 kB / 437.4 MB, free: 336 kB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.046e-05/0.2494, allocations: 0 / 437.4 MB, free: 336 kB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.254e-05/0.2494, allocations: 38.56 kB / 437.4 MB, free: 288 kB / 334.1 MB Notification: Performance of pre-optimization done (n=20): time 1.323e-06/0.2494, allocations: 0 / 437.4 MB, free: 288 kB / 334.1 MB Notification: Performance of matching and sorting (n=24): time 0.001509/0.2509, allocations: 0.7427 MB / 438.2 MB, free: 15.48 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.559e-05/0.251, allocations: 55.41 kB / 438.2 MB, free: 15.42 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001752/0.2511, allocations: 176.1 kB / 438.4 MB, free: 15.23 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 5.423e-05/0.2512, allocations: 33.7 kB / 438.4 MB, free: 15.19 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.944e-05/0.2513, allocations: 144.4 kB / 438.6 MB, free: 15.05 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.834e-05/0.2514, allocations: 95.22 kB / 438.7 MB, free: 14.95 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.489e-05/0.2514, allocations: 45.7 kB / 438.7 MB, free: 14.9 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001586/0.2516, allocations: 334.8 kB / 439 MB, free: 14.57 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00012/0.2517, allocations: 51.98 kB / 439.1 MB, free: 14.52 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000154/0.2519, allocations: 100.2 kB / 439.2 MB, free: 14.4 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002848/0.2522, allocations: 172.8 kB / 439.4 MB, free: 14.22 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.192e-06/0.2522, allocations: 0 / 439.4 MB, free: 14.22 MB / 350.1 MB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0004704/0.2526, allocations: 258.1 kB / 439.6 MB, free: 13.96 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.933e-05/0.2527, allocations: 10.5 kB / 439.6 MB, free: 13.95 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.951e-06/0.2527, allocations: 3.938 kB / 439.6 MB, free: 13.95 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001602/0.2528, allocations: 28.84 kB / 439.6 MB, free: 13.91 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002093/0.253, allocations: 51.91 kB / 439.7 MB, free: 13.86 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001415/0.2544, allocations: 1.385 MB / 441.1 MB, free: 12.36 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001202/0.2546, allocations: 8.031 kB / 441.1 MB, free: 12.36 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.744e-05/0.2546, allocations: 8 kB / 441.1 MB, free: 12.35 MB / 350.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.0001354/0.2547, allocations: 133.9 kB / 441.2 MB, free: 12.21 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.613e-05/0.2548, allocations: 23.86 kB / 441.3 MB, free: 12.18 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.041e-05/0.2548, allocations: 25.95 kB / 441.3 MB, free: 12.15 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.422e-06/0.2548, allocations: 7.938 kB / 441.3 MB, free: 12.14 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.118e-06/0.2548, allocations: 0 / 441.3 MB, free: 12.14 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.228e-06/0.2548, allocations: 3.938 kB / 441.3 MB, free: 12.14 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009395/0.2558, allocations: 0.616 MB / 441.9 MB, free: 11.46 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.294e-06/0.2558, allocations: 0 / 441.9 MB, free: 11.46 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002047/0.256, allocations: 43.97 kB / 441.9 MB, free: 11.42 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001206/0.2561, allocations: 40.78 kB / 442 MB, free: 11.38 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.585e-05/0.2561, allocations: 8 kB / 442 MB, free: 11.37 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001236/0.2574, allocations: 1.381 MB / 443.4 MB, free: 9.875 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.293e-06/0.2574, allocations: 4.062 kB / 443.4 MB, free: 9.871 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005836/0.2579, allocations: 402.1 kB / 443.8 MB, free: 9.453 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.269e-05/0.258, allocations: 15.86 kB / 443.8 MB, free: 9.438 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.58e-05/0.258, allocations: 8 kB / 443.8 MB, free: 9.43 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001194/0.2581, allocations: 12 kB / 443.8 MB, free: 9.418 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.215e-05/0.2582, allocations: 19.94 kB / 443.8 MB, free: 9.398 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.409e-05/0.2582, allocations: 12 kB / 443.8 MB, free: 9.387 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001075/0.2583, allocations: 121.2 kB / 444 MB, free: 9.27 MB / 350.1 MB Notification: Performance of sort global known variables: time 9e-08/0.2583, allocations: 0 / 444 MB, free: 9.27 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003203/0.2586, allocations: 60 kB / 444 MB, free: 9.211 MB / 350.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.0008809/0.2595, allocations: 0.9416 MB / 445 MB, free: 8.234 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0005303/0.26, allocations: 278.6 kB / 445.2 MB, free: 7.949 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.044e-06/0.26, allocations: 0 / 445.2 MB, free: 7.949 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003253/0.2604, allocations: 210.5 kB / 445.4 MB, free: 7.73 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004149/0.2608, allocations: 48.17 kB / 445.5 MB, free: 7.684 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003262/0.264, allocations: 2.554 MB / 448 MB, free: 5.008 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003958/0.2644, allocations: 0.7482 MB / 448.8 MB, free: 4.234 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 8.076e-05/0.2645, allocations: 17.94 kB / 448.8 MB, free: 4.215 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001065/0.2646, allocations: 71.41 kB / 448.9 MB, free: 4.148 MB / 350.1 MB Notification: Performance of SimCode: time 5.71e-07/0.2646, allocations: 0 / 448.9 MB, free: 4.148 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03461/0.2992, allocations: 5.005 MB / 453.9 MB, free: 15.26 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.32/11.62, allocations: 0 / 453.9 MB, free: 15.26 MB / 366.1 MB " [Timeout remaining time 648] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_trunk_Modelica.Mechanics.Rotational.Examples.FirstGrounded_res.mat --tempDir=temp_Modelica_trunk_Modelica_Mechanics_Rotational_Examples_FirstGrounded_fmu --startTime=0 --stopTime=1 --stepSize=0.001 --timeout=50 --tolerance=1e-06 Modelica_trunk_Modelica_Mechanics_Rotational_Examples_FirstGrounded.fmu > Modelica_trunk_Modelica.Mechanics.Rotational.Examples.FirstGrounded.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_trunk_Modelica.Mechanics.Rotational.Examples.FirstGrounded_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.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) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 13.903072820976377]