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.001085/0.001085, allocations: 122.8 kB / 17.79 MB, free: 5.258 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001151/0.001151, allocations: 197.2 kB / 18.73 MB, free: 4.32 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.289/1.289, allocations: 227.4 MB / 246.9 MB, free: 10.5 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001183/0.001184, allocations: 67.88 kB / 358.2 MB, free: 13.44 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2449/0.2461, allocations: 50.54 MB / 408.7 MB, free: 1.543 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.SignConvention): time 0.003865/0.25, allocations: 2.106 MB / 410.9 MB, free: 15.43 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0005035/0.2505, allocations: 163.4 kB / 411 MB, free: 15.27 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001595/0.2507, allocations: 7.938 kB / 411 MB, free: 15.27 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001623/0.2509, allocations: 31.72 kB / 411.1 MB, free: 15.23 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001264/0.251, allocations: 39.58 kB / 411.1 MB, free: 15.2 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001783/0.2512, allocations: 39.94 kB / 411.1 MB, free: 15.16 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.000254/0.2515, allocations: 183.2 kB / 411.3 MB, free: 14.98 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001664/0.2517, allocations: 58.28 kB / 411.4 MB, free: 14.91 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.742e-05/0.2518, allocations: 75.7 kB / 411.4 MB, free: 14.84 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001199/0.2519, allocations: 71.64 kB / 411.5 MB, free: 14.77 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 2.93e-05/0.2519, allocations: 12 kB / 411.5 MB, free: 14.76 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.803e-05/0.252, allocations: 16 kB / 411.5 MB, free: 14.74 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 3.993e-05/0.252, allocations: 39.84 kB / 411.6 MB, free: 14.7 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 8.176e-05/0.2521, allocations: 79.61 kB / 411.7 MB, free: 14.62 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002466/0.2523, allocations: 185 kB / 411.8 MB, free: 14.45 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.228e-06/0.2524, allocations: 0 / 411.8 MB, free: 14.45 MB / 334.1 MB Notification: Performance of FrontEnd: time 2.234e-06/0.2524, allocations: 0 / 411.8 MB, free: 14.45 MB / 334.1 MB Notification: Performance of Transformations before backend: time 6.562e-06/0.2524, allocations: 0 / 411.8 MB, free: 14.45 MB / 334.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.0006401/0.253, allocations: 455 kB / 412.3 MB, free: 13.95 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.071e-05/0.2531, allocations: 12.03 kB / 412.3 MB, free: 13.94 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.573e-05/0.2531, allocations: 54.67 kB / 412.3 MB, free: 13.88 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.934e-05/0.2532, allocations: 24.66 kB / 412.4 MB, free: 13.85 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002766/0.2535, allocations: 216 kB / 412.6 MB, free: 13.6 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.315e-05/0.2535, allocations: 12.16 kB / 412.6 MB, free: 13.59 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.183e-05/0.2535, allocations: 24.36 kB / 412.6 MB, free: 13.57 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002737/0.2538, allocations: 182.2 kB / 412.8 MB, free: 13.37 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.857e-05/0.2538, allocations: 11.83 kB / 412.8 MB, free: 13.36 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.813e-05/0.2539, allocations: 11.94 kB / 412.8 MB, free: 13.34 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.576e-06/0.2539, allocations: 7.984 kB / 412.8 MB, free: 13.34 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001641/0.2541, allocations: 99.89 kB / 412.9 MB, free: 13.24 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00119/0.2552, allocations: 0.9468 MB / 413.9 MB, free: 12.21 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001175/0.2554, allocations: 99.69 kB / 414 MB, free: 12.08 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.941e-05/0.2554, allocations: 50.75 kB / 414 MB, free: 12.02 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.228e-05/0.2555, allocations: 7.938 kB / 414 MB, free: 12.02 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.916e-05/0.2555, allocations: 34.56 kB / 414.1 MB, free: 11.97 MB / 334.1 MB Notification: Performance of pre-optimization done (n=12): time 1.242e-06/0.2555, allocations: 0 / 414.1 MB, free: 11.97 MB / 334.1 MB Notification: Performance of matching and sorting (n=12): time 0.000279/0.2558, allocations: 129.4 kB / 414.2 MB, free: 11.84 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.917e-05/0.2558, allocations: 106.8 kB / 414.3 MB, free: 11.71 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001704/0.256, allocations: 211.6 kB / 414.5 MB, free: 11.49 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.433e-05/0.256, allocations: 29.7 kB / 414.5 MB, free: 11.46 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.062e-05/0.2561, allocations: 143.9 kB / 414.7 MB, free: 11.31 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.408e-05/0.2562, allocations: 47.3 kB / 414.7 MB, free: 11.27 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.089e-05/0.2562, allocations: 49.84 kB / 414.8 MB, free: 11.21 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 9.916e-05/0.2563, allocations: 330.8 kB / 415.1 MB, free: 10.88 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.727e-05/0.2564, allocations: 36.45 kB / 415.1 MB, free: 10.84 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001139/0.2565, allocations: 146.6 kB / 415.3 MB, free: 10.65 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002036/0.2567, allocations: 202 kB / 415.5 MB, free: 10.4 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.805e-06/0.2567, allocations: 0 / 415.5 MB, free: 10.4 MB / 334.1 MB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0003058/0.2571, allocations: 217.2 kB / 415.7 MB, free: 10.18 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.55e-05/0.2571, allocations: 8 kB / 415.7 MB, free: 10.18 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.362e-06/0.2571, allocations: 0 / 415.7 MB, free: 10.18 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.709e-05/0.2571, allocations: 8 kB / 415.7 MB, free: 10.17 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001434/0.2573, allocations: 43.92 kB / 415.7 MB, free: 10.12 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.375e-05/0.2573, allocations: 15.92 kB / 415.7 MB, free: 10.11 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001122/0.2574, allocations: 31.62 kB / 415.8 MB, free: 10.08 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.612e-05/0.2574, allocations: 12.34 kB / 415.8 MB, free: 10.07 MB / 334.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.669e-05/0.2575, allocations: 133.8 kB / 415.9 MB, free: 9.926 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.848e-05/0.2576, allocations: 19.81 kB / 415.9 MB, free: 9.906 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.562e-05/0.2577, allocations: 20.92 kB / 416 MB, free: 9.879 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.225e-06/0.2577, allocations: 0 / 416 MB, free: 9.879 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.954e-06/0.2577, allocations: 4 kB / 416 MB, free: 9.875 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.478e-06/0.2577, allocations: 3.938 kB / 416 MB, free: 9.871 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003908/0.2581, allocations: 245.4 kB / 416.2 MB, free: 9.582 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.964e-06/0.2581, allocations: 0 / 416.2 MB, free: 9.582 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001437/0.2582, allocations: 27.98 kB / 416.2 MB, free: 9.555 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.404e-06/0.2582, allocations: 4 kB / 416.2 MB, free: 9.551 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.424e-05/0.2583, allocations: 8 kB / 416.2 MB, free: 9.543 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.824e-06/0.2583, allocations: 3.938 kB / 416.2 MB, free: 9.539 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.183e-06/0.2583, allocations: 3.938 kB / 416.2 MB, free: 9.535 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002758/0.2586, allocations: 385.8 kB / 416.6 MB, free: 9.141 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.775e-05/0.2586, allocations: 88.92 kB / 416.7 MB, free: 9.035 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.667e-05/0.2586, allocations: 8.062 kB / 416.7 MB, free: 9.027 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000141/0.2588, allocations: 4 kB / 416.7 MB, free: 9.023 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.576e-05/0.2588, allocations: 11.92 kB / 416.7 MB, free: 9.012 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.504e-06/0.2588, allocations: 4 kB / 416.7 MB, free: 9.008 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0001127/0.259, allocations: 153.5 kB / 416.9 MB, free: 8.859 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.259, allocations: 0 / 416.9 MB, free: 8.859 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0003598/0.2593, allocations: 39.91 kB / 416.9 MB, free: 8.82 MB / 334.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.0005062/0.2598, allocations: 0.914 MB / 417.8 MB, free: 7.875 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0001947/0.26, allocations: 108.8 kB / 417.9 MB, free: 7.77 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 4.578e-06/0.2601, allocations: 4.188 kB / 418 MB, free: 7.766 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 4.851e-05/0.2601, allocations: 40.11 kB / 418 MB, free: 7.727 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005049/0.2606, allocations: 44.2 kB / 418 MB, free: 7.684 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002518/0.2632, allocations: 2.594 MB / 420.6 MB, free: 4.91 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002623/0.2634, allocations: 0.7281 MB / 421.4 MB, free: 4.156 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 7.501e-05/0.2635, allocations: 21.92 kB / 421.4 MB, free: 4.137 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.27e-05/0.2636, allocations: 51.64 kB / 421.4 MB, free: 4.086 MB / 334.1 MB Notification: Performance of SimCode: time 9.12e-07/0.2636, allocations: 8 kB / 421.4 MB, free: 4.078 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02074/0.2844, allocations: 3.501 MB / 424.9 MB, free: 0.6875 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.383/7.668, allocations: 15.95 kB / 425 MB, free: 0.6719 MB / 334.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