Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Mechanics.Rotational.Examples.First.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.0008338/0.0008338, 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.004381/0.004381, allocations: 164.3 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.8515/0.8515, allocations: 158.6 MB / 186.5 MB, free: 3.051 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.First,fileNamePrefix="Modelica_3_2_3_Modelica_Mechanics_Rotational_Examples_First",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Mechanics.Rotational.Examples.First,fileNamePrefix="Modelica_3_2_3_Modelica_Mechanics_Rotational_Examples_First",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 4.969e-06/4.969e-06, allocations: 0 / 298.4 MB, free: 3.535 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.383e-05/2.88e-05, allocations: 2.281 kB / 298.4 MB, free: 3.531 MB / 282.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Rotational.Examples.First): time 0.003704/0.003733, allocations: 2.236 MB / 300.7 MB, free: 1.273 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.0008256/0.004559, allocations: 0.593 MB / 301.3 MB, free: 0.6719 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001188/0.004678, allocations: 4 kB / 301.3 MB, free: 0.668 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001309/0.004809, allocations: 43.52 kB / 301.3 MB, free: 0.625 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001295/0.004938, allocations: 79.28 kB / 301.4 MB, free: 0.5469 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001851/0.005123, allocations: 59.84 kB / 301.4 MB, free: 500 kB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.000224/0.005347, allocations: 278.5 kB / 301.7 MB, free: 220 kB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001568/0.005504, allocations: 71.3 kB / 301.8 MB, free: 152 kB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.1346/0.1401, allocations: 158.5 kB / 301.9 MB, free: 13.26 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000226/0.1403, allocations: 83.16 kB / 302 MB, free: 13.26 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 8.412e-05/0.1404, allocations: 20.03 kB / 302 MB, free: 13.26 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 2.67e-05/0.1404, allocations: 24.91 kB / 302.1 MB, free: 13.26 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 4.105e-05/0.1405, allocations: 47.67 kB / 302.1 MB, free: 13.26 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 8.307e-05/0.1406, allocations: 85.39 kB / 302.2 MB, free: 13.26 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003222/0.1409, allocations: 265.5 kB / 302.4 MB, free: 13.25 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.557e-06/0.1409, allocations: 0.7969 kB / 302.4 MB, free: 13.25 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.132e-06/0.1409, allocations: 1.5 kB / 302.4 MB, free: 13.25 MB / 282.7 MB Notification: Performance of Transformations before backend: time 6.522e-06/0.1409, allocations: 0 / 302.4 MB, free: 13.25 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: 54 * Number of variables: 54 Notification: Performance of Generate backend data structure: time 0.0005302/0.1414, allocations: 466 kB / 302.9 MB, free: 12.91 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.85e-05/0.1415, allocations: 14.14 kB / 302.9 MB, free: 12.91 MB / 282.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.143e-05/0.1415, allocations: 58.03 kB / 303 MB, free: 12.87 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.846e-05/0.1416, allocations: 29.88 kB / 303 MB, free: 12.86 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002678/0.1418, allocations: 177.8 kB / 303.2 MB, free: 12.71 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.573e-05/0.1418, allocations: 18.5 kB / 303.2 MB, free: 12.71 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.503e-05/0.1419, allocations: 24.22 kB / 303.2 MB, free: 12.71 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002402/0.1421, allocations: 194.6 kB / 303.4 MB, free: 12.68 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.35e-05/0.1421, allocations: 7.922 kB / 303.4 MB, free: 12.67 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.432e-05/0.1422, allocations: 11.34 kB / 303.4 MB, free: 12.67 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.983e-06/0.1422, allocations: 8.594 kB / 303.4 MB, free: 12.67 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001774/0.1423, allocations: 136.8 kB / 303.6 MB, free: 12.67 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005936/0.1429, allocations: 0.5485 MB / 304.1 MB, free: 12.4 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002026/0.1431, allocations: 168.7 kB / 304.3 MB, free: 12.38 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001003/0.1432, allocations: 87.69 kB / 304.4 MB, free: 12.37 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.844e-05/0.1433, allocations: 4.281 kB / 304.4 MB, free: 12.37 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.52e-05/0.1433, allocations: 36.05 kB / 304.4 MB, free: 12.33 MB / 282.7 MB Notification: Performance of pre-optimization done (n=24): time 1.162e-06/0.1433, allocations: 1 kB / 304.4 MB, free: 12.33 MB / 282.7 MB Notification: Performance of matching and sorting (n=32): time 0.001138/0.1444, allocations: 0.9169 MB / 305.3 MB, free: 12.01 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.417e-05/0.1444, allocations: 57.78 kB / 305.4 MB, free: 11.95 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00011/0.1445, allocations: 179.3 kB / 305.6 MB, free: 11.84 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 1.152e-05/0.1446, allocations: 31.33 kB / 305.6 MB, free: 11.81 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.822e-05/0.1446, allocations: 141.5 kB / 305.7 MB, free: 11.69 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.349e-05/0.1446, allocations: 113.3 kB / 305.8 MB, free: 11.6 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.356e-05/0.1447, allocations: 58.03 kB / 305.9 MB, free: 11.56 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 4.329e-05/0.1447, allocations: 339.5 kB / 306.2 MB, free: 11.23 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.053e-05/0.1448, allocations: 71.06 kB / 306.3 MB, free: 11.21 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001091/0.1449, allocations: 110.3 kB / 306.4 MB, free: 11.15 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001924/0.1451, allocations: 192.8 kB / 306.6 MB, free: 11.06 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.363e-06/0.1451, allocations: 0 / 306.6 MB, free: 11.06 MB / 282.7 MB Notification: Performance of matching and sorting (n=37) (initialization): time 0.0003049/0.1454, allocations: 302.4 kB / 306.9 MB, free: 10.92 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.38e-05/0.1455, allocations: 5.188 kB / 306.9 MB, free: 10.92 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.491e-06/0.1455, allocations: 7.906 kB / 306.9 MB, free: 10.92 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001314/0.1456, allocations: 45.84 kB / 306.9 MB, free: 10.9 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001943/0.1458, allocations: 55.78 kB / 307 MB, free: 10.9 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008159/0.1466, allocations: 1.621 MB / 308.6 MB, free: 9.387 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.715e-05/0.1467, allocations: 13.22 kB / 308.6 MB, free: 9.379 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.709e-05/0.1467, allocations: 7.906 kB / 308.6 MB, free: 9.379 MB / 282.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * 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 (32): * Single equations (assignments): 31 * 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,5,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001022/0.1468, allocations: 144.7 kB / 308.8 MB, free: 9.242 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.966e-05/0.1468, allocations: 23.31 kB / 308.8 MB, free: 9.23 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.01e-05/0.1469, allocations: 34.23 kB / 308.8 MB, free: 9.203 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.045e-06/0.1469, allocations: 3.5 kB / 308.8 MB, free: 9.203 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.937e-06/0.1469, allocations: 1.406 kB / 308.8 MB, free: 9.203 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.879e-06/0.1469, allocations: 5.953 kB / 308.8 MB, free: 9.199 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006609/0.1475, allocations: 0.7221 MB / 309.6 MB, free: 8.711 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.865e-06/0.1475, allocations: 1.641 kB / 309.6 MB, free: 8.711 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001497/0.1477, allocations: 61.3 kB / 309.6 MB, free: 8.707 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.456e-05/0.1478, allocations: 39.44 kB / 309.7 MB, free: 8.691 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.259e-05/0.1478, allocations: 8.078 kB / 309.7 MB, free: 8.688 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005207/0.1483, allocations: 1.368 MB / 311 MB, free: 7.375 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.495e-06/0.1483, allocations: 5.328 kB / 311.1 MB, free: 7.375 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004429/0.1487, allocations: 490.6 kB / 311.5 MB, free: 7.078 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.18e-05/0.1488, allocations: 21.53 kB / 311.6 MB, free: 7.066 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.671e-05/0.1488, allocations: 16.36 kB / 311.6 MB, free: 7.059 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.767e-05/0.1489, allocations: 13.48 kB / 311.6 MB, free: 7.051 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.692e-05/0.1489, allocations: 23.41 kB / 311.6 MB, free: 7.047 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.151e-05/0.1489, allocations: 7.281 kB / 311.6 MB, free: 7.047 MB / 282.7 MB Notification: Performance of sorting global known variables: time 7.037e-05/0.149, allocations: 132.1 kB / 311.7 MB, free: 6.957 MB / 282.7 MB Notification: Performance of sort global known variables: time 5e-08/0.149, allocations: 0 / 311.7 MB, free: 6.957 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0002314/0.1492, allocations: 69.06 kB / 311.8 MB, free: 6.945 MB / 282.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * 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 (29): * Single equations (assignments): 28 * 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.0005354/0.1498, allocations: 1.011 MB / 312.8 MB, free: 6.125 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0004013/0.1502, allocations: 322.2 kB / 313.1 MB, free: 5.953 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 1.794e-06/0.1502, allocations: 1.062 kB / 313.1 MB, free: 5.953 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001877/0.1503, allocations: 240 kB / 313.4 MB, free: 5.805 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002993/0.1506, allocations: 49.36 kB / 313.4 MB, free: 5.785 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001927/0.1526, allocations: 2.657 MB / 316.1 MB, free: 3.934 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.613e-05/0.1527, allocations: 146.9 kB / 316.2 MB, free: 3.852 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 6.218e-05/0.1527, allocations: 26.83 kB / 316.2 MB, free: 3.844 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.815e-05/0.1528, allocations: 74.83 kB / 316.3 MB, free: 3.789 MB / 282.7 MB Notification: Performance of SimCode: time 6.31e-07/0.1528, allocations: 0.5938 kB / 316.3 MB, free: 3.789 MB / 282.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02019/0.173, allocations: 6.111 MB / 322.4 MB, free: 1.977 MB / 282.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.87/7.043, allocations: 2.469 kB / 322.4 MB, free: 1.977 MB / 282.7 MB " [Timeout remaining time 653] (rm -f Modelica_3.2.3_Modelica.Mechanics.Rotational.Examples.First.pipe ; mkfifo Modelica_3.2.3_Modelica.Mechanics.Rotational.Examples.First.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Mechanics.Rotational.Examples.First.pipe >> ../files/Modelica_3.2.3_Modelica.Mechanics.Rotational.Examples.First.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_3.2.3_Modelica.Mechanics.Rotational.Examples.First_res.mat --tempDir=temp_Modelica_3_2_3_Modelica_Mechanics_Rotational_Examples_First_fmu --startTime=0 --stopTime=1 --stepSize=0.001 --timeout=50 --tolerance=1e-06 Modelica_3_2_3_Modelica_Mechanics_Rotational_Examples_First.fmu > Modelica_3.2.3_Modelica.Mechanics.Rotational.Examples.First.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_3.2.3_Modelica.Mechanics.Rotational.Examples.First_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Mechanics/Rotational/Examples/First/First.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Mechanics.Rotational.Examples.First.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.58226496912539]