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.0007558/0.0007558, allocations: 83.62 kB / 21.43 MB, free: 3.133 MB / 18.57 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.003207/0.003207, allocations: 165.8 kB / 24.7 MB, free: 8.887 MB / 18.57 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 0.8539/0.8539, allocations: 158.6 MB / 186.5 MB, free: 3.039 MB / 170.7 MB " [Timeout remaining time 179] 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: Performance of FrontEnd - loaded program: time 1.393e-06/1.393e-06, allocations: 0 / 298.4 MB, free: 3.523 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.971e-05/2.11e-05, allocations: 2.281 kB / 298.4 MB, free: 3.52 MB / 282.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Rotational.Examples.FirstGrounded): time 0.002816/0.002837, allocations: 2.224 MB / 300.7 MB, free: 1.273 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007858/0.003623, allocations: 0.6047 MB / 301.3 MB, free: 0.6602 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001166/0.003739, allocations: 7.938 kB / 301.3 MB, free: 0.6523 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001321/0.003871, allocations: 39.59 kB / 301.3 MB, free: 0.6133 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001092/0.00398, allocations: 71.34 kB / 301.4 MB, free: 0.543 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002344/0.004215, allocations: 59.84 kB / 301.4 MB, free: 496 kB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002235/0.004438, allocations: 266.6 kB / 301.7 MB, free: 228 kB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001501/0.004588, allocations: 60.52 kB / 301.8 MB, free: 172 kB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001652/0.004753, allocations: 143.7 kB / 301.9 MB, free: 28 kB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.1389/0.1437, allocations: 78.61 kB / 302 MB, free: 13.34 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 8.477e-05/0.1438, allocations: 19.56 kB / 302 MB, free: 13.34 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 5.532e-05/0.1438, allocations: 19.94 kB / 302 MB, free: 13.34 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 3.621e-05/0.1439, allocations: 44.73 kB / 302.1 MB, free: 13.34 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 7.951e-05/0.1439, allocations: 81.45 kB / 302.1 MB, free: 13.34 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003044/0.1442, allocations: 250.6 kB / 302.4 MB, free: 13.32 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.779e-06/0.1442, allocations: 0 / 302.4 MB, free: 13.32 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.673e-06/0.1442, allocations: 0 / 302.4 MB, free: 13.32 MB / 282.7 MB Notification: Performance of Transformations before backend: time 6.512e-06/0.1443, allocations: 0 / 302.4 MB, free: 13.32 MB / 282.7 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.1449, allocations: 454.5 kB / 302.8 MB, free: 12.99 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.55e-05/0.145, allocations: 17.95 kB / 302.8 MB, free: 12.99 MB / 282.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.339e-05/0.145, allocations: 55.17 kB / 302.9 MB, free: 12.95 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.306e-05/0.1451, allocations: 24.64 kB / 302.9 MB, free: 12.94 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002829/0.1454, allocations: 180.1 kB / 303.1 MB, free: 12.79 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.556e-05/0.1454, allocations: 15.09 kB / 303.1 MB, free: 12.79 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.12e-05/0.1454, allocations: 21.23 kB / 303.1 MB, free: 12.79 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002672/0.1457, allocations: 214.5 kB / 303.3 MB, free: 12.74 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.539e-05/0.1457, allocations: 3.828 kB / 303.3 MB, free: 12.74 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.394e-05/0.1457, allocations: 7.188 kB / 303.4 MB, free: 12.74 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.472e-06/0.1457, allocations: 11.09 kB / 303.4 MB, free: 12.73 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000166/0.1459, allocations: 127.5 kB / 303.5 MB, free: 12.73 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006697/0.1465, allocations: 0.6277 MB / 304.1 MB, free: 12.38 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002013/0.1467, allocations: 135.2 kB / 304.2 MB, free: 12.36 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.277e-05/0.1468, allocations: 66.83 kB / 304.3 MB, free: 12.35 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.813e-05/0.1468, allocations: 2.219 kB / 304.3 MB, free: 12.35 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.531e-05/0.1469, allocations: 40.62 kB / 304.4 MB, free: 12.31 MB / 282.7 MB Notification: Performance of pre-optimization done (n=20): time 1.663e-06/0.1469, allocations: 0 / 304.4 MB, free: 12.31 MB / 282.7 MB Notification: Performance of matching and sorting (n=24): time 0.001082/0.1479, allocations: 0.7296 MB / 305.1 MB, free: 12.01 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.411e-05/0.148, allocations: 53.91 kB / 305.1 MB, free: 11.95 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001449/0.1481, allocations: 181.1 kB / 305.3 MB, free: 11.84 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 1.081e-05/0.1481, allocations: 30.61 kB / 305.3 MB, free: 11.8 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.391e-05/0.1482, allocations: 145.2 kB / 305.5 MB, free: 11.7 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.264e-05/0.1482, allocations: 88.91 kB / 305.6 MB, free: 11.64 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.114e-05/0.1483, allocations: 48.05 kB / 305.6 MB, free: 11.62 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 3.702e-05/0.1483, allocations: 330.6 kB / 305.9 MB, free: 11.31 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.334e-05/0.1484, allocations: 63.61 kB / 306 MB, free: 11.3 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.856e-05/0.1485, allocations: 98.52 kB / 306.1 MB, free: 11.23 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001709/0.1487, allocations: 169.2 kB / 306.3 MB, free: 11.14 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.583e-06/0.1487, allocations: 1.219 kB / 306.3 MB, free: 11.14 MB / 282.7 MB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0002906/0.149, allocations: 261.3 kB / 306.5 MB, free: 11.02 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.18e-05/0.149, allocations: 5.5 kB / 306.5 MB, free: 11.02 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002356/0.1492, allocations: 1.062 kB / 306.5 MB, free: 11.02 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001316/0.1493, allocations: 34.11 kB / 306.6 MB, free: 11.01 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001484/0.1495, allocations: 52.77 kB / 306.6 MB, free: 11 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006849/0.1502, allocations: 1.366 MB / 308 MB, free: 9.699 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.254e-05/0.1503, allocations: 18.64 kB / 308 MB, free: 9.688 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.315e-05/0.1503, allocations: 11.11 kB / 308 MB, free: 9.684 MB / 282.7 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 8.387e-05/0.1503, allocations: 136.6 kB / 308.1 MB, free: 9.555 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.523e-05/0.1504, allocations: 18.84 kB / 308.2 MB, free: 9.547 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.67e-05/0.1504, allocations: 22.42 kB / 308.2 MB, free: 9.527 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.956e-06/0.1504, allocations: 3.344 kB / 308.2 MB, free: 9.527 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.612e-06/0.1504, allocations: 5.797 kB / 308.2 MB, free: 9.523 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.959e-06/0.1504, allocations: 1.266 kB / 308.2 MB, free: 9.523 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005797/0.151, allocations: 0.6085 MB / 308.8 MB, free: 9.082 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.366e-06/0.151, allocations: 2.016 kB / 308.8 MB, free: 9.082 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001245/0.1511, allocations: 40.94 kB / 308.8 MB, free: 9.082 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.881e-05/0.1512, allocations: 34.52 kB / 308.9 MB, free: 9.066 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.137e-05/0.1512, allocations: 7.984 kB / 308.9 MB, free: 9.062 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005234/0.1517, allocations: 1.378 MB / 310.3 MB, free: 7.75 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.084e-06/0.1517, allocations: 4.219 kB / 310.3 MB, free: 7.75 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003581/0.1521, allocations: 401.7 kB / 310.7 MB, free: 7.5 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.999e-05/0.1521, allocations: 14.47 kB / 310.7 MB, free: 7.492 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.424e-05/0.1521, allocations: 7 kB / 310.7 MB, free: 7.488 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.25e-05/0.1522, allocations: 4.75 kB / 310.7 MB, free: 7.488 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.928e-05/0.1522, allocations: 19.58 kB / 310.7 MB, free: 7.484 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.798e-06/0.1523, allocations: 9.766 kB / 310.7 MB, free: 7.48 MB / 282.7 MB Notification: Performance of sorting global known variables: time 6.804e-05/0.1523, allocations: 128.5 kB / 310.8 MB, free: 7.391 MB / 282.7 MB Notification: Performance of sort global known variables: time 3e-08/0.1523, allocations: 3.188 kB / 310.8 MB, free: 7.391 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0002288/0.1525, allocations: 58.53 kB / 310.9 MB, free: 7.383 MB / 282.7 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.0004595/0.153, allocations: 0.9375 MB / 311.8 MB, free: 6.598 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0003729/0.1534, allocations: 288.1 kB / 312.1 MB, free: 6.434 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 1.914e-06/0.1534, allocations: 0 / 312.1 MB, free: 6.434 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001626/0.1535, allocations: 213.4 kB / 312.3 MB, free: 6.297 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000315/0.1539, allocations: 37.89 kB / 312.4 MB, free: 6.285 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002064/0.1559, allocations: 2.446 MB / 314.8 MB, free: 4.508 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001184/0.156, allocations: 144.5 kB / 314.9 MB, free: 4.418 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 8.161e-05/0.1561, allocations: 18.97 kB / 315 MB, free: 4.418 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.833e-05/0.1562, allocations: 65.89 kB / 315 MB, free: 4.371 MB / 282.7 MB Notification: Performance of SimCode: time 8.91e-07/0.1562, allocations: 0 / 315 MB, free: 4.371 MB / 282.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02426/0.1805, allocations: 5.592 MB / 320.6 MB, free: 2.871 MB / 282.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.939/7.12, allocations: 5.031 kB / 320.6 MB, free: 2.867 MB / 282.7 MB " [Timeout remaining time 653] (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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Mechanics/Rotational/Examples/FirstGrounded/FirstGrounded.csv","/var/lib/jenkins/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: 8.66051319707185]