Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Mechanics.Translational.Examples.SignConvention.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.001285/0.001285, allocations: 75.73 kB / 21.24 MB, free: 400 kB / 14.72 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.001403/0.001403, allocations: 169.4 kB / 24.5 MB, free: 3.453 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.474/1.474, allocations: 177.2 MB / 204.9 MB, free: 9.047 MB / 190.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+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: 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.1.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.1.0_Modelica.Mechanics.Translational.Examples.SignConvention") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001607/0.001607, allocations: 51.56 kB / 325.6 MB, free: 280 kB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09101/0.09261, allocations: 53.34 MB / 378.9 MB, free: 15.7 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.SignConvention): time 0.00334/0.09595, allocations: 2.02 MB / 380.9 MB, free: 13.67 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.000369/0.09632, allocations: 159.4 kB / 381.1 MB, free: 13.51 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.761e-05/0.09642, allocations: 11.94 kB / 381.1 MB, free: 13.5 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001315/0.09655, allocations: 31.72 kB / 381.1 MB, free: 13.47 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 9.517e-05/0.09665, allocations: 39.58 kB / 381.1 MB, free: 13.43 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001632/0.09681, allocations: 43.94 kB / 381.2 MB, free: 13.39 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002547/0.09706, allocations: 187.1 kB / 381.4 MB, free: 13.2 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001564/0.09722, allocations: 38.47 kB / 381.4 MB, free: 13.16 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.86e-05/0.09732, allocations: 79.7 kB / 381.5 MB, free: 13.08 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001208/0.09744, allocations: 59.64 kB / 381.5 MB, free: 13.02 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 3.208e-05/0.09747, allocations: 16 kB / 381.6 MB, free: 13.01 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.839e-05/0.0975, allocations: 16 kB / 381.6 MB, free: 12.99 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 4.395e-05/0.09754, allocations: 35.84 kB / 381.6 MB, free: 12.96 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 8.464e-05/0.09763, allocations: 67.72 kB / 381.7 MB, free: 12.89 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002481/0.09788, allocations: 175.2 kB / 381.9 MB, free: 12.72 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.048e-06/0.09788, allocations: 0 / 381.9 MB, free: 12.72 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.232e-06/0.09788, allocations: 0 / 381.9 MB, free: 12.72 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.51e-06/0.09789, allocations: 4 kB / 381.9 MB, free: 12.71 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.000642/0.09853, allocations: 389.6 kB / 382.2 MB, free: 12.3 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.678e-05/0.09857, allocations: 8.031 kB / 382.2 MB, free: 12.3 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.773e-05/0.09862, allocations: 24.8 kB / 382.3 MB, free: 12.27 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003043/0.09893, allocations: 166.1 kB / 382.4 MB, free: 12.09 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.306e-05/0.09895, allocations: 20.16 kB / 382.4 MB, free: 12.07 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.071e-05/0.09899, allocations: 16.33 kB / 382.5 MB, free: 12.05 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003242/0.09932, allocations: 178.5 kB / 382.6 MB, free: 11.86 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.111e-05/0.09934, allocations: 7.938 kB / 382.6 MB, free: 11.85 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.934e-05/0.09936, allocations: 4 kB / 382.7 MB, free: 11.84 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.654e-06/0.09937, allocations: 8 kB / 382.7 MB, free: 11.84 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001977/0.09956, allocations: 107.8 kB / 382.8 MB, free: 11.73 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001308/0.1009, allocations: 0.8419 MB / 383.6 MB, free: 10.82 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001676/0.101, allocations: 99.83 kB / 383.7 MB, free: 10.7 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.286e-05/0.1011, allocations: 38.66 kB / 383.7 MB, free: 10.65 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.385e-05/0.1011, allocations: 4 kB / 383.7 MB, free: 10.65 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.809e-05/0.1011, allocations: 38.5 kB / 383.8 MB, free: 10.6 MB / 350.1 MB Notification: Performance of pre-optimization done (n=12): time 1.352e-06/0.1011, allocations: 4 kB / 383.8 MB, free: 10.6 MB / 350.1 MB Notification: Performance of matching and sorting (n=12): time 0.0003117/0.1015, allocations: 122 kB / 383.9 MB, free: 10.47 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.836e-05/0.1015, allocations: 106.8 kB / 384 MB, free: 10.34 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001765/0.1017, allocations: 170.8 kB / 384.2 MB, free: 10.17 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.464e-05/0.1017, allocations: 33.69 kB / 384.2 MB, free: 10.13 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001218/0.1018, allocations: 152.1 kB / 384.4 MB, free: 9.973 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.593e-05/0.1019, allocations: 51.53 kB / 384.4 MB, free: 9.922 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.968e-05/0.102, allocations: 45.88 kB / 384.5 MB, free: 9.867 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001655/0.1021, allocations: 330.8 kB / 384.8 MB, free: 9.535 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.318e-05/0.1022, allocations: 36.45 kB / 384.8 MB, free: 9.5 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001654/0.1024, allocations: 147.6 kB / 385 MB, free: 9.309 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002702/0.1026, allocations: 201.6 kB / 385.2 MB, free: 9.062 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.645e-06/0.1026, allocations: 0 / 385.2 MB, free: 9.062 MB / 350.1 MB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0003303/0.103, allocations: 213.2 kB / 385.4 MB, free: 8.848 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.582e-05/0.103, allocations: 7.938 kB / 385.4 MB, free: 8.84 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.392e-06/0.103, allocations: 4.406 kB / 385.4 MB, free: 8.836 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.193e-05/0.103, allocations: 12 kB / 385.4 MB, free: 8.824 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001649/0.1032, allocations: 47.91 kB / 385.4 MB, free: 8.777 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.22e-05/0.1032, allocations: 8 kB / 385.4 MB, free: 8.77 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001071/0.1033, allocations: 19.84 kB / 385.5 MB, free: 8.75 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.816e-05/0.1033, allocations: 19.94 kB / 385.5 MB, free: 8.73 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.0001289/0.1034, allocations: 137.7 kB / 385.6 MB, free: 8.586 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.957e-05/0.1035, allocations: 15.91 kB / 385.6 MB, free: 8.57 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.191e-05/0.1036, allocations: 24.27 kB / 385.7 MB, free: 8.543 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.345e-06/0.1036, allocations: 0 / 385.7 MB, free: 8.543 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.991e-06/0.1036, allocations: 4 kB / 385.7 MB, free: 8.539 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.406e-06/0.1036, allocations: 4 kB / 385.7 MB, free: 8.535 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003896/0.104, allocations: 169.2 kB / 385.8 MB, free: 8.34 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.373e-06/0.104, allocations: 0 / 385.8 MB, free: 8.34 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001592/0.1041, allocations: 31.98 kB / 385.9 MB, free: 8.309 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.689e-06/0.1041, allocations: 4 kB / 385.9 MB, free: 8.305 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.109e-05/0.1041, allocations: 0 / 385.9 MB, free: 8.305 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.643e-06/0.1041, allocations: 0 / 385.9 MB, free: 8.305 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.336e-06/0.1042, allocations: 4 kB / 385.9 MB, free: 8.301 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003613/0.1045, allocations: 381.9 kB / 386.2 MB, free: 7.91 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.559e-05/0.1045, allocations: 11.91 kB / 386.2 MB, free: 7.898 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.517e-05/0.1046, allocations: 8.062 kB / 386.3 MB, free: 7.891 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001465/0.1047, allocations: 4 kB / 386.3 MB, free: 7.887 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.932e-05/0.1047, allocations: 16.06 kB / 386.3 MB, free: 7.871 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.154e-05/0.1047, allocations: 12.11 kB / 386.3 MB, free: 7.859 MB / 350.1 MB Notification: Performance of sorting global known variables: time 9.55e-05/0.1048, allocations: 115.2 kB / 386.4 MB, free: 7.746 MB / 350.1 MB Notification: Performance of sort global known variables: time 8e-08/0.1048, allocations: 0 / 386.4 MB, free: 7.746 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0004046/0.1052, allocations: 47.83 kB / 386.4 MB, free: 7.699 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.0001086/0.1054, allocations: 103.2 kB / 386.5 MB, free: 7.59 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002504/0.1056, allocations: 108 kB / 386.7 MB, free: 7.484 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.813e-06/0.1056, allocations: 0 / 386.7 MB, free: 7.484 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 5.695e-05/0.1057, allocations: 39.92 kB / 386.7 MB, free: 7.445 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005153/0.1062, allocations: 23.22 kB / 386.7 MB, free: 7.426 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001039/0.1072, allocations: 0.6187 MB / 387.3 MB, free: 6.777 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001215/0.1073, allocations: 112.2 kB / 387.4 MB, free: 6.645 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 6.046e-05/0.1074, allocations: 21.47 kB / 387.5 MB, free: 6.625 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.505e-05/0.1074, allocations: 16.5 kB / 387.5 MB, free: 6.609 MB / 350.1 MB Notification: Performance of SimCode: time 3.51e-07/0.1074, allocations: 3.938 kB / 387.5 MB, free: 6.605 MB / 350.1 MB Notification: Performance of Templates: time 0.004107/0.1115, allocations: 1.173 MB / 388.7 MB, free: 5.457 MB / 350.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Mechanics.Translational.Examples.SignConvention.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Mechanics.Translational.Examples.SignConvention.pipe ; mkfifo Modelica_4.1.0_Modelica.Mechanics.Translational.Examples.SignConvention.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Mechanics.Translational.Examples.SignConvention.pipe >> ../files/Modelica_4.1.0_Modelica.Mechanics.Translational.Examples.SignConvention.sim & ./Modelica_4.1.0_Modelica.Mechanics.Translational.Examples.SignConvention -abortSlowSimulation -alarm=480 -s ida -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Mechanics.Translational.Examples.SignConvention.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_Modelica.Mechanics.Translational.Examples.SignConvention_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Mechanics/Translational/Examples/SignConvention/SignConvention.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.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: 4.277804162935354]