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.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.00128/0.00128, allocations: 103.6 kB / 21.18 MB, free: 472 kB / 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.001433/0.001433, allocations: 214.4 kB / 24.47 MB, free: 3.793 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.34/1.34, allocations: 207.7 MB / 235.3 MB, free: 9.785 MB / 190.1 MB " [Timeout remaining time 178] 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.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_3_2_3_Modelica_Mechanics_Rotational_Examples_FirstGrounded",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Mechanics.Rotational.Examples.FirstGrounded,fileNamePrefix="Modelica_3_2_3_Modelica_Mechanics_Rotational_Examples_FirstGrounded",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Modelica requested package Complex of version 3.2.3. Complex 4.1.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.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001786/0.001786, allocations: 49.66 kB / 347.2 MB, free: 9.895 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2235/0.2253, allocations: 49.16 MB / 396.3 MB, free: 8.875 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Rotational.Examples.FirstGrounded): time 0.002815/0.2281, allocations: 2.225 MB / 398.6 MB, free: 7.406 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007928/0.2289, allocations: 0.5951 MB / 399.2 MB, free: 6.988 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001132/0.229, allocations: 9.031 kB / 399.2 MB, free: 6.984 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001239/0.2292, allocations: 35.27 kB / 399.2 MB, free: 6.961 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001208/0.2293, allocations: 78.66 kB / 399.3 MB, free: 6.902 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001717/0.2295, allocations: 54.95 kB / 399.3 MB, free: 6.871 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.000221/0.2297, allocations: 260.7 kB / 399.6 MB, free: 6.738 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001316/0.2298, allocations: 66.44 kB / 399.7 MB, free: 6.703 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001227/0.2299, allocations: 99.36 kB / 399.8 MB, free: 6.66 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001164/0.2301, allocations: 99.62 kB / 399.9 MB, free: 6.613 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 3.128e-05/0.2301, allocations: 17.75 kB / 399.9 MB, free: 6.613 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.821e-05/0.2301, allocations: 20.34 kB / 399.9 MB, free: 6.613 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 3.212e-05/0.2302, allocations: 45.34 kB / 399.9 MB, free: 6.582 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 7.824e-05/0.2302, allocations: 94.3 kB / 400 MB, free: 6.535 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002442/0.2305, allocations: 260.6 kB / 400.3 MB, free: 6.426 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.976e-06/0.2305, allocations: 0 / 400.3 MB, free: 6.426 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.943e-06/0.2305, allocations: 1.766 kB / 400.3 MB, free: 6.426 MB / 318.1 MB Notification: Performance of Transformations before backend: time 5.22e-06/0.2305, allocations: 0 / 400.3 MB, free: 6.426 MB / 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.0005451/0.231, allocations: 445.1 kB / 400.7 MB, free: 6.062 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.555e-05/0.2311, allocations: 19.11 kB / 400.7 MB, free: 6.055 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.165e-05/0.2311, allocations: 53.41 kB / 400.8 MB, free: 6.004 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.029e-05/0.2312, allocations: 24.73 kB / 400.8 MB, free: 5.992 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002217/0.2314, allocations: 180.8 kB / 401 MB, free: 5.824 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.52e-05/0.2314, allocations: 17.03 kB / 401 MB, free: 5.816 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.599e-05/0.2314, allocations: 22.59 kB / 401 MB, free: 5.809 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003035/0.2317, allocations: 212.4 kB / 401.2 MB, free: 5.695 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.645e-05/0.2318, allocations: 5.328 kB / 401.2 MB, free: 5.691 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.675e-05/0.2318, allocations: 9.875 kB / 401.2 MB, free: 5.684 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.252e-06/0.2318, allocations: 6.062 kB / 401.3 MB, free: 5.684 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002262/0.232, allocations: 128.8 kB / 401.4 MB, free: 5.645 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007635/0.2328, allocations: 0.6287 MB / 402 MB, free: 5.168 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002225/0.233, allocations: 136.5 kB / 402.1 MB, free: 5.105 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001079/0.2331, allocations: 64.89 kB / 402.2 MB, free: 5.078 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.749e-05/0.2331, allocations: 2.062 kB / 402.2 MB, free: 5.078 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.546e-05/0.2331, allocations: 41.77 kB / 402.2 MB, free: 5.031 MB / 318.1 MB Notification: Performance of pre-optimization done (n=20): time 1.283e-06/0.2331, allocations: 0 / 402.2 MB, free: 5.031 MB / 318.1 MB Notification: Performance of matching and sorting (n=24): time 0.00123/0.2344, allocations: 0.7454 MB / 403 MB, free: 4.551 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.763e-05/0.2344, allocations: 53.78 kB / 403 MB, free: 4.488 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001139/0.2345, allocations: 169.9 kB / 403.2 MB, free: 4.363 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.186e-05/0.2345, allocations: 30.86 kB / 403.2 MB, free: 4.328 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.575e-05/0.2346, allocations: 142.7 kB / 403.4 MB, free: 4.203 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.728e-05/0.2346, allocations: 88.14 kB / 403.5 MB, free: 4.133 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.372e-05/0.2346, allocations: 47.66 kB / 403.5 MB, free: 4.102 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 4.032e-05/0.2347, allocations: 332.4 kB / 403.8 MB, free: 3.777 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001042/0.2348, allocations: 59.66 kB / 403.9 MB, free: 3.758 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001127/0.2349, allocations: 101.8 kB / 404 MB, free: 3.691 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002301/0.2351, allocations: 168.1 kB / 404.2 MB, free: 3.59 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.634e-06/0.2351, allocations: 1.375 kB / 404.2 MB, free: 3.59 MB / 318.1 MB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0003668/0.2355, allocations: 253.5 kB / 404.4 MB, free: 3.465 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.205e-05/0.2355, allocations: 5.375 kB / 404.4 MB, free: 3.465 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.959e-06/0.2355, allocations: 1.812 kB / 404.4 MB, free: 3.465 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001384/0.2357, allocations: 31.95 kB / 404.4 MB, free: 3.453 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001897/0.2358, allocations: 54.31 kB / 404.5 MB, free: 3.445 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000763/0.2366, allocations: 1.376 MB / 405.9 MB, free: 2.113 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001051/0.2367, allocations: 14.14 kB / 405.9 MB, free: 2.105 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.366e-05/0.2367, allocations: 6.891 kB / 405.9 MB, free: 2.105 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 7.836e-05/0.2368, allocations: 141.2 kB / 406 MB, free: 1.969 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.703e-05/0.2368, allocations: 20.05 kB / 406.1 MB, free: 1.957 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.25e-05/0.2369, allocations: 28.02 kB / 406.1 MB, free: 1.934 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.876e-06/0.2369, allocations: 6.281 kB / 406.1 MB, free: 1.93 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.855e-06/0.2369, allocations: 1.281 kB / 406.1 MB, free: 1.93 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.198e-06/0.2369, allocations: 2.656 kB / 406.1 MB, free: 1.93 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000669/0.2376, allocations: 0.5981 MB / 406.7 MB, free: 1.484 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.495e-06/0.2376, allocations: 1.375 kB / 406.7 MB, free: 1.484 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001858/0.2378, allocations: 48.97 kB / 406.7 MB, free: 1.477 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.321e-05/0.2378, allocations: 30.52 kB / 406.8 MB, free: 1.465 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.364e-05/0.2379, allocations: 6.656 kB / 406.8 MB, free: 1.461 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006884/0.2385, allocations: 1.385 MB / 408.2 MB, free: 128 kB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.044e-06/0.2385, allocations: 1.781 kB / 408.2 MB, free: 128 kB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005419/0.2391, allocations: 407.8 kB / 408.6 MB, free: 15.86 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.116e-05/0.2391, allocations: 18.52 kB / 408.6 MB, free: 15.85 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.515e-05/0.2391, allocations: 6.391 kB / 408.6 MB, free: 15.85 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000117/0.2393, allocations: 7.875 kB / 408.6 MB, free: 15.84 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.232e-05/0.2393, allocations: 24.33 kB / 408.6 MB, free: 15.84 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.183e-05/0.2393, allocations: 9.969 kB / 408.6 MB, free: 15.83 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.000103/0.2394, allocations: 128.4 kB / 408.8 MB, free: 15.74 MB / 334.1 MB Notification: Performance of sort global known variables: time 6e-08/0.2394, allocations: 0 / 408.8 MB, free: 15.74 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002888/0.2397, allocations: 57.34 kB / 408.8 MB, free: 15.73 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.0008599/0.2406, allocations: 0.9303 MB / 409.7 MB, free: 14.95 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0004797/0.241, allocations: 290.3 kB / 410 MB, free: 14.78 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 1.743e-06/0.2411, allocations: 0 / 410 MB, free: 14.78 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002842/0.2413, allocations: 205.6 kB / 410.2 MB, free: 14.64 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003748/0.2417, allocations: 43.97 kB / 410.3 MB, free: 14.62 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003021/0.2447, allocations: 2.534 MB / 412.8 MB, free: 12.73 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001197/0.2449, allocations: 134.2 kB / 412.9 MB, free: 12.66 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 7.718e-05/0.2449, allocations: 25.64 kB / 413 MB, free: 12.65 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.975e-05/0.245, allocations: 69.08 kB / 413 MB, free: 12.6 MB / 334.1 MB Notification: Performance of SimCode: time 4.21e-07/0.245, allocations: 3.938 kB / 413 MB, free: 12.6 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06987/0.3149, allocations: 5.427 MB / 418.5 MB, free: 9.961 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.28/11.59, allocations: 13.11 kB / 418.5 MB, free: 9.949 MB / 334.1 MB " [Timeout remaining time 648] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_3.2.3_Modelica.Mechanics.Rotational.Examples.FirstGrounded_res.mat --tempDir=temp_Modelica_3_2_3_Modelica_Mechanics_Rotational_Examples_FirstGrounded_fmu --startTime=0 --stopTime=1 --stepSize=0.001 --timeout=50 --tolerance=1e-06 Modelica_3_2_3_Modelica_Mechanics_Rotational_Examples_FirstGrounded.fmu > Modelica_3.2.3_Modelica.Mechanics.Rotational.Examples.FirstGrounded.pipe 2>&1) [Timeout 52.5] 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) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 14.154156459029764]