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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) 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: "" <> buildModelFMU(Modelica.Mechanics.Translational.Examples.SignConvention,fileNamePrefix="Modelica_4_0_0_Modelica_Mechanics_Translational_Examples_SignConvention",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Mechanics.Translational.Examples.SignConvention,fileNamePrefix="Modelica_4_0_0_Modelica_Mechanics_Translational_Examples_SignConvention",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001378/0.001378, allocations: 114.6 kB / 16.63 MB, free: 6.812 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001416/0.001416, allocations: 185.8 kB / 17.55 MB, free: 5.934 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.35/1.35, allocations: 222.9 MB / 241.2 MB, free: 13.73 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00113/0.00113, allocations: 49.75 kB / 300.2 MB, free: 5.891 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08978/0.09092, allocations: 49.44 MB / 349.7 MB, free: 4.438 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.SignConvention): time 0.00352/0.09453, allocations: 2.149 MB / 351.8 MB, free: 2.27 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.0004515/0.09501, allocations: 159.4 kB / 352 MB, free: 2.113 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001579/0.09519, allocations: 4 kB / 352 MB, free: 2.109 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002207/0.09542, allocations: 23.78 kB / 352 MB, free: 2.086 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001259/0.09558, allocations: 39.69 kB / 352.1 MB, free: 2.047 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001972/0.09579, allocations: 35.97 kB / 352.1 MB, free: 2.012 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002296/0.09603, allocations: 179.2 kB / 352.3 MB, free: 1.836 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000226/0.09626, allocations: 68.67 kB / 352.3 MB, free: 1.766 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.364e-05/0.09635, allocations: 67.73 kB / 352.4 MB, free: 1.699 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001094/0.09647, allocations: 67.64 kB / 352.5 MB, free: 1.633 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 2.783e-05/0.0965, allocations: 12 kB / 352.5 MB, free: 1.621 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.949e-05/0.09654, allocations: 16 kB / 352.5 MB, free: 1.605 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 3.568e-05/0.09658, allocations: 39.83 kB / 352.5 MB, free: 1.566 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 8.23e-05/0.09667, allocations: 79.61 kB / 352.6 MB, free: 1.488 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001986/0.09687, allocations: 179.6 kB / 352.8 MB, free: 1.312 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.158e-06/0.09688, allocations: 0 / 352.8 MB, free: 1.312 MB / 286.1 MB Notification: Performance of FrontEnd: time 2.474e-06/0.09689, allocations: 4 kB / 352.8 MB, free: 1.309 MB / 286.1 MB Notification: Performance of Transformations before backend: time 1.986e-05/0.09692, allocations: 4 kB / 352.8 MB, free: 1.305 MB / 286.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.0006277/0.09755, allocations: 462.8 kB / 353.2 MB, free: 0.8047 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.68e-05/0.0976, allocations: 8.031 kB / 353.2 MB, free: 0.7969 MB / 286.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.111e-05/0.09765, allocations: 54.73 kB / 353.3 MB, free: 0.7344 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.093e-05/0.0977, allocations: 16.75 kB / 353.3 MB, free: 0.7188 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002513/0.09796, allocations: 208.1 kB / 353.5 MB, free: 488 kB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.586e-05/0.09798, allocations: 20.31 kB / 353.5 MB, free: 468 kB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.36e-05/0.09802, allocations: 20.36 kB / 353.6 MB, free: 448 kB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002807/0.09831, allocations: 190 kB / 353.7 MB, free: 236 kB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.532e-05/0.09833, allocations: 3.906 kB / 353.8 MB, free: 232 kB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.73e-05/0.09835, allocations: 8 kB / 353.8 MB, free: 224 kB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.823e-06/0.09836, allocations: 4 kB / 353.8 MB, free: 220 kB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001699/0.09854, allocations: 107.9 kB / 353.9 MB, free: 112 kB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001321/0.09987, allocations: 0.9545 MB / 354.8 MB, free: 15.07 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001242/0.1, allocations: 99.69 kB / 354.9 MB, free: 14.95 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.55e-05/0.1001, allocations: 46.75 kB / 355 MB, free: 14.89 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.024e-05/0.1001, allocations: 0 / 355 MB, free: 14.89 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.052e-05/0.1001, allocations: 42.5 kB / 355 MB, free: 14.84 MB / 302.1 MB Notification: Performance of pre-optimization done (n=12): time 9.62e-07/0.1001, allocations: 0 / 355 MB, free: 14.84 MB / 302.1 MB Notification: Performance of matching and sorting (n=12): time 0.0003253/0.1005, allocations: 125.4 kB / 355.1 MB, free: 14.71 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.507e-05/0.1005, allocations: 106.8 kB / 355.2 MB, free: 14.58 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001731/0.1007, allocations: 207.7 kB / 355.4 MB, free: 14.37 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 1.448e-05/0.1007, allocations: 29.7 kB / 355.5 MB, free: 14.33 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.25e-05/0.1008, allocations: 143.8 kB / 355.6 MB, free: 14.19 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.739e-05/0.1008, allocations: 51.27 kB / 355.7 MB, free: 14.14 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.229e-05/0.1009, allocations: 45.94 kB / 355.7 MB, free: 14.08 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001029/0.101, allocations: 330.8 kB / 356 MB, free: 13.75 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.511e-05/0.1011, allocations: 40.39 kB / 356.1 MB, free: 13.71 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001744/0.1013, allocations: 150.2 kB / 356.2 MB, free: 13.52 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002169/0.1015, allocations: 198.1 kB / 356.4 MB, free: 13.28 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.789e-06/0.1015, allocations: 7.938 kB / 356.4 MB, free: 13.27 MB / 302.1 MB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0002913/0.1018, allocations: 209.5 kB / 356.6 MB, free: 13.06 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.589e-05/0.1018, allocations: 12.06 kB / 356.6 MB, free: 13.05 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.917e-06/0.1018, allocations: 4 kB / 356.6 MB, free: 13.04 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.372e-05/0.1019, allocations: 4 kB / 356.6 MB, free: 13.04 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001522/0.102, allocations: 51.91 kB / 356.7 MB, free: 12.99 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.321e-05/0.1021, allocations: 4 kB / 356.7 MB, free: 12.98 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001296/0.1022, allocations: 31.62 kB / 356.7 MB, free: 12.95 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.668e-05/0.1022, allocations: 16 kB / 356.7 MB, free: 12.94 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.0001083/0.1023, allocations: 137.7 kB / 356.9 MB, free: 12.79 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.7e-05/0.1024, allocations: 15.81 kB / 356.9 MB, free: 12.78 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.439e-05/0.1025, allocations: 24.92 kB / 356.9 MB, free: 12.75 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.647e-06/0.1025, allocations: 4 kB / 356.9 MB, free: 12.75 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.031e-06/0.1025, allocations: 0 / 356.9 MB, free: 12.75 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.398e-06/0.1025, allocations: 3.938 kB / 356.9 MB, free: 12.74 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004292/0.1029, allocations: 241.5 kB / 357.2 MB, free: 12.46 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.051e-05/0.103, allocations: 4 kB / 357.2 MB, free: 12.45 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001482/0.1031, allocations: 27.98 kB / 357.2 MB, free: 12.43 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.959e-06/0.1031, allocations: 4 kB / 357.2 MB, free: 12.42 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.335e-05/0.1031, allocations: 4 kB / 357.2 MB, free: 12.42 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.254e-06/0.1032, allocations: 0 / 357.2 MB, free: 12.42 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.795e-06/0.1032, allocations: 8 kB / 357.2 MB, free: 12.41 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003067/0.1035, allocations: 389.6 kB / 357.6 MB, free: 12.01 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.546e-05/0.1035, allocations: 96.77 kB / 357.7 MB, free: 11.9 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.802e-05/0.1036, allocations: 8.062 kB / 357.7 MB, free: 11.89 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001449/0.1037, allocations: 0 / 357.7 MB, free: 11.89 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.756e-05/0.1038, allocations: 19.86 kB / 357.7 MB, free: 11.87 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.472e-05/0.1038, allocations: 8 kB / 357.7 MB, free: 11.86 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0001297/0.1039, allocations: 149.5 kB / 357.9 MB, free: 11.72 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.01e-07/0.104, allocations: 0 / 357.9 MB, free: 11.72 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0003754/0.1043, allocations: 36 kB / 357.9 MB, free: 11.68 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.0005957/0.1049, allocations: 0.914 MB / 358.8 MB, free: 10.74 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0002096/0.1052, allocations: 116.2 kB / 358.9 MB, free: 10.62 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 1.934e-06/0.1052, allocations: 0 / 358.9 MB, free: 10.62 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 4.989e-05/0.1052, allocations: 36.73 kB / 359 MB, free: 10.59 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005628/0.1058, allocations: 31.92 kB / 359 MB, free: 10.56 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002734/0.1085, allocations: 2.662 MB / 361.6 MB, free: 7.73 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002824/0.1088, allocations: 0.7203 MB / 362.4 MB, free: 6.984 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 7.553e-05/0.1089, allocations: 17.95 kB / 362.4 MB, free: 6.969 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.213e-05/0.109, allocations: 51.42 kB / 362.4 MB, free: 6.918 MB / 302.1 MB Notification: Performance of SimCode: time 1.292e-06/0.109, allocations: 0 / 362.4 MB, free: 6.918 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1617/0.2707, allocations: 3.311 MB / 365.7 MB, free: 3.738 MB / 302.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003416/0.2711, allocations: 218.8 kB / 366 MB, free: 3.477 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.987/2.258, allocations: 0 / 366 MB, free: 3.477 MB / 302.1 MB (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.SignConvention_res.mat --tempDir=temp_Modelica_4_0_0_Modelica_Mechanics_Translational_Examples_SignConvention_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Modelica_4_0_0_Modelica_Mechanics_Translational_Examples_SignConvention.fmu > Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.SignConvention.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.SignConvention_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Mechanics/Translational/Examples/SignConvention/SignConvention.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.SignConvention.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches