Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_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 3.2.3+maint.om/package.mo", uses=false) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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_3_2_3_Modelica_Mechanics_Translational_Examples_SignConvention",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Mechanics.Translational.Examples.SignConvention,fileNamePrefix="Modelica_3_2_3_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.0009839/0.0009836, allocations: 104.1 kB / 17.58 MB, free: 5.422 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.001065/0.001065, allocations: 191.9 kB / 18.51 MB, free: 4.508 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.258/1.258, allocations: 205.1 MB / 224.4 MB, free: 12.32 MB / 190.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001352/0.001353, allocations: 47.92 kB / 280.7 MB, free: 3.094 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07573/0.07709, allocations: 46.63 MB / 327.4 MB, free: 4.391 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.SignConvention): time 0.00316/0.08029, allocations: 2.088 MB / 329.5 MB, free: 2.277 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003887/0.0807, allocations: 159.4 kB / 329.6 MB, free: 2.121 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001134/0.08083, allocations: 0 / 329.6 MB, free: 2.121 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001358/0.08099, allocations: 31.66 kB / 329.7 MB, free: 2.09 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001021/0.0811, allocations: 55.56 kB / 329.7 MB, free: 2.035 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000148/0.08126, allocations: 39.94 kB / 329.7 MB, free: 1.996 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002025/0.08147, allocations: 187.1 kB / 329.9 MB, free: 1.812 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001425/0.08162, allocations: 54.56 kB / 330 MB, free: 1.758 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.99e-05/0.08169, allocations: 63.8 kB / 330 MB, free: 1.695 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001014/0.0818, allocations: 71.62 kB / 330.1 MB, free: 1.625 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 2.63e-05/0.08183, allocations: 16 kB / 330.1 MB, free: 1.609 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.835e-05/0.08187, allocations: 12 kB / 330.1 MB, free: 1.598 MB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 2.896e-05/0.0819, allocations: 27.92 kB / 330.2 MB, free: 1.57 MB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 7.935e-05/0.08199, allocations: 91.53 kB / 330.3 MB, free: 1.48 MB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001973/0.08219, allocations: 175.3 kB / 330.4 MB, free: 1.309 MB / 270.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.264e-06/0.0822, allocations: 8 kB / 330.4 MB, free: 1.301 MB / 270.1 MB Notification: Performance of FrontEnd: time 1.483e-06/0.08221, allocations: 0 / 330.4 MB, free: 1.301 MB / 270.1 MB Notification: Performance of Transformations before backend: time 6.111e-06/0.08222, allocations: 0 / 330.4 MB, free: 1.301 MB / 270.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.000551/0.08278, allocations: 466.6 kB / 330.9 MB, free: 0.7969 MB / 270.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.531e-05/0.08282, allocations: 8.031 kB / 330.9 MB, free: 0.7891 MB / 270.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.332e-05/0.08287, allocations: 50.73 kB / 330.9 MB, free: 0.7305 MB / 270.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.022e-05/0.08291, allocations: 20.66 kB / 331 MB, free: 0.7109 MB / 270.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001897/0.08311, allocations: 224 kB / 331.2 MB, free: 464 kB / 270.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.511e-05/0.08313, allocations: 12.38 kB / 331.2 MB, free: 452 kB / 270.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.376e-05/0.08317, allocations: 16.38 kB / 331.2 MB, free: 436 kB / 270.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002667/0.08344, allocations: 185.9 kB / 331.4 MB, free: 228 kB / 270.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.528e-05/0.08347, allocations: 4 kB / 331.4 MB, free: 224 kB / 270.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.797e-05/0.08349, allocations: 8 kB / 331.4 MB, free: 216 kB / 270.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.472e-06/0.0835, allocations: 8 kB / 331.4 MB, free: 208 kB / 270.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001696/0.08368, allocations: 95.88 kB / 331.5 MB, free: 112 kB / 270.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001181/0.08487, allocations: 0.9701 MB / 332.5 MB, free: 15.05 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001278/0.08501, allocations: 99.83 kB / 332.6 MB, free: 14.93 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.259e-05/0.08507, allocations: 42.58 kB / 332.6 MB, free: 14.88 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.127e-06/0.08508, allocations: 4 kB / 332.6 MB, free: 14.88 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.272e-05/0.08511, allocations: 42.64 kB / 332.7 MB, free: 14.82 MB / 286.1 MB Notification: Performance of pre-optimization done (n=12): time 1.403e-06/0.08512, allocations: 0 / 332.7 MB, free: 14.82 MB / 286.1 MB Notification: Performance of matching and sorting (n=12): time 0.0002792/0.0854, allocations: 125.3 kB / 332.8 MB, free: 14.7 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.95e-05/0.08546, allocations: 106.8 kB / 332.9 MB, free: 14.57 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001751/0.08564, allocations: 207.7 kB / 333.1 MB, free: 14.35 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 1.244e-05/0.08566, allocations: 29.7 kB / 333.1 MB, free: 14.31 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.657e-05/0.08574, allocations: 143.8 kB / 333.3 MB, free: 14.17 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.384e-05/0.08578, allocations: 47.36 kB / 333.3 MB, free: 14.12 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.771e-05/0.08584, allocations: 49.84 kB / 333.4 MB, free: 14.07 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 9.539e-05/0.08595, allocations: 330.8 kB / 333.7 MB, free: 13.73 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.41e-05/0.08601, allocations: 36.45 kB / 333.7 MB, free: 13.7 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000117/0.08614, allocations: 143.9 kB / 333.9 MB, free: 13.51 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002085/0.08635, allocations: 202 kB / 334.1 MB, free: 13.27 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.538e-06/0.08636, allocations: 7.938 kB / 334.1 MB, free: 13.26 MB / 286.1 MB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0002871/0.08666, allocations: 213.4 kB / 334.3 MB, free: 13.04 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.353e-05/0.08668, allocations: 8 kB / 334.3 MB, free: 13.04 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.963e-06/0.08669, allocations: 4 kB / 334.3 MB, free: 13.03 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.476e-05/0.08671, allocations: 4 kB / 334.3 MB, free: 13.03 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001519/0.08686, allocations: 55.91 kB / 334.3 MB, free: 12.97 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.056e-05/0.08688, allocations: 7.938 kB / 334.4 MB, free: 12.96 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001054/0.08699, allocations: 27.69 kB / 334.4 MB, free: 12.94 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.382e-05/0.08701, allocations: 12 kB / 334.4 MB, free: 12.93 MB / 286.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.272e-05/0.08711, allocations: 137.8 kB / 334.5 MB, free: 12.78 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.739e-05/0.08718, allocations: 15.81 kB / 334.5 MB, free: 12.77 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.105e-05/0.08723, allocations: 20.92 kB / 334.6 MB, free: 12.74 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.947e-06/0.08724, allocations: 4 kB / 334.6 MB, free: 12.74 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.158e-06/0.08725, allocations: 0 / 334.6 MB, free: 12.74 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5e-06/0.08726, allocations: 3.938 kB / 334.6 MB, free: 12.73 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003777/0.08764, allocations: 245.5 kB / 334.8 MB, free: 12.45 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.753e-06/0.08765, allocations: 0 / 334.8 MB, free: 12.45 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001447/0.0878, allocations: 31.92 kB / 334.8 MB, free: 12.41 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.868e-06/0.08781, allocations: 4 kB / 334.8 MB, free: 12.41 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.067e-05/0.08783, allocations: 0 / 334.8 MB, free: 12.41 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.823e-06/0.08784, allocations: 4 kB / 334.8 MB, free: 12.41 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.92e-07/0.08784, allocations: 4 kB / 334.8 MB, free: 12.4 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002632/0.08811, allocations: 381.8 kB / 335.2 MB, free: 12.01 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.559e-05/0.08819, allocations: 96.92 kB / 335.3 MB, free: 11.9 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.797e-05/0.08822, allocations: 4 kB / 335.3 MB, free: 11.89 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001434/0.08837, allocations: 4 kB / 335.3 MB, free: 11.89 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.389e-05/0.0884, allocations: 19.86 kB / 335.3 MB, free: 11.87 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.623e-06/0.08841, allocations: 4.125 kB / 335.3 MB, free: 11.87 MB / 286.1 MB Notification: Performance of sorting global known variables: time 0.0001085/0.08853, allocations: 145.5 kB / 335.5 MB, free: 11.73 MB / 286.1 MB Notification: Performance of sort global known variables: time 9e-08/0.08853, allocations: 0 / 335.5 MB, free: 11.73 MB / 286.1 MB Notification: Performance of remove unused functions: time 0.0003617/0.0889, allocations: 40 kB / 335.5 MB, free: 11.69 MB / 286.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.0004809/0.08938, allocations: 0.9227 MB / 336.5 MB, free: 10.74 MB / 286.1 MB Notification: Performance of simCode: created initialization part: time 0.0001941/0.08959, allocations: 112.2 kB / 336.6 MB, free: 10.63 MB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 5.36e-06/0.0896, allocations: 0.8125 kB / 336.6 MB, free: 10.63 MB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 4.745e-05/0.08965, allocations: 36.11 kB / 336.6 MB, free: 10.59 MB / 286.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005202/0.09018, allocations: 39.38 kB / 336.6 MB, free: 10.56 MB / 286.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002424/0.09261, allocations: 2.619 MB / 339.3 MB, free: 7.766 MB / 286.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000273/0.0929, allocations: 0.7242 MB / 340 MB, free: 7.012 MB / 286.1 MB Notification: Performance of simCode: alias equations: time 7.831e-05/0.09299, allocations: 21.94 kB / 340 MB, free: 6.988 MB / 286.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.433e-05/0.09307, allocations: 55.41 kB / 340.1 MB, free: 6.938 MB / 286.1 MB Notification: Performance of SimCode: time 3.9e-07/0.09307, allocations: 0 / 340.1 MB, free: 6.938 MB / 286.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02022/0.1133, allocations: 3.384 MB / 343.4 MB, free: 3.492 MB / 286.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.26/7.373, allocations: 3.75 kB / 343.4 MB, free: 3.488 MB / 286.1 MB (rm -f Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.SignConvention.pipe ; mkfifo Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.SignConvention.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.SignConvention.pipe >> ../files/Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.SignConvention.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.SignConvention_res.mat --tempDir=temp_Modelica_3_2_3_Modelica_Mechanics_Translational_Examples_SignConvention_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Modelica_3_2_3_Modelica_Mechanics_Translational_Examples_SignConvention.fmu > Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.SignConvention.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.SignConvention_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Mechanics/Translational/Examples/SignConvention/SignConvention.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.SignConvention.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches