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.001221/0.001221, allocations: 122.8 kB / 17.79 MB, free: 5.254 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001258/0.001258, allocations: 202 kB / 18.73 MB, free: 4.312 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.374/1.374, allocations: 227.4 MB / 247 MB, free: 10.43 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001785/0.001785, allocations: 67.88 kB / 358.3 MB, free: 13.36 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2373/0.2391, allocations: 50.55 MB / 408.8 MB, free: 1.461 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.SignConvention): time 0.003187/0.2423, allocations: 2.11 MB / 410.9 MB, free: 15.34 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.000353/0.2427, allocations: 167.4 kB / 411.1 MB, free: 15.18 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.021e-05/0.2428, allocations: 4 kB / 411.1 MB, free: 15.18 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001216/0.2429, allocations: 27.66 kB / 411.1 MB, free: 15.15 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 9.059e-05/0.243, allocations: 47.56 kB / 411.2 MB, free: 15.1 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001501/0.2432, allocations: 39.95 kB / 411.2 MB, free: 15.06 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002239/0.2434, allocations: 183.2 kB / 411.4 MB, free: 14.88 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001495/0.2436, allocations: 62.27 kB / 411.5 MB, free: 14.82 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.986e-05/0.2436, allocations: 63.78 kB / 411.5 MB, free: 14.75 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000121/0.2438, allocations: 71.64 kB / 411.6 MB, free: 14.68 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 2.876e-05/0.2438, allocations: 12 kB / 411.6 MB, free: 14.67 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.857e-05/0.2438, allocations: 16 kB / 411.6 MB, free: 14.66 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 3.859e-05/0.2439, allocations: 39.84 kB / 411.6 MB, free: 14.62 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 8.38e-05/0.244, allocations: 83.59 kB / 411.7 MB, free: 14.54 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002231/0.2442, allocations: 174.2 kB / 411.9 MB, free: 14.37 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.386e-06/0.2442, allocations: 4 kB / 411.9 MB, free: 14.36 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.603e-06/0.2442, allocations: 0 / 411.9 MB, free: 14.36 MB / 334.1 MB Notification: Performance of Transformations before backend: time 5.059e-06/0.2442, allocations: 0 / 411.9 MB, free: 14.36 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.0006041/0.2448, allocations: 470.6 kB / 412.4 MB, free: 13.85 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.644e-05/0.2449, allocations: 8.031 kB / 412.4 MB, free: 13.84 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.68e-05/0.2449, allocations: 54.73 kB / 412.4 MB, free: 13.78 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.827e-05/0.245, allocations: 20.8 kB / 412.4 MB, free: 13.76 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002727/0.2453, allocations: 212.1 kB / 412.7 MB, free: 13.52 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.112e-05/0.2453, allocations: 20.16 kB / 412.7 MB, free: 13.5 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.392e-05/0.2453, allocations: 20.33 kB / 412.7 MB, free: 13.48 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002932/0.2456, allocations: 190.2 kB / 412.9 MB, free: 13.27 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.372e-05/0.2457, allocations: 3.938 kB / 412.9 MB, free: 13.27 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.91e-05/0.2457, allocations: 7.984 kB / 412.9 MB, free: 13.26 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.692e-06/0.2457, allocations: 4 kB / 412.9 MB, free: 13.25 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001848/0.2459, allocations: 107.9 kB / 413 MB, free: 13.15 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001229/0.2471, allocations: 0.9586 MB / 414 MB, free: 12.11 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001361/0.2473, allocations: 99.75 kB / 414.1 MB, free: 11.98 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.542e-05/0.2473, allocations: 46.75 kB / 414.1 MB, free: 11.93 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.876e-06/0.2474, allocations: 0 / 414.1 MB, free: 11.93 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.399e-05/0.2474, allocations: 34.56 kB / 414.1 MB, free: 11.88 MB / 334.1 MB Notification: Performance of pre-optimization done (n=12): time 1.363e-06/0.2474, allocations: 0 / 414.1 MB, free: 11.88 MB / 334.1 MB Notification: Performance of matching and sorting (n=12): time 0.0002879/0.2477, allocations: 133.4 kB / 414.3 MB, free: 11.75 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.22e-05/0.2478, allocations: 110.8 kB / 414.4 MB, free: 11.61 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001937/0.248, allocations: 203.8 kB / 414.6 MB, free: 11.4 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.729e-05/0.248, allocations: 25.7 kB / 414.6 MB, free: 11.37 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.88e-05/0.2481, allocations: 148 kB / 414.7 MB, free: 11.22 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.678e-05/0.2481, allocations: 43.64 kB / 414.8 MB, free: 11.18 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.204e-05/0.2482, allocations: 49.89 kB / 414.8 MB, free: 11.12 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001323/0.2484, allocations: 326.8 kB / 415.2 MB, free: 10.79 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.496e-05/0.2484, allocations: 40.44 kB / 415.2 MB, free: 10.75 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001409/0.2486, allocations: 150.6 kB / 415.3 MB, free: 10.56 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00023/0.2488, allocations: 202.1 kB / 415.5 MB, free: 10.31 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.005e-06/0.2488, allocations: 4 kB / 415.5 MB, free: 10.31 MB / 334.1 MB Notification: Performance of matching and sorting (n=28) (initialization): time 0.000317/0.2492, allocations: 209.2 kB / 415.7 MB, free: 10.1 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.335e-05/0.2492, allocations: 8 kB / 415.8 MB, free: 10.09 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.383e-06/0.2492, allocations: 4 kB / 415.8 MB, free: 10.09 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.924e-05/0.2492, allocations: 4 kB / 415.8 MB, free: 10.08 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001561/0.2494, allocations: 55.86 kB / 415.8 MB, free: 10.03 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.217e-05/0.2494, allocations: 7.984 kB / 415.8 MB, free: 10.02 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001129/0.2495, allocations: 32.08 kB / 415.9 MB, free: 9.988 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.858e-05/0.2495, allocations: 20 kB / 415.9 MB, free: 9.969 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 0.0001113/0.2497, allocations: 133.7 kB / 416 MB, free: 9.828 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.523e-05/0.2497, allocations: 15.91 kB / 416 MB, free: 9.812 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.76e-05/0.2498, allocations: 20.92 kB / 416 MB, free: 9.785 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.295e-06/0.2498, allocations: 4 kB / 416 MB, free: 9.781 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.197e-06/0.2498, allocations: 0 / 416 MB, free: 9.781 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.023e-06/0.2498, allocations: 7.938 kB / 416.1 MB, free: 9.773 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000428/0.2502, allocations: 233.6 kB / 416.3 MB, free: 9.496 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.303e-06/0.2503, allocations: 0 / 416.3 MB, free: 9.496 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001485/0.2504, allocations: 39.92 kB / 416.3 MB, free: 9.457 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.761e-06/0.2504, allocations: 4 kB / 416.3 MB, free: 9.453 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.101e-05/0.2504, allocations: 3.938 kB / 416.3 MB, free: 9.449 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.557e-06/0.2504, allocations: 4 kB / 416.3 MB, free: 9.445 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.143e-06/0.2505, allocations: 3.938 kB / 416.3 MB, free: 9.441 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003188/0.2508, allocations: 377.9 kB / 416.7 MB, free: 9.055 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.31e-05/0.2509, allocations: 100.9 kB / 416.8 MB, free: 8.938 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.785e-05/0.2509, allocations: 8.062 kB / 416.8 MB, free: 8.93 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00014/0.251, allocations: 3.938 kB / 416.8 MB, free: 8.926 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.374e-05/0.2511, allocations: 15.92 kB / 416.8 MB, free: 8.91 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.142e-05/0.2511, allocations: 4 kB / 416.8 MB, free: 8.906 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0001251/0.2512, allocations: 149.5 kB / 417 MB, free: 8.762 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.2512, allocations: 0 / 417 MB, free: 8.762 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0003625/0.2516, allocations: 39.95 kB / 417 MB, free: 8.723 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.0006055/0.2522, allocations: 0.914 MB / 417.9 MB, free: 7.777 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0002112/0.2524, allocations: 116.8 kB / 418 MB, free: 7.664 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.104e-06/0.2524, allocations: 0 / 418 MB, free: 7.664 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 5.079e-05/0.2525, allocations: 32.3 kB / 418.1 MB, free: 7.633 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004912/0.253, allocations: 36.25 kB / 418.1 MB, free: 7.598 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002731/0.2557, allocations: 2.625 MB / 420.7 MB, free: 4.793 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003379/0.2561, allocations: 0.7281 MB / 421.5 MB, free: 4.039 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 6.455e-05/0.2561, allocations: 13.95 kB / 421.5 MB, free: 4.027 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.921e-05/0.2562, allocations: 59.41 kB / 421.5 MB, free: 3.969 MB / 334.1 MB Notification: Performance of SimCode: time 2.124e-06/0.2562, allocations: 0 / 421.5 MB, free: 3.969 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02638/0.2826, allocations: 3.471 MB / 425 MB, free: 0.6055 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.944/8.227, allocations: 6.891 kB / 425 MB, free: 0.6016 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.1.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