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.00152/0.00152, allocations: 124.4 kB / 17.79 MB, free: 5.266 MB / 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.001812/0.001812, allocations: 199.3 kB / 20.74 MB, free: 2.32 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.411/1.411, allocations: 230.6 MB / 254.1 MB, free: 15.08 MB / 206.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: "" <> buildModelFMU(Modelica.Mechanics.Translational.Examples.SignConvention,fileNamePrefix="Modelica_4_1_0_Modelica_Mechanics_Translational_Examples_SignConvention",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Mechanics.Translational.Examples.SignConvention,fileNamePrefix="Modelica_4_1_0_Modelica_Mechanics_Translational_Examples_SignConvention",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001839/0.001839, allocations: 47.92 kB / 373 MB, free: 10.32 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09995/0.1018, allocations: 53.33 MB / 426.3 MB, free: 4.902 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.SignConvention): time 0.003425/0.1052, allocations: 2.124 MB / 428.4 MB, free: 2.766 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0004109/0.1056, allocations: 171.3 kB / 428.6 MB, free: 2.598 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001014/0.1057, allocations: 4 kB / 428.6 MB, free: 2.594 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001483/0.1059, allocations: 23.73 kB / 428.6 MB, free: 2.57 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 9.455e-05/0.106, allocations: 47.56 kB / 428.7 MB, free: 2.523 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002124/0.1062, allocations: 43.89 kB / 428.7 MB, free: 2.48 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002762/0.1065, allocations: 183.2 kB / 428.9 MB, free: 2.301 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001748/0.1066, allocations: 42.28 kB / 428.9 MB, free: 2.254 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.864e-05/0.1067, allocations: 71.78 kB / 429 MB, free: 2.184 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001322/0.1069, allocations: 75.62 kB / 429.1 MB, free: 2.109 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 3.251e-05/0.1069, allocations: 16 kB / 429.1 MB, free: 2.094 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.858e-05/0.1069, allocations: 12 kB / 429.1 MB, free: 2.082 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 4.794e-05/0.107, allocations: 27.92 kB / 429.1 MB, free: 2.055 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 9.462e-05/0.1071, allocations: 87.53 kB / 429.2 MB, free: 1.969 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000263/0.1073, allocations: 179.2 kB / 429.4 MB, free: 1.793 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.348e-06/0.1073, allocations: 0 / 429.4 MB, free: 1.793 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.253e-06/0.1073, allocations: 0 / 429.4 MB, free: 1.793 MB / 350.1 MB Notification: Performance of Transformations before backend: time 7.243e-06/0.1073, allocations: 0 / 429.4 MB, free: 1.793 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.0007132/0.1081, allocations: 478.6 kB / 429.9 MB, free: 1.277 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.419e-05/0.1081, allocations: 8.031 kB / 429.9 MB, free: 1.27 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.453e-05/0.1082, allocations: 46.73 kB / 429.9 MB, free: 1.215 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.15e-05/0.1082, allocations: 24.8 kB / 429.9 MB, free: 1.191 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003082/0.1085, allocations: 216.1 kB / 430.1 MB, free: 0.9414 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.098e-05/0.1085, allocations: 16.16 kB / 430.2 MB, free: 0.9258 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.796e-05/0.1086, allocations: 20.33 kB / 430.2 MB, free: 0.9062 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003162/0.1089, allocations: 189.9 kB / 430.4 MB, free: 0.6992 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.703e-05/0.1089, allocations: 0 / 430.4 MB, free: 0.6992 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.832e-05/0.1089, allocations: 12 kB / 430.4 MB, free: 0.6875 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.048e-05/0.1089, allocations: 7.984 kB / 430.4 MB, free: 0.6797 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00019/0.1091, allocations: 95.89 kB / 430.5 MB, free: 0.5859 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1706/0.2798, allocations: 0.9563 MB / 431.4 MB, free: 10.51 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001296/0.2799, allocations: 100.1 kB / 431.5 MB, free: 10.44 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.696e-05/0.2799, allocations: 40.23 kB / 431.6 MB, free: 10.41 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.195e-05/0.28, allocations: 2.922 kB / 431.6 MB, free: 10.41 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.418e-05/0.28, allocations: 37.44 kB / 431.6 MB, free: 10.38 MB / 350.1 MB Notification: Performance of pre-optimization done (n=12): time 2.325e-06/0.28, allocations: 2.719 kB / 431.6 MB, free: 10.38 MB / 350.1 MB Notification: Performance of matching and sorting (n=12): time 0.0002891/0.2803, allocations: 132.7 kB / 431.7 MB, free: 10.34 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.082e-05/0.2803, allocations: 106 kB / 431.8 MB, free: 10.21 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000158/0.2804, allocations: 201.3 kB / 432 MB, free: 10.11 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 8.867e-06/0.2805, allocations: 29.58 kB / 432.1 MB, free: 10.08 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.359e-05/0.2805, allocations: 148.5 kB / 432.2 MB, free: 9.977 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.573e-05/0.2805, allocations: 52.22 kB / 432.3 MB, free: 9.953 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.55e-05/0.2806, allocations: 44.48 kB / 432.3 MB, free: 9.93 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 4.683e-05/0.2806, allocations: 331.8 kB / 432.6 MB, free: 9.617 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.484e-05/0.2807, allocations: 40.61 kB / 432.7 MB, free: 9.617 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.749e-05/0.2808, allocations: 140.4 kB / 432.8 MB, free: 9.492 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001702/0.281, allocations: 204.2 kB / 433 MB, free: 9.367 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.276e-06/0.281, allocations: 2.281 kB / 433 MB, free: 9.367 MB / 350.1 MB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0002671/0.2812, allocations: 208.8 kB / 433.2 MB, free: 9.328 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.633e-05/0.2813, allocations: 10.52 kB / 433.2 MB, free: 9.328 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.564e-06/0.2813, allocations: 3.938 kB / 433.2 MB, free: 9.328 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.671e-05/0.2813, allocations: 5.281 kB / 433.2 MB, free: 9.328 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001486/0.2814, allocations: 50.12 kB / 433.3 MB, free: 9.328 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.496e-06/0.2814, allocations: 5.078 kB / 433.3 MB, free: 9.328 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001095/0.2815, allocations: 32.47 kB / 433.3 MB, free: 9.316 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.57e-05/0.2816, allocations: 20.44 kB / 433.3 MB, free: 9.316 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 6.59e-05/0.2816, allocations: 131.1 kB / 433.5 MB, free: 9.199 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.669e-05/0.2817, allocations: 22.05 kB / 433.5 MB, free: 9.191 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.123e-05/0.2817, allocations: 25.8 kB / 433.5 MB, free: 9.176 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.31e-06/0.2817, allocations: 4.672 kB / 433.5 MB, free: 9.176 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.67e-06/0.2817, allocations: 2.156 kB / 433.5 MB, free: 9.176 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.447e-06/0.2818, allocations: 0.875 kB / 433.5 MB, free: 9.176 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003347/0.2821, allocations: 243.7 kB / 433.8 MB, free: 8.984 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.293e-06/0.2821, allocations: 3.469 kB / 433.8 MB, free: 8.984 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001332/0.2822, allocations: 31.72 kB / 433.8 MB, free: 8.984 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.743e-06/0.2822, allocations: 0 / 433.8 MB, free: 8.984 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.009e-05/0.2822, allocations: 5.062 kB / 433.8 MB, free: 8.984 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.014e-06/0.2822, allocations: 1.5 kB / 433.8 MB, free: 8.984 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.72e-07/0.2822, allocations: 0.6562 kB / 433.8 MB, free: 8.984 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001959/0.2824, allocations: 393.1 kB / 434.2 MB, free: 8.691 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.971e-05/0.2825, allocations: 92.44 kB / 434.3 MB, free: 8.59 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.348e-05/0.2825, allocations: 5.766 kB / 434.3 MB, free: 8.59 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00014/0.2826, allocations: 5.781 kB / 434.3 MB, free: 8.59 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.772e-05/0.2826, allocations: 9.203 kB / 434.3 MB, free: 8.59 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.663e-06/0.2826, allocations: 12.03 kB / 434.3 MB, free: 8.586 MB / 350.1 MB Notification: Performance of sorting global known variables: time 7.618e-05/0.2827, allocations: 147.3 kB / 434.5 MB, free: 8.508 MB / 350.1 MB Notification: Performance of sort global known variables: time 8e-08/0.2827, allocations: 0 / 434.5 MB, free: 8.508 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003431/0.2831, allocations: 40.58 kB / 434.5 MB, free: 8.504 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.0003337/0.2834, allocations: 0.9162 MB / 435.4 MB, free: 7.691 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0001816/0.2836, allocations: 106.4 kB / 435.5 MB, free: 7.688 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.074e-06/0.2836, allocations: 0.6562 kB / 435.5 MB, free: 7.688 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 4.313e-05/0.2836, allocations: 37.84 kB / 435.6 MB, free: 7.688 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004762/0.2841, allocations: 32.44 kB / 435.6 MB, free: 7.684 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001963/0.2861, allocations: 2.628 MB / 438.2 MB, free: 5.758 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001314/0.2862, allocations: 0.728 MB / 438.9 MB, free: 5.059 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 6.316e-05/0.2863, allocations: 21.28 kB / 439 MB, free: 5.055 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.366e-05/0.2863, allocations: 53.91 kB / 439 MB, free: 5.047 MB / 350.1 MB Notification: Performance of SimCode: time 4.81e-07/0.2863, allocations: 0 / 439 MB, free: 5.047 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.04/1.327, allocations: 3.489 MB / 442.5 MB, free: 4.531 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.219/9.546, allocations: 16.08 kB / 442.5 MB, free: 4.523 MB / 350.1 MB " [Timeout remaining time 650] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.1.0_Modelica.Mechanics.Translational.Examples.SignConvention_res.mat --tempDir=temp_Modelica_4_1_0_Modelica_Mechanics_Translational_Examples_SignConvention_fmu --startTime=0 --stopTime=1 --stepSize=0.001 --timeout=50 --tolerance=1e-06 Modelica_4_1_0_Modelica_Mechanics_Translational_Examples_SignConvention.fmu > Modelica_4.1.0_Modelica.Mechanics.Translational.Examples.SignConvention.pipe 2>&1) [Timeout 52.5] 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: 11.911268644966185]