Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.SignConvention.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.001298/0.001298, allocations: 120.8 kB / 18.46 MB, free: 4.449 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.001264/0.001264, allocations: 190.9 kB / 21.4 MB, free: 1.52 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.443/1.443, allocations: 225.6 MB / 249.8 MB, free: 3.723 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: translateModel(Modelica.Mechanics.Translational.Examples.SignConvention,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|mass1.s|mass1.v|mass2.s|mass2.v|mass3.s|mass3.v",fileNamePrefix="Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.SignConvention") translateModel(Modelica.Mechanics.Translational.Examples.SignConvention,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|mass1.s|mass1.v|mass2.s|mass2.v|mass3.s|mass3.v",fileNamePrefix="Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.SignConvention") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001781/0.001781, allocations: 59.89 kB / 366.8 MB, free: 360 kB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1219/0.1237, allocations: 52.14 MB / 418.9 MB, free: 12.11 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.SignConvention): time 0.003521/0.1272, allocations: 2.114 MB / 421.1 MB, free: 9.992 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003985/0.1276, allocations: 167.4 kB / 421.2 MB, free: 9.828 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000104/0.1277, allocations: 7.938 kB / 421.2 MB, free: 9.82 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001489/0.1279, allocations: 27.72 kB / 421.3 MB, free: 9.793 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 9.746e-05/0.128, allocations: 47.58 kB / 421.3 MB, free: 9.746 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001762/0.1281, allocations: 43.94 kB / 421.3 MB, free: 9.703 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002688/0.1284, allocations: 183.2 kB / 421.5 MB, free: 9.523 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001528/0.1285, allocations: 38.3 kB / 421.6 MB, free: 9.484 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.522e-05/0.1286, allocations: 63.78 kB / 421.6 MB, free: 9.422 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001326/0.1288, allocations: 79.62 kB / 421.7 MB, free: 9.344 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.9e-05/0.1288, allocations: 15.94 kB / 421.7 MB, free: 9.328 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.185e-05/0.1288, allocations: 16 kB / 421.7 MB, free: 9.312 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 4.309e-05/0.1289, allocations: 31.91 kB / 421.8 MB, free: 9.281 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001092/0.129, allocations: 83.55 kB / 421.8 MB, free: 9.199 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002565/0.1292, allocations: 179.2 kB / 422 MB, free: 9.023 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.504e-06/0.1293, allocations: 3.984 kB / 422 MB, free: 9.02 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.713e-06/0.1293, allocations: 4 kB / 422 MB, free: 9.016 MB / 350.1 MB Notification: Performance of Transformations before backend: time 7.334e-06/0.1293, allocations: 0 / 422 MB, free: 9.016 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: 41 * Number of variables: 41 Notification: Performance of Generate backend data structure: time 0.0007426/0.13, allocations: 466.7 kB / 422.5 MB, free: 8.512 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.148e-05/0.13, allocations: 15.89 kB / 422.5 MB, free: 8.496 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.638e-05/0.1301, allocations: 16.84 kB / 422.5 MB, free: 8.48 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002964/0.1304, allocations: 220.1 kB / 422.7 MB, free: 8.227 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.806e-05/0.1304, allocations: 12.38 kB / 422.7 MB, free: 8.215 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.574e-05/0.1305, allocations: 24.36 kB / 422.8 MB, free: 8.191 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003253/0.1308, allocations: 182.2 kB / 422.9 MB, free: 7.992 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.724e-05/0.1308, allocations: 7.938 kB / 422.9 MB, free: 7.984 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.995e-05/0.1308, allocations: 4 kB / 423 MB, free: 7.98 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.195e-06/0.1308, allocations: 4 kB / 423 MB, free: 7.977 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001968/0.131, allocations: 107.9 kB / 423.1 MB, free: 7.871 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001415/0.1324, allocations: 0.9625 MB / 424 MB, free: 6.824 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001489/0.1326, allocations: 95.83 kB / 424.1 MB, free: 6.703 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.307e-05/0.1327, allocations: 34.58 kB / 424.2 MB, free: 6.66 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.347e-05/0.1327, allocations: 4 kB / 424.2 MB, free: 6.656 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.37e-05/0.1327, allocations: 46.58 kB / 424.2 MB, free: 6.602 MB / 350.1 MB Notification: Performance of pre-optimization done (n=12): time 1.233e-06/0.1327, allocations: 0 / 424.2 MB, free: 6.602 MB / 350.1 MB Notification: Performance of matching and sorting (n=12): time 0.0003119/0.133, allocations: 121.5 kB / 424.3 MB, free: 6.477 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.756e-05/0.1331, allocations: 106.8 kB / 424.4 MB, free: 6.348 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002261/0.1333, allocations: 211.7 kB / 424.6 MB, free: 6.129 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.126e-05/0.1334, allocations: 29.7 kB / 424.7 MB, free: 6.094 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001024/0.1335, allocations: 136.1 kB / 424.8 MB, free: 5.957 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.731e-05/0.1335, allocations: 59.56 kB / 424.9 MB, free: 5.898 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.879e-05/0.1336, allocations: 45.95 kB / 424.9 MB, free: 5.844 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001588/0.1337, allocations: 334.8 kB / 425.2 MB, free: 5.508 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.999e-05/0.1338, allocations: 36.45 kB / 425.3 MB, free: 5.473 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001597/0.134, allocations: 151.3 kB / 425.4 MB, free: 5.277 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002562/0.1342, allocations: 198.1 kB / 425.6 MB, free: 5.035 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.715e-06/0.1342, allocations: 0 / 425.6 MB, free: 5.035 MB / 350.1 MB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0003404/0.1346, allocations: 221.1 kB / 425.8 MB, free: 4.812 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.499e-05/0.1346, allocations: 7.938 kB / 425.8 MB, free: 4.805 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.067e-06/0.1346, allocations: 4.406 kB / 425.8 MB, free: 4.801 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.686e-05/0.1346, allocations: 12 kB / 425.8 MB, free: 4.789 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000161/0.1348, allocations: 47.91 kB / 425.9 MB, free: 4.742 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.218e-05/0.1348, allocations: 8 kB / 425.9 MB, free: 4.734 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001192/0.1349, allocations: 31.72 kB / 425.9 MB, free: 4.703 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.678e-05/0.1349, allocations: 12 kB / 425.9 MB, free: 4.691 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * 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): 28 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001422/0.1351, allocations: 129.7 kB / 426.1 MB, free: 4.555 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.833e-05/0.1352, allocations: 23.91 kB / 426.1 MB, free: 4.531 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.265e-05/0.1352, allocations: 20.92 kB / 426.1 MB, free: 4.504 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.054e-06/0.1352, allocations: 4 kB / 426.1 MB, free: 4.5 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.544e-06/0.1352, allocations: 7.938 kB / 426.1 MB, free: 4.492 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.48e-06/0.1352, allocations: 3.938 kB / 426.1 MB, free: 4.488 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004619/0.1357, allocations: 233.5 kB / 426.4 MB, free: 4.211 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.36e-06/0.1357, allocations: 4 kB / 426.4 MB, free: 4.207 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001573/0.1359, allocations: 27.98 kB / 426.4 MB, free: 4.18 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.094e-06/0.1359, allocations: 0 / 426.4 MB, free: 4.18 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.627e-05/0.1359, allocations: 8 kB / 426.4 MB, free: 4.172 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.663e-06/0.1359, allocations: 4 kB / 426.4 MB, free: 4.168 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.032e-06/0.1359, allocations: 0 / 426.4 MB, free: 4.168 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003829/0.1363, allocations: 393.8 kB / 426.8 MB, free: 3.766 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.67e-05/0.1363, allocations: 96.95 kB / 426.9 MB, free: 3.652 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.622e-05/0.1364, allocations: 4.062 kB / 426.9 MB, free: 3.648 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001544/0.1365, allocations: 3.984 kB / 426.9 MB, free: 3.645 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.476e-05/0.1365, allocations: 11.94 kB / 426.9 MB, free: 3.633 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.2e-06/0.1365, allocations: 0 / 426.9 MB, free: 3.633 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001448/0.1367, allocations: 157.5 kB / 427 MB, free: 3.48 MB / 350.1 MB Notification: Performance of sort global known variables: time 1e-07/0.1367, allocations: 4 kB / 427.1 MB, free: 3.477 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003714/0.1371, allocations: 36 kB / 427.1 MB, free: 3.441 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 6 (mass1.s,mass1.v,mass2.s,mass2.v,mass3.s,mass3.v) * 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 (12): * Single equations (assignments): 12 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001287/0.1372, allocations: 103.2 kB / 427.2 MB, free: 3.328 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002191/0.1374, allocations: 104.7 kB / 427.3 MB, free: 3.227 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.354e-06/0.1374, allocations: 8.125 kB / 427.3 MB, free: 3.219 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 5.329e-05/0.1375, allocations: 35.92 kB / 427.3 MB, free: 3.184 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000491/0.138, allocations: 23.98 kB / 427.4 MB, free: 3.16 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001081/0.139, allocations: 0.6689 MB / 428 MB, free: 2.457 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003957/0.1394, allocations: 0.7241 MB / 428.7 MB, free: 1.707 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.905e-05/0.1395, allocations: 19.44 kB / 428.8 MB, free: 1.688 MB / 350.1 MB Notification: Performance of SimCode: time 3.21e-07/0.1395, allocations: 0 / 428.8 MB, free: 1.688 MB / 350.1 MB Notification: Performance of Templates: time 0.004214/0.1437, allocations: 2.016 MB / 430.8 MB, free: 15.67 MB / 366.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.SignConvention.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.SignConvention.pipe ; mkfifo Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.SignConvention.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.SignConvention.pipe >> ../files/Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.SignConvention.sim & ./Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.SignConvention -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.SignConvention.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.SignConvention_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Mechanics/Translational/Examples/SignConvention/SignConvention.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.SignConvention.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: 6.8209515328053385]