Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Mechanics.Rotational.Examples.FirstGrounded.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001252/0.001252, allocations: 107.1 kB / 20.44 MB, free: 1.344 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001365/0.001365, allocations: 207.8 kB / 23.73 MB, free: 4.523 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.366/1.366, allocations: 230.6 MB / 257.5 MB, free: 7.785 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Modelica.Mechanics.Rotational.Examples.FirstGrounded,fileNamePrefix="Modelica_4_1_0_Modelica_Mechanics_Rotational_Examples_FirstGrounded",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Mechanics.Rotational.Examples.FirstGrounded,fileNamePrefix="Modelica_4_1_0_Modelica_Mechanics_Rotational_Examples_FirstGrounded",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001457/0.001457, allocations: 47.92 kB / 377.7 MB, free: 2.965 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2296/0.2311, allocations: 53.36 MB / 431.1 MB, free: 6.645 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Rotational.Examples.FirstGrounded): time 0.003905/0.235, allocations: 2.259 MB / 433.3 MB, free: 4.383 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001142/0.2361, allocations: 0.6116 MB / 433.9 MB, free: 3.766 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001231/0.2363, allocations: 7.938 kB / 433.9 MB, free: 3.758 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00015/0.2364, allocations: 39.66 kB / 434 MB, free: 3.719 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001527/0.2366, allocations: 75.28 kB / 434.1 MB, free: 3.645 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002706/0.2368, allocations: 63.84 kB / 434.1 MB, free: 3.582 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.00031/0.2372, allocations: 258.8 kB / 434.4 MB, free: 3.328 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001683/0.2373, allocations: 73.05 kB / 434.4 MB, free: 3.258 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002076/0.2375, allocations: 111.6 kB / 434.6 MB, free: 3.148 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001552/0.2377, allocations: 103.5 kB / 434.7 MB, free: 3.047 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 3.476e-05/0.2377, allocations: 24 kB / 434.7 MB, free: 3.023 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.355e-05/0.2378, allocations: 20 kB / 434.7 MB, free: 3.004 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 4.831e-05/0.2378, allocations: 51.78 kB / 434.8 MB, free: 2.953 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001069/0.2379, allocations: 95.58 kB / 434.8 MB, free: 2.859 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003261/0.2383, allocations: 252.7 kB / 435.1 MB, free: 2.613 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.555e-06/0.2383, allocations: 8 kB / 435.1 MB, free: 2.605 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.332e-06/0.2383, allocations: 0 / 435.1 MB, free: 2.605 MB / 334.1 MB Notification: Performance of Transformations before backend: time 6.492e-06/0.2383, allocations: 0 / 435.1 MB, free: 2.605 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.0007299/0.239, allocations: 453.5 kB / 435.5 MB, free: 2.133 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.044e-05/0.239, allocations: 12.03 kB / 435.6 MB, free: 2.121 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.793e-05/0.2391, allocations: 50.73 kB / 435.6 MB, free: 2.062 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001602/0.2393, allocations: 36.78 kB / 435.6 MB, free: 2.027 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003456/0.2396, allocations: 186.8 kB / 435.8 MB, free: 1.816 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.179e-05/0.2396, allocations: 16.8 kB / 435.8 MB, free: 1.801 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.494e-05/0.2397, allocations: 20.38 kB / 435.9 MB, free: 1.781 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000373/0.2401, allocations: 210 kB / 436.1 MB, free: 1.566 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.875e-05/0.2401, allocations: 7.953 kB / 436.1 MB, free: 1.559 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.317e-05/0.2401, allocations: 12 kB / 436.1 MB, free: 1.547 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.689e-05/0.2401, allocations: 8 kB / 436.1 MB, free: 1.539 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002511/0.2404, allocations: 121.6 kB / 436.2 MB, free: 1.418 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009938/0.2414, allocations: 0.6306 MB / 436.8 MB, free: 0.7422 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000271/0.2416, allocations: 138.5 kB / 437 MB, free: 0.5977 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001272/0.2418, allocations: 68.77 kB / 437 MB, free: 0.5273 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.956e-05/0.2418, allocations: 0 / 437 MB, free: 0.5273 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.984e-05/0.2418, allocations: 38.56 kB / 437.1 MB, free: 492 kB / 334.1 MB Notification: Performance of pre-optimization done (n=20): time 1.062e-06/0.2418, allocations: 0 / 437.1 MB, free: 492 kB / 334.1 MB Notification: Performance of matching and sorting (n=24): time 0.001575/0.2434, allocations: 0.7404 MB / 437.8 MB, free: 15.69 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.469e-05/0.2434, allocations: 55.41 kB / 437.9 MB, free: 15.62 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001863/0.2436, allocations: 180.3 kB / 438 MB, free: 15.43 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.301e-05/0.2436, allocations: 29.7 kB / 438.1 MB, free: 15.39 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000102/0.2437, allocations: 152.4 kB / 438.2 MB, free: 15.24 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.927e-05/0.2438, allocations: 91.2 kB / 438.3 MB, free: 15.15 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.378e-05/0.2439, allocations: 45.7 kB / 438.4 MB, free: 15.1 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001459/0.244, allocations: 334.8 kB / 438.7 MB, free: 14.77 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001244/0.2442, allocations: 51.97 kB / 438.7 MB, free: 14.71 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000147/0.2443, allocations: 96.27 kB / 438.8 MB, free: 14.61 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002796/0.2446, allocations: 176.1 kB / 439 MB, free: 14.42 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.182e-06/0.2446, allocations: 0 / 439 MB, free: 14.42 MB / 350.1 MB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0004456/0.245, allocations: 258 kB / 439.3 MB, free: 14.16 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.921e-05/0.2451, allocations: 8 kB / 439.3 MB, free: 14.15 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.153e-06/0.2451, allocations: 3.984 kB / 439.3 MB, free: 14.14 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001665/0.2452, allocations: 32.84 kB / 439.3 MB, free: 14.11 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002156/0.2454, allocations: 56.03 kB / 439.4 MB, free: 14.05 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001274/0.2467, allocations: 1.373 MB / 440.7 MB, free: 12.56 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001311/0.2468, allocations: 8 kB / 440.7 MB, free: 12.55 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.084e-05/0.2469, allocations: 11.98 kB / 440.7 MB, free: 12.54 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.0001752/0.247, allocations: 129.8 kB / 440.9 MB, free: 12.41 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.884e-05/0.2471, allocations: 23.92 kB / 440.9 MB, free: 12.38 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.136e-05/0.2471, allocations: 25.97 kB / 440.9 MB, free: 12.35 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.264e-06/0.2471, allocations: 7.938 kB / 440.9 MB, free: 12.34 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.928e-06/0.2472, allocations: 0 / 440.9 MB, free: 12.34 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.68e-06/0.2472, allocations: 7.922 kB / 440.9 MB, free: 12.34 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009245/0.2481, allocations: 0.5887 MB / 441.5 MB, free: 11.68 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.769e-06/0.2481, allocations: 3.984 kB / 441.5 MB, free: 11.68 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002131/0.2483, allocations: 40.05 kB / 441.6 MB, free: 11.64 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001232/0.2484, allocations: 48.7 kB / 441.6 MB, free: 11.59 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.629e-05/0.2484, allocations: 4 kB / 441.6 MB, free: 11.59 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00115/0.2496, allocations: 1.385 MB / 443 MB, free: 10.09 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.407e-06/0.2496, allocations: 4.031 kB / 443 MB, free: 10.09 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005737/0.2502, allocations: 412.3 kB / 443.4 MB, free: 9.664 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.511e-05/0.2502, allocations: 19.86 kB / 443.4 MB, free: 9.645 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.61e-05/0.2502, allocations: 8.031 kB / 443.4 MB, free: 9.637 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001206/0.2503, allocations: 8 kB / 443.4 MB, free: 9.629 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.775e-05/0.2504, allocations: 19.91 kB / 443.5 MB, free: 9.609 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.476e-05/0.2504, allocations: 8 kB / 443.5 MB, free: 9.602 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.000107/0.2505, allocations: 128.1 kB / 443.6 MB, free: 9.477 MB / 350.1 MB Notification: Performance of sort global known variables: time 9.1e-08/0.2505, allocations: 4 kB / 443.6 MB, free: 9.473 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003247/0.2508, allocations: 56 kB / 443.7 MB, free: 9.418 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.0008616/0.2517, allocations: 0.9414 MB / 444.6 MB, free: 8.441 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0005204/0.2522, allocations: 266.6 kB / 444.9 MB, free: 8.168 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.244e-06/0.2522, allocations: 0 / 444.9 MB, free: 8.168 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003103/0.2525, allocations: 218.9 kB / 445.1 MB, free: 7.941 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004084/0.2529, allocations: 47.78 kB / 445.1 MB, free: 7.895 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003246/0.2562, allocations: 2.536 MB / 447.7 MB, free: 5.234 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001345/0.2563, allocations: 134.5 kB / 447.8 MB, free: 5.082 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 8.268e-05/0.2564, allocations: 25.92 kB / 447.8 MB, free: 5.055 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.988e-05/0.2565, allocations: 63.42 kB / 447.9 MB, free: 4.996 MB / 350.1 MB Notification: Performance of SimCode: time 7.31e-07/0.2565, allocations: 0 / 447.9 MB, free: 4.996 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03641/0.2929, allocations: 5.548 MB / 453.4 MB, free: 15.62 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.88/11.17, allocations: 6.484 kB / 453.4 MB, free: 15.62 MB / 366.1 MB " [Timeout remaining time 649] (rm -f Modelica_4.1.0_Modelica.Mechanics.Rotational.Examples.FirstGrounded.pipe ; mkfifo Modelica_4.1.0_Modelica.Mechanics.Rotational.Examples.FirstGrounded.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Mechanics.Rotational.Examples.FirstGrounded.pipe >> ../files/Modelica_4.1.0_Modelica.Mechanics.Rotational.Examples.FirstGrounded.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.1.0_Modelica.Mechanics.Rotational.Examples.FirstGrounded_res.mat --tempDir=temp_Modelica_4_1_0_Modelica_Mechanics_Rotational_Examples_FirstGrounded_fmu --startTime=0 --stopTime=1 --stepSize=0.001 --timeout=50 --tolerance=1e-06 Modelica_4_1_0_Modelica_Mechanics_Rotational_Examples_FirstGrounded.fmu > Modelica_4.1.0_Modelica.Mechanics.Rotational.Examples.FirstGrounded.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_4.1.0_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_4.1.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.365278296987526]