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.0009969/0.0009971, allocations: 104.2 kB / 17.2 MB, free: 6.27 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.000998/0.000998, allocations: 213.7 kB / 18.14 MB, free: 5.344 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.244/1.244, allocations: 227.4 MB / 246.3 MB, free: 10.75 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001356/0.001357, allocations: 64.14 kB / 306.4 MB, free: 0.9609 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08235/0.08372, allocations: 50.54 MB / 356.9 MB, free: 14.42 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.SignConvention): time 0.003062/0.0868, allocations: 2.169 MB / 359.1 MB, free: 12.23 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003709/0.0872, allocations: 155.4 kB / 359.2 MB, free: 12.08 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001201/0.08733, allocations: 4 kB / 359.2 MB, free: 12.08 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001317/0.08748, allocations: 23.78 kB / 359.2 MB, free: 12.05 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 9.719e-05/0.08759, allocations: 35.7 kB / 359.3 MB, free: 12.02 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001582/0.08775, allocations: 39.95 kB / 359.3 MB, free: 11.98 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001944/0.08796, allocations: 171.2 kB / 359.5 MB, free: 11.81 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001335/0.0881, allocations: 50.17 kB / 359.5 MB, free: 11.76 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.028e-05/0.08818, allocations: 67.66 kB / 359.6 MB, free: 11.69 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.995e-05/0.08829, allocations: 71.69 kB / 359.7 MB, free: 11.62 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 2.221e-05/0.08832, allocations: 8 kB / 359.7 MB, free: 11.61 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.664e-05/0.08835, allocations: 8 kB / 359.7 MB, free: 11.61 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 3.326e-05/0.08839, allocations: 31.86 kB / 359.7 MB, free: 11.57 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 8.247e-05/0.08847, allocations: 75.59 kB / 359.8 MB, free: 11.5 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001588/0.08864, allocations: 171.6 kB / 359.9 MB, free: 11.33 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.106e-06/0.08865, allocations: 0 / 359.9 MB, free: 11.33 MB / 302.1 MB Notification: Performance of FrontEnd: time 5.81e-07/0.08866, allocations: 4 kB / 360 MB, free: 11.33 MB / 302.1 MB Notification: Performance of Transformations before backend: time 5.28e-06/0.08867, allocations: 0 / 360 MB, free: 11.33 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.0005765/0.08925, allocations: 462.9 kB / 360.4 MB, free: 10.83 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.847e-05/0.0893, allocations: 11.97 kB / 360.4 MB, free: 10.82 MB / 302.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.112e-05/0.08936, allocations: 50.73 kB / 360.5 MB, free: 10.76 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.356e-05/0.08941, allocations: 24.69 kB / 360.5 MB, free: 10.73 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001942/0.08961, allocations: 220 kB / 360.7 MB, free: 10.48 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.308e-05/0.08963, allocations: 12.38 kB / 360.7 MB, free: 10.47 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.463e-05/0.08967, allocations: 24.28 kB / 360.7 MB, free: 10.45 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002745/0.08995, allocations: 189.9 kB / 360.9 MB, free: 10.24 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.339e-05/0.08997, allocations: 0 / 360.9 MB, free: 10.24 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.777e-05/0.08999, allocations: 8 kB / 360.9 MB, free: 10.23 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.963e-06/0.09, allocations: 7.938 kB / 360.9 MB, free: 10.22 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001724/0.09018, allocations: 111.2 kB / 361.1 MB, free: 10.12 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001187/0.09137, allocations: 0.9429 MB / 362 MB, free: 9.09 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001235/0.09151, allocations: 99.83 kB / 362.1 MB, free: 8.965 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.899e-05/0.09158, allocations: 34.58 kB / 362.1 MB, free: 8.922 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.303e-05/0.0916, allocations: 11.94 kB / 362.1 MB, free: 8.91 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.221e-05/0.09162, allocations: 38.64 kB / 362.2 MB, free: 8.863 MB / 302.1 MB Notification: Performance of pre-optimization done (n=12): time 1.383e-06/0.09163, allocations: 0 / 362.2 MB, free: 8.863 MB / 302.1 MB Notification: Performance of matching and sorting (n=12): time 0.0002694/0.0919, allocations: 125.9 kB / 362.3 MB, free: 8.734 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.236e-05/0.09197, allocations: 102.8 kB / 362.4 MB, free: 8.609 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000177/0.09215, allocations: 207.7 kB / 362.6 MB, free: 8.395 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 1.657e-05/0.09218, allocations: 37.64 kB / 362.6 MB, free: 8.352 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.409e-05/0.09227, allocations: 147.8 kB / 362.8 MB, free: 8.203 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.337e-05/0.09231, allocations: 47.34 kB / 362.8 MB, free: 8.156 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.71e-05/0.09237, allocations: 41.95 kB / 362.9 MB, free: 8.105 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001539/0.09253, allocations: 330.8 kB / 363.2 MB, free: 7.773 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.839e-05/0.09261, allocations: 40.45 kB / 363.2 MB, free: 7.734 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001234/0.09274, allocations: 134.7 kB / 363.4 MB, free: 7.555 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002136/0.09296, allocations: 209.6 kB / 363.6 MB, free: 7.301 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.165e-06/0.09297, allocations: 0 / 363.6 MB, free: 7.301 MB / 302.1 MB Notification: Performance of matching and sorting (n=28) (initialization): time 0.000351/0.09333, allocations: 217.4 kB / 363.8 MB, free: 7.082 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.778e-05/0.09335, allocations: 12.03 kB / 363.8 MB, free: 7.07 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.406e-06/0.09337, allocations: 4 kB / 363.8 MB, free: 7.066 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.483e-05/0.09339, allocations: 4 kB / 363.8 MB, free: 7.062 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001431/0.09353, allocations: 51.91 kB / 363.9 MB, free: 7.012 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.197e-05/0.09355, allocations: 7.938 kB / 363.9 MB, free: 7.004 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001066/0.09366, allocations: 31.62 kB / 363.9 MB, free: 6.973 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.317e-05/0.09368, allocations: 12 kB / 363.9 MB, free: 6.961 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.0001243/0.09381, allocations: 138.8 kB / 364 MB, free: 6.816 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.853e-05/0.09389, allocations: 19.81 kB / 364.1 MB, free: 6.797 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.233e-05/0.09393, allocations: 24.92 kB / 364.1 MB, free: 6.77 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.908e-06/0.09394, allocations: 4 kB / 364.1 MB, free: 6.766 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.291e-06/0.09395, allocations: 0 / 364.1 MB, free: 6.766 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.318e-06/0.09396, allocations: 11.81 kB / 364.1 MB, free: 6.754 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003884/0.09436, allocations: 237.6 kB / 364.3 MB, free: 6.473 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.944e-06/0.09437, allocations: 0 / 364.3 MB, free: 6.473 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001424/0.09452, allocations: 27.98 kB / 364.4 MB, free: 6.445 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.475e-06/0.09452, allocations: 0 / 364.4 MB, free: 6.445 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.522e-05/0.09454, allocations: 8 kB / 364.4 MB, free: 6.438 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.934e-06/0.09455, allocations: 0 / 364.4 MB, free: 6.438 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.695e-06/0.09456, allocations: 4 kB / 364.4 MB, free: 6.434 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003852/0.09495, allocations: 389.7 kB / 364.7 MB, free: 6.035 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001384/0.0951, allocations: 92.86 kB / 364.8 MB, free: 5.926 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.682e-05/0.09513, allocations: 4.062 kB / 364.8 MB, free: 5.922 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001402/0.09528, allocations: 8.125 kB / 364.8 MB, free: 5.914 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.262e-05/0.0953, allocations: 15.92 kB / 364.9 MB, free: 5.898 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.013e-06/0.09532, allocations: 4 kB / 364.9 MB, free: 5.895 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0001195/0.09544, allocations: 153.5 kB / 365 MB, free: 5.746 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.09544, allocations: 3.938 kB / 365 MB, free: 5.742 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.000352/0.0958, allocations: 36 kB / 365.1 MB, free: 5.707 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.0005743/0.09638, allocations: 0.9139 MB / 366 MB, free: 4.766 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0001986/0.09659, allocations: 103.8 kB / 366.1 MB, free: 4.664 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 1.843e-06/0.0966, allocations: 0 / 366.1 MB, free: 4.664 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 5.076e-05/0.09666, allocations: 40.73 kB / 366.1 MB, free: 4.625 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004939/0.09716, allocations: 31.92 kB / 366.1 MB, free: 4.594 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002668/0.09983, allocations: 2.664 MB / 368.8 MB, free: 1.762 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000314/0.1002, allocations: 0.7206 MB / 369.5 MB, free: 1.016 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 7.384e-05/0.1002, allocations: 21.95 kB / 369.5 MB, free: 0.9922 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.804e-05/0.1003, allocations: 51.62 kB / 369.6 MB, free: 0.9414 MB / 302.1 MB Notification: Performance of SimCode: time 2.01e-07/0.1003, allocations: 0 / 369.6 MB, free: 0.9414 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3446/0.445, allocations: 3.226 MB / 372.8 MB, free: 19.27 MB / 302.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001599/0.4452, allocations: 210.6 kB / 373 MB, free: 19.01 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.805/2.25, allocations: 2.406 kB / 373 MB, free: 19.01 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