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: "" <> buildModelFMU(Modelica.Mechanics.Translational.Examples.SignConvention,fileNamePrefix="Modelica_trunk_Modelica_Mechanics_Translational_Examples_SignConvention",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Mechanics.Translational.Examples.SignConvention,fileNamePrefix="Modelica_trunk_Modelica_Mechanics_Translational_Examples_SignConvention",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001435/0.001435, allocations: 109.8 kB / 17.33 MB, free: 6 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001706/0.001707, allocations: 205.8 kB / 18.26 MB, free: 5.082 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.422/1.422, allocations: 227.4 MB / 246.4 MB, free: 10.78 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001196/0.001196, allocations: 59.94 kB / 306.5 MB, free: 0.8359 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09426/0.09547, allocations: 50.54 MB / 357.1 MB, free: 14.3 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.SignConvention): time 0.003566/0.09906, allocations: 2.157 MB / 359.2 MB, free: 12.13 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.0004564/0.09954, allocations: 167.3 kB / 359.4 MB, free: 11.96 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000119/0.09967, allocations: 4 kB / 359.4 MB, free: 11.96 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000135/0.09984, allocations: 19.8 kB / 359.4 MB, free: 11.94 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 9.365e-05/0.09994, allocations: 39.69 kB / 359.5 MB, free: 11.9 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001487/0.1001, allocations: 35.97 kB / 359.5 MB, free: 11.87 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002163/0.1003, allocations: 179.2 kB / 359.7 MB, free: 11.69 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001606/0.1005, allocations: 66.25 kB / 359.7 MB, free: 11.62 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.472e-05/0.1006, allocations: 59.8 kB / 359.8 MB, free: 11.56 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001374/0.1007, allocations: 83.56 kB / 359.9 MB, free: 11.48 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 3.178e-05/0.1008, allocations: 12 kB / 359.9 MB, free: 11.47 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.135e-05/0.1008, allocations: 16 kB / 359.9 MB, free: 11.45 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 4.126e-05/0.1009, allocations: 35.84 kB / 359.9 MB, free: 11.42 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 8.911e-05/0.101, allocations: 79.61 kB / 360 MB, free: 11.34 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002343/0.1012, allocations: 179.6 kB / 360.2 MB, free: 11.16 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.369e-06/0.1012, allocations: 0 / 360.2 MB, free: 11.16 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.623e-06/0.1012, allocations: 0 / 360.2 MB, free: 11.16 MB / 302.1 MB Notification: Performance of Transformations before backend: time 6.492e-06/0.1012, allocations: 4 kB / 360.2 MB, free: 11.16 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.0007005/0.1019, allocations: 458.9 kB / 360.7 MB, free: 10.66 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.028e-05/0.102, allocations: 8.031 kB / 360.7 MB, free: 10.66 MB / 302.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.648e-05/0.1021, allocations: 58.73 kB / 360.7 MB, free: 10.59 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.77e-05/0.1021, allocations: 20.73 kB / 360.7 MB, free: 10.57 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002168/0.1023, allocations: 208.1 kB / 360.9 MB, free: 10.33 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.614e-05/0.1024, allocations: 12.38 kB / 361 MB, free: 10.32 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.394e-05/0.1024, allocations: 24.28 kB / 361 MB, free: 10.29 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003126/0.1027, allocations: 189.9 kB / 361.2 MB, free: 10.09 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.623e-05/0.1027, allocations: 0 / 361.2 MB, free: 10.09 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.791e-05/0.1028, allocations: 8 kB / 361.2 MB, free: 10.08 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.474e-06/0.1028, allocations: 4 kB / 361.2 MB, free: 10.07 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001744/0.1029, allocations: 103.9 kB / 361.3 MB, free: 9.973 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00143/0.1044, allocations: 0.9623 MB / 362.2 MB, free: 8.926 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001347/0.1045, allocations: 95.75 kB / 362.3 MB, free: 8.805 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.655e-05/0.1046, allocations: 42.75 kB / 362.4 MB, free: 8.754 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.418e-05/0.1046, allocations: 4 kB / 362.4 MB, free: 8.75 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.012e-05/0.1047, allocations: 46.44 kB / 362.4 MB, free: 8.695 MB / 302.1 MB Notification: Performance of pre-optimization done (n=12): time 1.784e-06/0.1047, allocations: 0 / 362.4 MB, free: 8.695 MB / 302.1 MB Notification: Performance of matching and sorting (n=12): time 0.0002923/0.105, allocations: 121.4 kB / 362.5 MB, free: 8.57 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.35e-05/0.105, allocations: 110.8 kB / 362.6 MB, free: 8.438 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001911/0.1052, allocations: 207.7 kB / 362.9 MB, free: 8.219 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 1.626e-05/0.1053, allocations: 29.7 kB / 362.9 MB, free: 8.184 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.655e-05/0.1054, allocations: 143.8 kB / 363 MB, free: 8.039 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.364e-05/0.1054, allocations: 55.34 kB / 363.1 MB, free: 7.984 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.244e-05/0.1055, allocations: 41.94 kB / 363.1 MB, free: 7.934 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001139/0.1056, allocations: 330.8 kB / 363.4 MB, free: 7.602 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.472e-05/0.1057, allocations: 40.44 kB / 363.5 MB, free: 7.562 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002559/0.1059, allocations: 146.6 kB / 363.6 MB, free: 7.371 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002481/0.1062, allocations: 194.1 kB / 363.8 MB, free: 7.133 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.434e-06/0.1062, allocations: 0 / 363.8 MB, free: 7.133 MB / 302.1 MB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0003037/0.1065, allocations: 225 kB / 364 MB, free: 6.906 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.68e-05/0.1066, allocations: 8.406 kB / 364 MB, free: 6.898 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.624e-06/0.1066, allocations: 8 kB / 364 MB, free: 6.891 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.496e-05/0.1066, allocations: 4 kB / 364 MB, free: 6.887 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001549/0.1068, allocations: 47.92 kB / 364.1 MB, free: 6.84 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.072e-05/0.1068, allocations: 7.984 kB / 364.1 MB, free: 6.832 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001085/0.1069, allocations: 31.62 kB / 364.1 MB, free: 6.801 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.795e-05/0.1069, allocations: 16 kB / 364.2 MB, free: 6.785 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.0001031/0.107, allocations: 134.8 kB / 364.3 MB, free: 6.645 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.965e-05/0.1071, allocations: 15.81 kB / 364.3 MB, free: 6.629 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.686e-05/0.1072, allocations: 20.92 kB / 364.3 MB, free: 6.605 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.327e-06/0.1072, allocations: 8 kB / 364.3 MB, free: 6.598 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.852e-06/0.1072, allocations: 0 / 364.3 MB, free: 6.598 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.209e-06/0.1072, allocations: 7.875 kB / 364.3 MB, free: 6.59 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003947/0.1076, allocations: 233.6 kB / 364.6 MB, free: 6.312 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.513e-06/0.1076, allocations: 0 / 364.6 MB, free: 6.312 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001432/0.1077, allocations: 27.98 kB / 364.6 MB, free: 6.285 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.617e-06/0.1078, allocations: 4 kB / 364.6 MB, free: 6.281 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.295e-05/0.1078, allocations: 4 kB / 364.6 MB, free: 6.277 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.327e-06/0.1078, allocations: 4 kB / 364.6 MB, free: 6.273 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.304e-06/0.1078, allocations: 4 kB / 364.6 MB, free: 6.27 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003906/0.1082, allocations: 393.6 kB / 365 MB, free: 5.867 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.271e-05/0.1083, allocations: 92.86 kB / 365.1 MB, free: 5.758 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.707e-05/0.1083, allocations: 8.062 kB / 365.1 MB, free: 5.75 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001404/0.1085, allocations: 0 / 365.1 MB, free: 5.75 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.202e-05/0.1085, allocations: 11.92 kB / 365.1 MB, free: 5.738 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.745e-06/0.1085, allocations: 8 kB / 365.1 MB, free: 5.73 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0001116/0.1086, allocations: 153.5 kB / 365.3 MB, free: 5.582 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1086, allocations: 0 / 365.3 MB, free: 5.582 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0003557/0.109, allocations: 36 kB / 365.3 MB, free: 5.547 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.000544/0.1095, allocations: 0.9216 MB / 366.2 MB, free: 4.598 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0001935/0.1097, allocations: 112.2 kB / 366.3 MB, free: 4.488 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.003e-06/0.1097, allocations: 0 / 366.3 MB, free: 4.488 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 4.486e-05/0.1098, allocations: 32.53 kB / 366.4 MB, free: 4.457 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005363/0.1103, allocations: 36.72 kB / 366.4 MB, free: 4.422 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002578/0.113, allocations: 2.665 MB / 369.1 MB, free: 1.586 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003041/0.1133, allocations: 0.7281 MB / 369.8 MB, free: 0.832 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 7.592e-05/0.1134, allocations: 21.94 kB / 369.8 MB, free: 0.8086 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.471e-05/0.1134, allocations: 51.42 kB / 369.9 MB, free: 0.7617 MB / 302.1 MB Notification: Performance of SimCode: time 3.6e-07/0.1135, allocations: 0 / 369.9 MB, free: 0.7617 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1921/0.3056, allocations: 3.308 MB / 373.2 MB, free: 20 MB / 302.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001487/0.3057, allocations: 211.2 kB / 373.4 MB, free: 19.75 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.813/2.118, allocations: 3.828 kB / 373.4 MB, free: 19.75 MB / 302.1 MB (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_trunk_Modelica.Mechanics.Translational.Examples.SignConvention_res.mat --tempDir=temp_Modelica_trunk_Modelica_Mechanics_Translational_Examples_SignConvention_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Modelica_trunk_Modelica_Mechanics_Translational_Examples_SignConvention.fmu > Modelica_trunk_Modelica.Mechanics.Translational.Examples.SignConvention.pipe 2>&1) diffSimulationResults("Modelica_trunk_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_trunk_Modelica.Mechanics.Translational.Examples.SignConvention.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches