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.001253/0.001254, allocations: 109.4 kB / 17.73 MB, free: 5.312 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.001218/0.001218, allocations: 192.2 kB / 18.66 MB, free: 4.387 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.312/1.312, allocations: 205.1 MB / 224.5 MB, free: 12.21 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.001575/0.001575, allocations: 47.94 kB / 328 MB, free: 3.812 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08198/0.08356, allocations: 46.62 MB / 374.6 MB, free: 5.082 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.SignConvention): time 0.003089/0.08668, allocations: 2.08 MB / 376.7 MB, free: 2.988 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003533/0.08706, allocations: 167.4 kB / 376.9 MB, free: 2.824 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.401e-05/0.08715, allocations: 4 kB / 376.9 MB, free: 2.82 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001371/0.08731, allocations: 31.66 kB / 376.9 MB, free: 2.789 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 8.509e-05/0.0874, allocations: 43.56 kB / 377 MB, free: 2.746 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001499/0.08756, allocations: 43.95 kB / 377 MB, free: 2.703 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002172/0.08779, allocations: 183.2 kB / 377.2 MB, free: 2.523 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001646/0.08796, allocations: 70 kB / 377.3 MB, free: 2.449 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.655e-05/0.08803, allocations: 63.8 kB / 377.3 MB, free: 2.387 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000114/0.08815, allocations: 75.61 kB / 377.4 MB, free: 2.312 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 2.912e-05/0.08819, allocations: 16 kB / 377.4 MB, free: 2.297 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.757e-05/0.08822, allocations: 12 kB / 377.4 MB, free: 2.285 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 3.787e-05/0.08826, allocations: 27.92 kB / 377.4 MB, free: 2.258 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 8.323e-05/0.08835, allocations: 83.55 kB / 377.5 MB, free: 2.176 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002235/0.08858, allocations: 187.2 kB / 377.7 MB, free: 1.992 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.031e-06/0.08859, allocations: 0 / 377.7 MB, free: 1.992 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.472e-06/0.0886, allocations: 3.938 kB / 377.7 MB, free: 1.988 MB / 318.1 MB Notification: Performance of Transformations before backend: time 5.06e-06/0.08861, allocations: 0 / 377.7 MB, free: 1.988 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.0006132/0.08922, allocations: 470.7 kB / 378.2 MB, free: 1.48 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.972e-05/0.08927, allocations: 8.031 kB / 378.2 MB, free: 1.473 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.058e-05/0.08934, allocations: 50.73 kB / 378.2 MB, free: 1.414 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.906e-05/0.08939, allocations: 20.84 kB / 378.2 MB, free: 1.395 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002568/0.08965, allocations: 220 kB / 378.5 MB, free: 1.141 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.161e-05/0.08968, allocations: 16.38 kB / 378.5 MB, free: 1.125 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.537e-05/0.08972, allocations: 20.38 kB / 378.5 MB, free: 1.105 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000295/0.09002, allocations: 189.9 kB / 378.7 MB, free: 0.8984 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.576e-05/0.09005, allocations: 4 kB / 378.7 MB, free: 0.8945 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.549e-05/0.09007, allocations: 4 kB / 378.7 MB, free: 0.8906 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.554e-06/0.09008, allocations: 4 kB / 378.7 MB, free: 0.8867 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001774/0.09026, allocations: 99.88 kB / 378.8 MB, free: 0.7891 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1454/0.2356, allocations: 0.9489 MB / 379.7 MB, free: 12.34 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001264/0.2358, allocations: 101.7 kB / 379.8 MB, free: 12.27 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.153e-05/0.2359, allocations: 47.8 kB / 379.9 MB, free: 12.25 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.235e-05/0.2359, allocations: 1.844 kB / 379.9 MB, free: 12.25 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.153e-05/0.2359, allocations: 37.36 kB / 379.9 MB, free: 12.21 MB / 318.1 MB Notification: Performance of pre-optimization done (n=12): time 2.074e-06/0.2359, allocations: 0 / 379.9 MB, free: 12.21 MB / 318.1 MB Notification: Performance of matching and sorting (n=12): time 0.000299/0.2362, allocations: 133.9 kB / 380.1 MB, free: 12.18 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.51e-05/0.2363, allocations: 106.5 kB / 380.2 MB, free: 12.05 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001713/0.2364, allocations: 206 kB / 380.4 MB, free: 11.95 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 9.538e-06/0.2365, allocations: 30.39 kB / 380.4 MB, free: 11.92 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.706e-05/0.2365, allocations: 142.3 kB / 380.5 MB, free: 11.82 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.837e-05/0.2366, allocations: 57.84 kB / 380.6 MB, free: 11.79 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.642e-05/0.2366, allocations: 45.7 kB / 380.6 MB, free: 11.77 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 5.136e-05/0.2367, allocations: 328.1 kB / 381 MB, free: 11.45 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.289e-05/0.2367, allocations: 40.44 kB / 381 MB, free: 11.45 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.122e-05/0.2368, allocations: 146.4 kB / 381.1 MB, free: 11.32 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001654/0.237, allocations: 198.5 kB / 381.3 MB, free: 11.2 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.396e-06/0.237, allocations: 2.172 kB / 381.3 MB, free: 11.2 MB / 318.1 MB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0002633/0.2373, allocations: 217.4 kB / 381.5 MB, free: 11.15 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.556e-05/0.2373, allocations: 6.875 kB / 381.6 MB, free: 11.15 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.953e-06/0.2373, allocations: 4.125 kB / 381.6 MB, free: 11.15 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.876e-05/0.2374, allocations: 5.5 kB / 381.6 MB, free: 11.15 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000155/0.2375, allocations: 48.42 kB / 381.6 MB, free: 11.14 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.073e-05/0.2375, allocations: 9.016 kB / 381.6 MB, free: 11.14 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001141/0.2376, allocations: 28.02 kB / 381.6 MB, free: 11.14 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.296e-05/0.2377, allocations: 15.8 kB / 381.7 MB, free: 11.14 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 6.54e-05/0.2377, allocations: 135.3 kB / 381.8 MB, free: 11.02 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.267e-05/0.2378, allocations: 24.2 kB / 381.8 MB, free: 11 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.14e-05/0.2379, allocations: 25.91 kB / 381.8 MB, free: 10.99 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.146e-06/0.2379, allocations: 1.25 kB / 381.8 MB, free: 10.99 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.322e-06/0.2379, allocations: 2.578 kB / 381.8 MB, free: 10.99 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.38e-06/0.2379, allocations: 5.984 kB / 381.9 MB, free: 10.99 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003556/0.2382, allocations: 242.5 kB / 382.1 MB, free: 10.8 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.046e-06/0.2383, allocations: 1.375 kB / 382.1 MB, free: 10.8 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001382/0.2384, allocations: 39.08 kB / 382.1 MB, free: 10.8 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.184e-06/0.2384, allocations: 1.375 kB / 382.1 MB, free: 10.8 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.107e-05/0.2384, allocations: 4.188 kB / 382.1 MB, free: 10.8 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.675e-06/0.2384, allocations: 2.453 kB / 382.1 MB, free: 10.8 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.032e-06/0.2384, allocations: 0 / 382.1 MB, free: 10.8 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002296/0.2387, allocations: 389.2 kB / 382.5 MB, free: 10.5 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.279e-05/0.2387, allocations: 97.06 kB / 382.6 MB, free: 10.4 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.556e-05/0.2387, allocations: 6.344 kB / 382.6 MB, free: 10.4 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001487/0.2389, allocations: 4.312 kB / 382.6 MB, free: 10.4 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.713e-05/0.2389, allocations: 8.438 kB / 382.6 MB, free: 10.4 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.879e-06/0.2389, allocations: 6.703 kB / 382.6 MB, free: 10.4 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0001161/0.2391, allocations: 148.6 kB / 382.8 MB, free: 10.32 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.2391, allocations: 0.7188 kB / 382.8 MB, free: 10.32 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0003505/0.2394, allocations: 39.19 kB / 382.8 MB, free: 10.32 MB / 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.000364/0.2398, allocations: 0.9163 MB / 383.7 MB, free: 9.492 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0002183/0.24, allocations: 109.1 kB / 383.8 MB, free: 9.48 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 1.884e-06/0.24, allocations: 0.5 kB / 383.8 MB, free: 9.48 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 6.148e-05/0.2401, allocations: 38.97 kB / 383.9 MB, free: 9.477 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004993/0.2406, allocations: 30.95 kB / 383.9 MB, free: 9.477 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002148/0.2428, allocations: 2.627 MB / 386.5 MB, free: 7.426 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001645/0.2429, allocations: 0.7226 MB / 387.3 MB, free: 6.727 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 6.932e-05/0.243, allocations: 20.69 kB / 387.3 MB, free: 6.723 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.133e-05/0.2431, allocations: 54.53 kB / 387.3 MB, free: 6.684 MB / 318.1 MB Notification: Performance of SimCode: time 4.11e-07/0.2431, allocations: 1.281 kB / 387.3 MB, free: 6.684 MB / 318.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0311/0.2742, allocations: 3.472 MB / 390.8 MB, free: 6 MB / 318.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.735/8.009, allocations: 1.094 kB / 390.8 MB, free: 6 MB / 318.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