Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Mechanics.Translational.Examples.SignConvention.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: translateModel(Modelica.Mechanics.Translational.Examples.SignConvention,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|mass1.s|mass1.v|mass2.s|mass2.v|mass3.s|mass3.v",fileNamePrefix="Modelica_trunk_Modelica.Mechanics.Translational.Examples.SignConvention") translateModel(Modelica.Mechanics.Translational.Examples.SignConvention,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|mass1.s|mass1.v|mass2.s|mass2.v|mass3.s|mass3.v",fileNamePrefix="Modelica_trunk_Modelica.Mechanics.Translational.Examples.SignConvention") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009457/0.0009455, allocations: 91.48 kB / 17.35 MB, free: 6.344 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001062/0.001062, allocations: 202.1 kB / 18.28 MB, free: 5.477 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.309/1.309, allocations: 227.7 MB / 246.8 MB, free: 11.48 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003239/0.0003238, allocations: 4 kB / 307.7 MB, free: 0.8125 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1226/0.1229, allocations: 51.52 MB / 359.3 MB, free: 13.3 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.SignConvention): time 0.003129/0.1261, allocations: 1.807 MB / 361.1 MB, free: 11.48 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.0005488/0.1267, allocations: 155.4 kB / 361.2 MB, free: 11.33 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000223/0.1269, allocations: 4 kB / 361.2 MB, free: 11.32 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001681/0.1271, allocations: 19.8 kB / 361.2 MB, free: 11.3 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001923/0.1273, allocations: 43.67 kB / 361.3 MB, free: 11.26 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000256/0.1276, allocations: 39.97 kB / 361.3 MB, free: 11.22 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003764/0.128, allocations: 167.2 kB / 361.5 MB, free: 11.06 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002316/0.1282, allocations: 62.12 kB / 361.6 MB, free: 10.99 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001259/0.1284, allocations: 55.73 kB / 361.6 MB, free: 10.93 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001642/0.1285, allocations: 63.64 kB / 361.7 MB, free: 10.87 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 4.198e-05/0.1286, allocations: 8 kB / 361.7 MB, free: 10.86 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.913e-05/0.1286, allocations: 12 kB / 361.7 MB, free: 10.85 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 4.807e-05/0.1287, allocations: 31.84 kB / 361.7 MB, free: 10.82 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001365/0.1288, allocations: 97.31 kB / 361.8 MB, free: 10.72 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002733/0.1291, allocations: 167.6 kB / 362 MB, free: 10.55 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.178e-06/0.1291, allocations: 0 / 362 MB, free: 10.55 MB / 302.1 MB Notification: Performance of FrontEnd: time 2.445e-06/0.1292, allocations: 0 / 362 MB, free: 10.55 MB / 302.1 MB Notification: Performance of Transformations before backend: time 9.367e-06/0.1292, allocations: 0 / 362 MB, free: 10.55 MB / 302.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.0008068/0.13, allocations: 442.9 kB / 362.4 MB, free: 10.07 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.149e-05/0.1301, allocations: 8.031 kB / 362.4 MB, free: 10.07 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.614e-05/0.1301, allocations: 20.75 kB / 362.4 MB, free: 10.05 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003317/0.1305, allocations: 216 kB / 362.7 MB, free: 9.797 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.529e-05/0.1305, allocations: 12.36 kB / 362.7 MB, free: 9.785 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.884e-05/0.1306, allocations: 20.31 kB / 362.7 MB, free: 9.766 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004463/0.131, allocations: 186.2 kB / 362.9 MB, free: 9.562 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.265e-05/0.1311, allocations: 3.938 kB / 362.9 MB, free: 9.559 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.866e-05/0.1311, allocations: 12 kB / 362.9 MB, free: 9.547 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.688e-06/0.1311, allocations: 4 kB / 362.9 MB, free: 9.543 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000272/0.1314, allocations: 99.12 kB / 363 MB, free: 9.449 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001722/0.1332, allocations: 0.9547 MB / 363.9 MB, free: 8.41 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001908/0.1334, allocations: 103.9 kB / 364 MB, free: 8.281 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.459e-05/0.1335, allocations: 38.56 kB / 364.1 MB, free: 8.234 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.259e-05/0.1335, allocations: 4 kB / 364.1 MB, free: 8.23 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.091e-05/0.1335, allocations: 42.48 kB / 364.1 MB, free: 8.18 MB / 302.1 MB Notification: Performance of pre-optimization done (n=12): time 2.174e-06/0.1335, allocations: 0 / 364.1 MB, free: 8.18 MB / 302.1 MB Notification: Performance of matching and sorting (n=12): time 0.0004228/0.134, allocations: 129.9 kB / 364.2 MB, free: 8.047 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.166e-05/0.1341, allocations: 106.8 kB / 364.4 MB, free: 7.918 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002826/0.1344, allocations: 203.7 kB / 364.6 MB, free: 7.707 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 2.513e-05/0.1344, allocations: 29.7 kB / 364.6 MB, free: 7.672 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001174/0.1345, allocations: 147.8 kB / 364.7 MB, free: 7.523 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.604e-05/0.1346, allocations: 43.36 kB / 364.8 MB, free: 7.48 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.373e-05/0.1347, allocations: 29.7 kB / 364.8 MB, free: 7.445 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001415/0.1348, allocations: 334.8 kB / 365.1 MB, free: 7.109 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001068/0.1349, allocations: 44.39 kB / 365.2 MB, free: 7.062 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002061/0.1351, allocations: 134.7 kB / 365.3 MB, free: 6.883 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003147/0.1355, allocations: 205.5 kB / 365.5 MB, free: 6.633 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.537e-06/0.1355, allocations: 0 / 365.5 MB, free: 6.633 MB / 302.1 MB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0005254/0.136, allocations: 217.1 kB / 365.7 MB, free: 6.414 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.047e-05/0.136, allocations: 4 kB / 365.7 MB, free: 6.41 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.049e-05/0.1361, allocations: 4 kB / 365.7 MB, free: 6.406 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.971e-05/0.1361, allocations: 8 kB / 365.7 MB, free: 6.398 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002368/0.1363, allocations: 51.91 kB / 365.8 MB, free: 6.348 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.493e-05/0.1364, allocations: 8 kB / 365.8 MB, free: 6.34 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001816/0.1366, allocations: 32.03 kB / 365.8 MB, free: 6.309 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.213e-05/0.1366, allocations: 12 kB / 365.8 MB, free: 6.297 MB / 302.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.0001281/0.1367, allocations: 133.7 kB / 366 MB, free: 6.156 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000108/0.1368, allocations: 19.75 kB / 366 MB, free: 6.137 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.18e-05/0.1369, allocations: 24.92 kB / 366 MB, free: 6.109 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.677e-06/0.1369, allocations: 0 / 366 MB, free: 6.109 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.502e-06/0.1369, allocations: 0 / 366 MB, free: 6.109 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.201e-06/0.137, allocations: 7.938 kB / 366 MB, free: 6.102 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000589/0.1376, allocations: 241.5 kB / 366.2 MB, free: 5.816 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.418e-06/0.1376, allocations: 8 kB / 366.3 MB, free: 5.809 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002322/0.1378, allocations: 27.98 kB / 366.3 MB, free: 5.781 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.536e-06/0.1378, allocations: 0 / 366.3 MB, free: 5.781 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.555e-05/0.1379, allocations: 0 / 366.3 MB, free: 5.781 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.939e-06/0.1379, allocations: 8 kB / 366.3 MB, free: 5.773 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.653e-06/0.1379, allocations: 0 / 366.3 MB, free: 5.773 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004029/0.1383, allocations: 389.6 kB / 366.7 MB, free: 5.375 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.606e-05/0.1384, allocations: 101.1 kB / 366.8 MB, free: 5.258 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.298e-05/0.1384, allocations: 0 / 366.8 MB, free: 5.258 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002313/0.1387, allocations: 4 kB / 366.8 MB, free: 5.254 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.198e-05/0.1387, allocations: 15.91 kB / 366.8 MB, free: 5.238 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.266e-06/0.1387, allocations: 4 kB / 366.8 MB, free: 5.234 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0001659/0.1389, allocations: 149.5 kB / 366.9 MB, free: 5.09 MB / 302.1 MB Notification: Performance of sort global known variables: time 2.21e-07/0.1389, allocations: 0 / 366.9 MB, free: 5.09 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0005814/0.1395, allocations: 47.94 kB / 367 MB, free: 5.043 MB / 302.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.0001283/0.1396, allocations: 111.1 kB / 367.1 MB, free: 4.926 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0002893/0.1399, allocations: 103.8 kB / 367.2 MB, free: 4.824 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 7.494e-06/0.14, allocations: 0 / 367.2 MB, free: 4.824 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 7.732e-05/0.1401, allocations: 35.92 kB / 367.2 MB, free: 4.789 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007733/0.1408, allocations: 28.8 kB / 367.3 MB, free: 4.762 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001467/0.1423, allocations: 0.7735 MB / 368 MB, free: 3.953 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003646/0.1427, allocations: 0.7284 MB / 368.8 MB, free: 3.199 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.000116/0.1428, allocations: 17.95 kB / 368.8 MB, free: 3.184 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.097e-05/0.1429, allocations: 15.44 kB / 368.8 MB, free: 3.168 MB / 302.1 MB Notification: Performance of SimCode: time 4.4e-07/0.1429, allocations: 4 kB / 368.8 MB, free: 3.164 MB / 302.1 MB Notification: Performance of Templates: time 0.005456/0.1484, allocations: 1.252 MB / 370 MB, free: 1.922 MB / 302.1 MB make -j1 -f Modelica_trunk_Modelica.Mechanics.Translational.Examples.SignConvention.makefile (rm -f Modelica_trunk_Modelica.Mechanics.Translational.Examples.SignConvention.pipe ; mkfifo Modelica_trunk_Modelica.Mechanics.Translational.Examples.SignConvention.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Mechanics.Translational.Examples.SignConvention.pipe >> ../files/Modelica_trunk_Modelica.Mechanics.Translational.Examples.SignConvention.sim & ./Modelica_trunk_Modelica.Mechanics.Translational.Examples.SignConvention -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Mechanics.Translational.Examples.SignConvention.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Mechanics.Translational.Examples.SignConvention_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Mechanics/Translational/Examples/SignConvention/SignConvention.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Mechanics.Translational.Examples.SignConvention.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches