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.001295/0.001295, allocations: 109.2 kB / 17.06 MB, free: 5.828 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.001371/0.001371, allocations: 195.9 kB / 18 MB, free: 4.965 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.372/1.372, allocations: 222.9 MB / 241.7 MB, free: 15.15 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001529/0.001529, allocations: 47.92 kB / 350.8 MB, free: 3.758 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2271/0.2286, allocations: 49.44 MB / 400.2 MB, free: 8.402 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.SignConvention): time 0.003491/0.2321, allocations: 2.093 MB / 402.3 MB, free: 6.711 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003958/0.2326, allocations: 159.4 kB / 402.5 MB, free: 6.555 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.917e-05/0.2327, allocations: 4 kB / 402.5 MB, free: 6.551 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000138/0.2329, allocations: 31.66 kB / 402.5 MB, free: 6.52 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001004/0.233, allocations: 51.56 kB / 402.6 MB, free: 6.469 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001523/0.2331, allocations: 43.94 kB / 402.6 MB, free: 6.426 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002294/0.2334, allocations: 175.2 kB / 402.8 MB, free: 6.254 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001715/0.2335, allocations: 66.25 kB / 402.8 MB, free: 6.188 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.228e-05/0.2336, allocations: 59.8 kB / 402.9 MB, free: 6.129 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001248/0.2338, allocations: 75.62 kB / 403 MB, free: 6.055 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 2.684e-05/0.2338, allocations: 12 kB / 403 MB, free: 6.043 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.193e-05/0.2338, allocations: 16 kB / 403 MB, free: 6.027 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 3.654e-05/0.2339, allocations: 31.86 kB / 403 MB, free: 5.996 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 9.07e-05/0.234, allocations: 87.59 kB / 403.1 MB, free: 5.91 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002418/0.2342, allocations: 182.3 kB / 403.3 MB, free: 5.734 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.988e-06/0.2342, allocations: 4 kB / 403.3 MB, free: 5.73 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.262e-06/0.2342, allocations: 0 / 403.3 MB, free: 5.73 MB / 318.1 MB Notification: Performance of Transformations before backend: time 5.46e-06/0.2342, allocations: 0 / 403.3 MB, free: 5.73 MB / 318.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.0006226/0.2349, allocations: 466.7 kB / 403.8 MB, free: 5.227 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.745e-05/0.2349, allocations: 15.89 kB / 403.8 MB, free: 5.211 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.496e-05/0.235, allocations: 50.67 kB / 403.8 MB, free: 5.152 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.437e-05/0.235, allocations: 24.84 kB / 403.8 MB, free: 5.129 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002725/0.2353, allocations: 228 kB / 404.1 MB, free: 4.867 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.569e-05/0.2353, allocations: 8.375 kB / 404.1 MB, free: 4.859 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.532e-05/0.2354, allocations: 16.38 kB / 404.1 MB, free: 4.844 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000313/0.2357, allocations: 189.9 kB / 404.3 MB, free: 4.637 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.42e-05/0.2357, allocations: 0 / 404.3 MB, free: 4.637 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.903e-05/0.2357, allocations: 16 kB / 404.3 MB, free: 4.621 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.927e-06/0.2358, allocations: 4 kB / 404.3 MB, free: 4.617 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001849/0.2359, allocations: 103.8 kB / 404.4 MB, free: 4.516 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001265/0.2372, allocations: 0.9547 MB / 405.4 MB, free: 3.477 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001436/0.2374, allocations: 103.8 kB / 405.5 MB, free: 3.348 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.331e-05/0.2375, allocations: 42.66 kB / 405.5 MB, free: 3.297 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.442e-05/0.2375, allocations: 8 kB / 405.5 MB, free: 3.289 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.319e-05/0.2375, allocations: 38.5 kB / 405.5 MB, free: 3.242 MB / 318.1 MB Notification: Performance of pre-optimization done (n=12): time 1.814e-06/0.2375, allocations: 0 / 405.5 MB, free: 3.242 MB / 318.1 MB Notification: Performance of matching and sorting (n=12): time 0.0002964/0.2378, allocations: 125.5 kB / 405.7 MB, free: 3.113 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.491e-05/0.2379, allocations: 106.8 kB / 405.8 MB, free: 2.984 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002031/0.2381, allocations: 211.7 kB / 406 MB, free: 2.766 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.797e-05/0.2381, allocations: 25.7 kB / 406 MB, free: 2.734 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.649e-05/0.2382, allocations: 148.1 kB / 406.1 MB, free: 2.586 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.579e-05/0.2383, allocations: 55.58 kB / 406.2 MB, free: 2.531 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.634e-05/0.2384, allocations: 41.95 kB / 406.2 MB, free: 2.48 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001383/0.2385, allocations: 330.8 kB / 406.6 MB, free: 2.148 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.13e-05/0.2386, allocations: 36.45 kB / 406.6 MB, free: 2.113 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001639/0.2388, allocations: 147.3 kB / 406.7 MB, free: 1.922 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002372/0.239, allocations: 197.5 kB / 406.9 MB, free: 1.68 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.435e-06/0.239, allocations: 0 / 406.9 MB, free: 1.68 MB / 318.1 MB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0003228/0.2393, allocations: 217.5 kB / 407.1 MB, free: 1.461 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.388e-05/0.2394, allocations: 8.031 kB / 407.2 MB, free: 1.453 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.594e-06/0.2394, allocations: 4 kB / 407.2 MB, free: 1.449 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.98e-05/0.2394, allocations: 11.98 kB / 407.2 MB, free: 1.438 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001656/0.2396, allocations: 47.92 kB / 407.2 MB, free: 1.391 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.178e-05/0.2396, allocations: 8 kB / 407.2 MB, free: 1.383 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000121/0.2397, allocations: 31.72 kB / 407.3 MB, free: 1.352 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.446e-05/0.2397, allocations: 8 kB / 407.3 MB, free: 1.344 MB / 318.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.0001121/0.2398, allocations: 133.7 kB / 407.4 MB, free: 1.203 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.435e-05/0.2399, allocations: 23.91 kB / 407.4 MB, free: 1.18 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.952e-05/0.24, allocations: 21.62 kB / 407.4 MB, free: 1.152 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.245e-06/0.24, allocations: 0 / 407.4 MB, free: 1.152 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.682e-06/0.24, allocations: 4 kB / 407.4 MB, free: 1.148 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.24e-06/0.24, allocations: 3.938 kB / 407.4 MB, free: 1.145 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004493/0.2405, allocations: 245.5 kB / 407.7 MB, free: 0.8555 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.537e-06/0.2405, allocations: 4 kB / 407.7 MB, free: 0.8516 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000152/0.2406, allocations: 31.92 kB / 407.7 MB, free: 0.8203 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.374e-06/0.2407, allocations: 3.938 kB / 407.7 MB, free: 0.8164 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.271e-05/0.2407, allocations: 3.984 kB / 407.7 MB, free: 0.8125 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.924e-06/0.2407, allocations: 4 kB / 407.7 MB, free: 0.8086 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.543e-06/0.2407, allocations: 4 kB / 407.7 MB, free: 0.8047 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003388/0.241, allocations: 389.8 kB / 408.1 MB, free: 416 kB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.933e-05/0.2411, allocations: 105 kB / 408.2 MB, free: 292 kB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.399e-05/0.2411, allocations: 0 / 408.2 MB, free: 292 kB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001459/0.2413, allocations: 4 kB / 408.2 MB, free: 288 kB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.197e-05/0.2413, allocations: 15.94 kB / 408.2 MB, free: 272 kB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.277e-06/0.2413, allocations: 3.984 kB / 408.2 MB, free: 268 kB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0001421/0.2415, allocations: 149.5 kB / 408.4 MB, free: 120 kB / 318.1 MB Notification: Performance of sort global known variables: time 1.41e-07/0.2415, allocations: 4 kB / 408.4 MB, free: 116 kB / 318.1 MB Notification: Performance of remove unused functions: time 0.00037/0.2419, allocations: 40 kB / 408.4 MB, free: 76 kB / 318.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.0006521/0.2425, allocations: 0.91 MB / 409.3 MB, free: 15.13 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0002135/0.2427, allocations: 107.8 kB / 409.4 MB, free: 15.03 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 1.934e-06/0.2428, allocations: 0 / 409.4 MB, free: 15.03 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 5.349e-05/0.2428, allocations: 40.73 kB / 409.5 MB, free: 14.99 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005193/0.2433, allocations: 45.81 kB / 409.5 MB, free: 14.95 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00283/0.2462, allocations: 2.628 MB / 412.2 MB, free: 12.14 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003421/0.2465, allocations: 0.7242 MB / 412.9 MB, free: 11.39 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 7.112e-05/0.2466, allocations: 17.95 kB / 412.9 MB, free: 11.37 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.942e-05/0.2467, allocations: 47.42 kB / 412.9 MB, free: 11.32 MB / 334.1 MB Notification: Performance of SimCode: time 5.01e-07/0.2467, allocations: 3.938 kB / 413 MB, free: 11.32 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02578/0.2725, allocations: 3.474 MB / 416.4 MB, free: 7.949 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.751/8.024, allocations: 3.125 kB / 416.4 MB, free: 7.949 MB / 334.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