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.0009762/0.0009763, allocations: 90.19 kB / 16.65 MB, free: 6.59 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.001169/0.001169, allocations: 182.9 kB / 17.56 MB, free: 6.203 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.374/1.374, allocations: 223.3 MB / 241.6 MB, free: 14.46 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002738/0.0002739, allocations: 8 kB / 301.5 MB, free: 5.785 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09501/0.09531, allocations: 50.42 MB / 352 MB, free: 3.352 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.SignConvention): time 0.002264/0.09762, allocations: 1.79 MB / 353.7 MB, free: 1.547 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.0004192/0.09806, allocations: 151.4 kB / 353.9 MB, free: 1.398 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001521/0.09824, allocations: 8 kB / 353.9 MB, free: 1.391 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001263/0.09837, allocations: 27.78 kB / 353.9 MB, free: 1.363 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001059/0.09849, allocations: 31.7 kB / 354 MB, free: 1.332 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001542/0.09865, allocations: 39.95 kB / 354 MB, free: 1.293 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002189/0.09888, allocations: 179.1 kB / 354.2 MB, free: 1.117 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000151/0.09904, allocations: 46.17 kB / 354.2 MB, free: 1.062 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.703e-05/0.09914, allocations: 55.8 kB / 354.3 MB, free: 1.008 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001292/0.09928, allocations: 67.58 kB / 354.3 MB, free: 0.9414 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 2.43e-05/0.09931, allocations: 8 kB / 354.3 MB, free: 0.9336 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.554e-05/0.09934, allocations: 8 kB / 354.4 MB, free: 0.9258 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 3.253e-05/0.09938, allocations: 27.84 kB / 354.4 MB, free: 0.8984 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 9.083e-05/0.09948, allocations: 105.3 kB / 354.5 MB, free: 0.7891 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001775/0.09966, allocations: 167.6 kB / 354.6 MB, free: 0.625 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.358e-06/0.09967, allocations: 0 / 354.6 MB, free: 0.625 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.593e-06/0.09968, allocations: 0 / 354.6 MB, free: 0.625 MB / 286.1 MB Notification: Performance of Transformations before backend: time 6.261e-06/0.09969, allocations: 0 / 354.6 MB, free: 0.625 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.000517/0.1002, allocations: 434.9 kB / 355.1 MB, free: 156 kB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.412e-05/0.1003, allocations: 8.031 kB / 355.1 MB, free: 148 kB / 286.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.918e-05/0.1003, allocations: 54.73 kB / 355.1 MB, free: 84 kB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.93e-05/0.1004, allocations: 16.75 kB / 355.1 MB, free: 68 kB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002114/0.1006, allocations: 224 kB / 355.4 MB, free: 15.81 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.573e-05/0.1006, allocations: 12.38 kB / 355.4 MB, free: 15.8 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.371e-05/0.1006, allocations: 16.38 kB / 355.4 MB, free: 15.78 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002721/0.1009, allocations: 185.9 kB / 355.6 MB, free: 15.58 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.342e-05/0.1009, allocations: 8 kB / 355.6 MB, free: 15.57 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.625e-05/0.101, allocations: 8 kB / 355.6 MB, free: 15.56 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.188e-06/0.101, allocations: 4 kB / 355.6 MB, free: 15.56 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001699/0.1012, allocations: 99.88 kB / 355.7 MB, free: 15.46 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001188/0.1024, allocations: 0.9584 MB / 356.7 MB, free: 14.42 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001284/0.1025, allocations: 103.7 kB / 356.8 MB, free: 14.29 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.511e-05/0.1026, allocations: 46.69 kB / 356.8 MB, free: 14.23 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.137e-06/0.1026, allocations: 0 / 356.8 MB, free: 14.23 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.592e-05/0.1026, allocations: 42.5 kB / 356.8 MB, free: 14.18 MB / 302.1 MB Notification: Performance of pre-optimization done (n=12): time 1.132e-06/0.1026, allocations: 0 / 356.8 MB, free: 14.18 MB / 302.1 MB Notification: Performance of matching and sorting (n=12): time 0.0002809/0.1029, allocations: 121.4 kB / 357 MB, free: 14.06 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.226e-05/0.103, allocations: 106.8 kB / 357.1 MB, free: 13.93 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001919/0.1032, allocations: 215.6 kB / 357.3 MB, free: 13.71 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 1.588e-05/0.1032, allocations: 25.7 kB / 357.3 MB, free: 13.68 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.959e-05/0.1033, allocations: 147.8 kB / 357.4 MB, free: 13.53 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.966e-05/0.1033, allocations: 47.36 kB / 357.5 MB, free: 13.48 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.454e-05/0.1034, allocations: 29.64 kB / 357.5 MB, free: 13.45 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 9.729e-05/0.1035, allocations: 322.8 kB / 357.8 MB, free: 13.12 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.947e-05/0.1036, allocations: 40.45 kB / 357.9 MB, free: 13.08 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001199/0.1037, allocations: 147.5 kB / 358 MB, free: 12.89 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002128/0.1039, allocations: 202.1 kB / 358.2 MB, free: 12.64 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.926e-06/0.1039, allocations: 0 / 358.2 MB, free: 12.64 MB / 302.1 MB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0003039/0.1042, allocations: 225.1 kB / 358.4 MB, free: 12.41 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.613e-05/0.1042, allocations: 8 kB / 358.4 MB, free: 12.41 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.524e-06/0.1043, allocations: 4 kB / 358.4 MB, free: 12.4 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.555e-05/0.1043, allocations: 4 kB / 358.5 MB, free: 12.4 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001505/0.1044, allocations: 51.92 kB / 358.5 MB, free: 12.35 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.846e-06/0.1044, allocations: 4 kB / 358.5 MB, free: 12.34 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001203/0.1046, allocations: 31.62 kB / 358.5 MB, free: 12.31 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.407e-05/0.1046, allocations: 8 kB / 358.5 MB, free: 12.3 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 9.338e-05/0.1047, allocations: 146 kB / 358.7 MB, free: 12.15 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.738e-05/0.1048, allocations: 15.81 kB / 358.7 MB, free: 12.14 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.521e-05/0.1048, allocations: 16.94 kB / 358.7 MB, free: 12.12 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.616e-06/0.1048, allocations: 4 kB / 358.7 MB, free: 12.11 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.321e-06/0.1048, allocations: 0 / 358.7 MB, free: 12.11 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.277e-06/0.1048, allocations: 11.86 kB / 358.7 MB, free: 12.1 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004064/0.1053, allocations: 237.5 kB / 359 MB, free: 11.82 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.404e-06/0.1053, allocations: 0 / 359 MB, free: 11.82 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000146/0.1054, allocations: 31.98 kB / 359 MB, free: 11.79 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.936e-06/0.1054, allocations: 4 kB / 359 MB, free: 11.79 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.699e-05/0.1055, allocations: 11.98 kB / 359 MB, free: 11.77 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.366e-06/0.1055, allocations: 3.984 kB / 359 MB, free: 11.77 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.945e-06/0.1055, allocations: 4 kB / 359 MB, free: 11.77 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002857/0.1058, allocations: 384.1 kB / 359.4 MB, free: 11.38 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.353e-05/0.1058, allocations: 100.9 kB / 359.5 MB, free: 11.26 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.551e-05/0.1059, allocations: 4 kB / 359.5 MB, free: 11.25 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001458/0.106, allocations: 8 kB / 359.5 MB, free: 11.25 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.214e-05/0.106, allocations: 11.92 kB / 359.5 MB, free: 11.23 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.863e-06/0.1061, allocations: 7.938 kB / 359.5 MB, free: 11.23 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0001182/0.1062, allocations: 149.5 kB / 359.7 MB, free: 11.08 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1062, allocations: 0 / 359.7 MB, free: 11.08 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0003913/0.1066, allocations: 43.91 kB / 359.7 MB, free: 11.04 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.0005021/0.1071, allocations: 0.91 MB / 360.6 MB, free: 10.1 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0002122/0.1073, allocations: 108.5 kB / 360.7 MB, free: 9.992 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.464e-06/0.1073, allocations: 0 / 360.7 MB, free: 9.992 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 5.167e-05/0.1074, allocations: 40.56 kB / 360.8 MB, free: 9.953 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005392/0.1079, allocations: 32.31 kB / 360.8 MB, free: 9.922 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002612/0.1105, allocations: 2.751 MB / 363.6 MB, free: 7.008 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002431/0.1108, allocations: 0.7206 MB / 364.3 MB, free: 6.262 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 7.893e-05/0.1109, allocations: 25.92 kB / 364.3 MB, free: 6.234 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.599e-05/0.111, allocations: 47.42 kB / 364.3 MB, free: 6.188 MB / 302.1 MB Notification: Performance of SimCode: time 3.91e-07/0.111, allocations: 3.938 kB / 364.3 MB, free: 6.184 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01286/0.1238, allocations: 3.14 MB / 367.5 MB, free: 3.184 MB / 302.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000182/0.1241, allocations: 213.5 kB / 367.7 MB, free: 2.93 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.884/2.008, allocations: 8 kB / 367.7 MB, free: 2.922 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