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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001554/0.001554, allocations: 112.8 kB / 19.17 MB, free: 3.871 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001664/0.001664, allocations: 210.5 kB / 22.13 MB, free: 0.918 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.461/1.461, allocations: 230.2 MB / 255.1 MB, free: 15.4 MB / 206.1 MB " [Timeout remaining time 178] 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=1000,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=1000,variableFilter="time|mass1.s|mass1.v|mass2.s|mass2.v|mass3.s|mass3.v",fileNamePrefix="Modelica_trunk_Modelica.Mechanics.Translational.Examples.SignConvention") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001854/0.001854, allocations: 63.89 kB / 374.5 MB, free: 9.926 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1064/0.1083, allocations: 53.32 MB / 427.8 MB, free: 4.512 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.SignConvention): time 0.003486/0.1118, allocations: 2.129 MB / 430 MB, free: 2.375 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003838/0.1122, allocations: 163.4 kB / 430.1 MB, free: 2.215 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001008/0.1123, allocations: 7.938 kB / 430.1 MB, free: 2.207 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001507/0.1124, allocations: 31.72 kB / 430.2 MB, free: 2.176 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 9.894e-05/0.1125, allocations: 43.56 kB / 430.2 MB, free: 2.133 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001778/0.1127, allocations: 39.95 kB / 430.2 MB, free: 2.094 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002541/0.1129, allocations: 183.2 kB / 430.4 MB, free: 1.914 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001648/0.1131, allocations: 46.28 kB / 430.5 MB, free: 1.863 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.57e-05/0.1132, allocations: 63.73 kB / 430.5 MB, free: 1.801 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001369/0.1133, allocations: 83.61 kB / 430.6 MB, free: 1.719 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.878e-05/0.1134, allocations: 12 kB / 430.6 MB, free: 1.707 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.155e-05/0.1134, allocations: 16 kB / 430.6 MB, free: 1.691 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 3.975e-05/0.1134, allocations: 27.92 kB / 430.7 MB, free: 1.664 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001042/0.1135, allocations: 87.53 kB / 430.7 MB, free: 1.578 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002678/0.1138, allocations: 179.2 kB / 430.9 MB, free: 1.402 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.252e-06/0.1138, allocations: 4 kB / 430.9 MB, free: 1.398 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.693e-06/0.1138, allocations: 0 / 430.9 MB, free: 1.398 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.762e-06/0.1138, allocations: 0 / 430.9 MB, free: 1.398 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.0007123/0.1145, allocations: 462.7 kB / 431.4 MB, free: 0.8984 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.117e-05/0.1146, allocations: 12.03 kB / 431.4 MB, free: 0.8867 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.44e-05/0.1146, allocations: 20.8 kB / 431.4 MB, free: 0.8672 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003113/0.1149, allocations: 212.7 kB / 431.6 MB, free: 0.6211 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.801e-05/0.115, allocations: 24.09 kB / 431.6 MB, free: 0.5977 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.789e-05/0.115, allocations: 24.33 kB / 431.7 MB, free: 0.5742 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003198/0.1153, allocations: 178.2 kB / 431.8 MB, free: 388 kB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.991e-05/0.1153, allocations: 7.938 kB / 431.8 MB, free: 380 kB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.693e-05/0.1154, allocations: 4 kB / 431.8 MB, free: 376 kB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.294e-06/0.1154, allocations: 4 kB / 431.8 MB, free: 372 kB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001959/0.1156, allocations: 103.9 kB / 432 MB, free: 268 kB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001394/0.117, allocations: 0.9587 MB / 432.9 MB, free: 15.22 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001598/0.1171, allocations: 111.8 kB / 433 MB, free: 15.08 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.345e-05/0.1172, allocations: 38.66 kB / 433.1 MB, free: 15.04 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.023e-05/0.1172, allocations: 3.938 kB / 433.1 MB, free: 15.03 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.848e-05/0.1172, allocations: 38.5 kB / 433.1 MB, free: 14.98 MB / 366.1 MB Notification: Performance of pre-optimization done (n=12): time 1.433e-06/0.1172, allocations: 4 kB / 433.1 MB, free: 14.98 MB / 366.1 MB Notification: Performance of matching and sorting (n=12): time 0.0003252/0.1176, allocations: 129.5 kB / 433.2 MB, free: 14.85 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.726e-05/0.1176, allocations: 106.8 kB / 433.3 MB, free: 14.72 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002243/0.1179, allocations: 199.9 kB / 433.5 MB, free: 14.51 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 1.89e-05/0.1179, allocations: 25.7 kB / 433.6 MB, free: 14.48 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001136/0.118, allocations: 144 kB / 433.7 MB, free: 14.34 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.554e-05/0.118, allocations: 51.62 kB / 433.7 MB, free: 14.29 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.324e-05/0.1181, allocations: 49.89 kB / 433.8 MB, free: 14.23 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.000168/0.1183, allocations: 338.7 kB / 434.1 MB, free: 13.89 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.237e-05/0.1183, allocations: 40.39 kB / 434.2 MB, free: 13.85 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000183/0.1185, allocations: 146.6 kB / 434.3 MB, free: 13.66 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002576/0.1188, allocations: 189.5 kB / 434.5 MB, free: 13.42 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.605e-06/0.1188, allocations: 7.938 kB / 434.5 MB, free: 13.41 MB / 366.1 MB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0003448/0.1191, allocations: 217.8 kB / 434.7 MB, free: 13.2 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.496e-05/0.1191, allocations: 4 kB / 434.7 MB, free: 13.19 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.398e-06/0.1192, allocations: 4.141 kB / 434.7 MB, free: 13.19 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.088e-05/0.1192, allocations: 4.406 kB / 434.7 MB, free: 13.18 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001647/0.1193, allocations: 55.91 kB / 434.8 MB, free: 13.13 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.212e-05/0.1194, allocations: 4 kB / 434.8 MB, free: 13.12 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001244/0.1195, allocations: 43.67 kB / 434.8 MB, free: 13.08 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.905e-05/0.1195, allocations: 12 kB / 434.8 MB, free: 13.07 MB / 366.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.0001282/0.1196, allocations: 141.6 kB / 435 MB, free: 12.92 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.634e-05/0.1197, allocations: 15.91 kB / 435 MB, free: 12.91 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.875e-05/0.1198, allocations: 20.94 kB / 435 MB, free: 12.88 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.364e-06/0.1198, allocations: 0 / 435 MB, free: 12.88 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.919e-06/0.1198, allocations: 0 / 435 MB, free: 12.88 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.638e-05/0.1198, allocations: 15.92 kB / 435 MB, free: 12.86 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004634/0.1202, allocations: 229.6 kB / 435.3 MB, free: 12.59 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.506e-06/0.1203, allocations: 4 kB / 435.3 MB, free: 12.59 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001579/0.1204, allocations: 23.98 kB / 435.3 MB, free: 12.56 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.114e-06/0.1204, allocations: 4 kB / 435.3 MB, free: 12.56 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.582e-05/0.1204, allocations: 7.984 kB / 435.3 MB, free: 12.55 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.847e-06/0.1204, allocations: 4 kB / 435.3 MB, free: 12.55 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.296e-06/0.1204, allocations: 3.984 kB / 435.3 MB, free: 12.54 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003708/0.1208, allocations: 389.8 kB / 435.7 MB, free: 12.14 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.815e-05/0.1209, allocations: 96.94 kB / 435.8 MB, free: 12.03 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.631e-05/0.1209, allocations: 8.062 kB / 435.8 MB, free: 12.02 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001487/0.1211, allocations: 0 / 435.8 MB, free: 12.02 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.63e-05/0.1211, allocations: 11.92 kB / 435.8 MB, free: 12.01 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.977e-06/0.1211, allocations: 8 kB / 435.8 MB, free: 12 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001386/0.1212, allocations: 153.4 kB / 436 MB, free: 11.86 MB / 366.1 MB Notification: Performance of sort global known variables: time 9e-08/0.1212, allocations: 4 kB / 436 MB, free: 11.85 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0003908/0.1216, allocations: 39.95 kB / 436 MB, free: 11.81 MB / 366.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.0001333/0.1218, allocations: 103.2 kB / 436.1 MB, free: 11.7 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0002219/0.122, allocations: 103.8 kB / 436.2 MB, free: 11.6 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.204e-06/0.122, allocations: 0.8125 kB / 436.2 MB, free: 11.6 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 6.689e-05/0.122, allocations: 39.92 kB / 436.2 MB, free: 11.56 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005172/0.1226, allocations: 30.14 kB / 436.3 MB, free: 11.53 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001105/0.1237, allocations: 0.6581 MB / 436.9 MB, free: 10.84 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003889/0.1241, allocations: 0.7203 MB / 437.6 MB, free: 10.09 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.736e-05/0.1241, allocations: 19.44 kB / 437.7 MB, free: 10.07 MB / 366.1 MB Notification: Performance of SimCode: time 3.21e-07/0.1241, allocations: 0 / 437.7 MB, free: 10.07 MB / 366.1 MB Notification: Performance of Templates: time 0.004043/0.1282, allocations: 2.028 MB / 439.7 MB, free: 8.039 MB / 366.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Mechanics.Translational.Examples.SignConvention.makefile [Timeout 660] (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) [Timeout 480] diffSimulationResults("Modelica_trunk_Modelica.Mechanics.Translational.Examples.SignConvention_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Mechanics/Translational/Examples/SignConvention/SignConvention.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Modelica_trunk_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.766382986912504]