Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Mechanics.Rotational.Examples.FirstGrounded.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001363/0.001363, allocations: 120.1 kB / 17.78 MB, free: 5.23 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00138/0.00138, allocations: 198.8 kB / 20.73 MB, free: 2.289 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.437/1.437, allocations: 225.6 MB / 249.1 MB, free: 3.625 MB / 190.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Modelica.Mechanics.Rotational.Examples.FirstGrounded,fileNamePrefix="Modelica_4_0_0_Modelica_Mechanics_Rotational_Examples_FirstGrounded",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Mechanics.Rotational.Examples.FirstGrounded,fileNamePrefix="Modelica_4_0_0_Modelica_Mechanics_Rotational_Examples_FirstGrounded",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002262/0.002262, allocations: 47.92 kB / 365.6 MB, free: 0.8555 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1275/0.1298, allocations: 52.14 MB / 417.8 MB, free: 12.62 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Rotational.Examples.FirstGrounded): time 0.003887/0.1337, allocations: 2.369 MB / 420.1 MB, free: 10.24 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001014/0.1347, allocations: 0.5803 MB / 420.7 MB, free: 9.652 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001284/0.1348, allocations: 7.938 kB / 420.7 MB, free: 9.645 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001512/0.135, allocations: 39.59 kB / 420.8 MB, free: 9.605 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001761/0.1351, allocations: 75.39 kB / 420.8 MB, free: 9.531 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002132/0.1353, allocations: 55.86 kB / 420.9 MB, free: 9.477 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003069/0.1356, allocations: 254.8 kB / 421.1 MB, free: 9.227 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001714/0.1358, allocations: 60.38 kB / 421.2 MB, free: 9.168 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001627/0.136, allocations: 103.6 kB / 421.3 MB, free: 9.066 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001579/0.1361, allocations: 111.5 kB / 421.4 MB, free: 8.957 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 4.051e-05/0.1362, allocations: 20 kB / 421.4 MB, free: 8.938 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.653e-05/0.1362, allocations: 20 kB / 421.5 MB, free: 8.918 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 4.758e-05/0.1363, allocations: 51.84 kB / 421.5 MB, free: 8.867 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00012/0.1364, allocations: 111.4 kB / 421.6 MB, free: 8.758 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003229/0.1367, allocations: 247 kB / 421.9 MB, free: 8.516 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.749e-06/0.1367, allocations: 0 / 421.9 MB, free: 8.516 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.455e-06/0.1367, allocations: 0 / 421.9 MB, free: 8.516 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.209e-05/0.1367, allocations: 0 / 421.9 MB, free: 8.516 MB / 350.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.0007849/0.1375, allocations: 0.5182 MB / 422.4 MB, free: 7.949 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.192e-05/0.1376, allocations: 8.031 kB / 422.4 MB, free: 7.941 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.404e-05/0.1376, allocations: 58.73 kB / 422.4 MB, free: 7.875 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.556e-05/0.1377, allocations: 32.69 kB / 422.5 MB, free: 7.844 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003799/0.1381, allocations: 237.4 kB / 422.7 MB, free: 7.57 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.338e-05/0.1381, allocations: 16.81 kB / 422.7 MB, free: 7.555 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.979e-05/0.1381, allocations: 24.38 kB / 422.7 MB, free: 7.531 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003932/0.1385, allocations: 213.9 kB / 423 MB, free: 7.309 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.826e-05/0.1385, allocations: 3.953 kB / 423 MB, free: 7.305 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.347e-05/0.1386, allocations: 12 kB / 423 MB, free: 7.293 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.945e-06/0.1386, allocations: 4 kB / 423 MB, free: 7.289 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002904/0.1389, allocations: 129.7 kB / 423.1 MB, free: 7.16 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001077/0.1399, allocations: 0.6978 MB / 423.8 MB, free: 6.41 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002913/0.1402, allocations: 142.5 kB / 423.9 MB, free: 6.262 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001311/0.1404, allocations: 63.23 kB / 424 MB, free: 6.199 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.727e-05/0.1404, allocations: 4 kB / 424 MB, free: 6.195 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.813e-05/0.1404, allocations: 34.56 kB / 424 MB, free: 6.152 MB / 350.1 MB Notification: Performance of pre-optimization done (n=20): time 3.176e-06/0.1404, allocations: 3.984 kB / 424 MB, free: 6.148 MB / 350.1 MB Notification: Performance of matching and sorting (n=24): time 0.001701/0.1421, allocations: 0.893 MB / 424.9 MB, free: 5.164 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.249e-05/0.1422, allocations: 55.34 kB / 425 MB, free: 5.098 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001824/0.1423, allocations: 179.2 kB / 425.2 MB, free: 4.91 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.114e-05/0.1424, allocations: 25.7 kB / 425.2 MB, free: 4.879 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.998e-05/0.1425, allocations: 152.4 kB / 425.3 MB, free: 4.727 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.364e-05/0.1425, allocations: 87.22 kB / 425.4 MB, free: 4.641 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.605e-05/0.1426, allocations: 45.7 kB / 425.5 MB, free: 4.59 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001575/0.1428, allocations: 326.8 kB / 425.8 MB, free: 4.262 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001264/0.1429, allocations: 55.97 kB / 425.8 MB, free: 4.207 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001658/0.1431, allocations: 104.2 kB / 425.9 MB, free: 4.09 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002858/0.1434, allocations: 164.2 kB / 426.1 MB, free: 3.914 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.282e-06/0.1434, allocations: 0 / 426.1 MB, free: 3.914 MB / 350.1 MB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0004639/0.1438, allocations: 254.1 kB / 426.3 MB, free: 3.656 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.69e-05/0.1438, allocations: 8 kB / 426.4 MB, free: 3.648 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.66e-06/0.1438, allocations: 0 / 426.4 MB, free: 3.648 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001681/0.144, allocations: 44.77 kB / 426.4 MB, free: 3.602 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000211/0.1442, allocations: 39.98 kB / 426.4 MB, free: 3.562 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001338/0.1456, allocations: 1.488 MB / 427.9 MB, free: 1.93 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001189/0.1457, allocations: 12.02 kB / 427.9 MB, free: 1.918 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.644e-05/0.1457, allocations: 11.94 kB / 427.9 MB, free: 1.906 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.0001378/0.1458, allocations: 137.8 kB / 428.1 MB, free: 1.762 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.361e-05/0.1459, allocations: 19.86 kB / 428.1 MB, free: 1.742 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.616e-05/0.1459, allocations: 26 kB / 428.1 MB, free: 1.715 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.933e-06/0.1459, allocations: 11.92 kB / 428.1 MB, free: 1.703 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.687e-06/0.1459, allocations: 0 / 428.1 MB, free: 1.703 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.107e-06/0.1459, allocations: 0 / 428.1 MB, free: 1.703 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009736/0.1469, allocations: 0.6558 MB / 428.8 MB, free: 0.9766 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.464e-06/0.1469, allocations: 0 / 428.8 MB, free: 0.9766 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002207/0.1471, allocations: 43.97 kB / 428.8 MB, free: 0.9336 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001273/0.1473, allocations: 32.84 kB / 428.9 MB, free: 0.8984 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.58e-05/0.1473, allocations: 4 kB / 428.9 MB, free: 0.8945 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001288/0.1486, allocations: 1.489 MB / 430.4 MB, free: 15.26 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.599e-06/0.1486, allocations: 8.094 kB / 430.4 MB, free: 15.25 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005939/0.1492, allocations: 397.2 kB / 430.8 MB, free: 14.84 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.587e-05/0.1492, allocations: 101 kB / 430.9 MB, free: 14.73 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.107e-05/0.1493, allocations: 4 kB / 430.9 MB, free: 14.72 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001272/0.1494, allocations: 8 kB / 430.9 MB, free: 14.71 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.659e-05/0.1495, allocations: 27.89 kB / 430.9 MB, free: 14.69 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.359e-05/0.1495, allocations: 8 kB / 430.9 MB, free: 14.68 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001152/0.1496, allocations: 132.8 kB / 431 MB, free: 14.55 MB / 366.1 MB Notification: Performance of sort global known variables: time 7e-08/0.1496, allocations: 0 / 431 MB, free: 14.55 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0003391/0.1499, allocations: 60 kB / 431.1 MB, free: 14.49 MB / 366.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.0009617/0.1509, allocations: 0.9448 MB / 432 MB, free: 13.52 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0005831/0.1515, allocations: 282.4 kB / 432.3 MB, free: 13.23 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.885e-06/0.1515, allocations: 0 / 432.3 MB, free: 13.23 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003206/0.1518, allocations: 210.6 kB / 432.5 MB, free: 13.01 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004216/0.1522, allocations: 44.36 kB / 432.6 MB, free: 12.96 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00331/0.1555, allocations: 2.543 MB / 435.1 MB, free: 10.3 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003769/0.1559, allocations: 0.7558 MB / 435.9 MB, free: 9.508 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 7.624e-05/0.156, allocations: 13.95 kB / 435.9 MB, free: 9.496 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001057/0.1561, allocations: 67.41 kB / 435.9 MB, free: 9.434 MB / 366.1 MB Notification: Performance of SimCode: time 5.91e-07/0.1561, allocations: 0 / 435.9 MB, free: 9.434 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03432/0.1904, allocations: 4.785 MB / 440.7 MB, free: 4.789 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.22/10.41, allocations: 10.97 kB / 440.7 MB, free: 4.781 MB / 366.1 MB " [Timeout remaining time 650] (rm -f Modelica_4.0.0_Modelica.Mechanics.Rotational.Examples.FirstGrounded.pipe ; mkfifo Modelica_4.0.0_Modelica.Mechanics.Rotational.Examples.FirstGrounded.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Mechanics.Rotational.Examples.FirstGrounded.pipe >> ../files/Modelica_4.0.0_Modelica.Mechanics.Rotational.Examples.FirstGrounded.sim & python3 -m fmpy simulate --output-file Modelica_4.0.0_Modelica.Mechanics.Rotational.Examples.FirstGrounded_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.001 Modelica_4_0_0_Modelica_Mechanics_Rotational_Examples_FirstGrounded.fmu > Modelica_4.0.0_Modelica.Mechanics.Rotational.Examples.FirstGrounded.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_4.0.0_Modelica.Mechanics.Rotational.Examples.FirstGrounded_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Mechanics/Rotational/Examples/FirstGrounded/FirstGrounded.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.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.108673946000636]