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.0008553/0.0008551, allocations: 92.2 kB / 17.3 MB, free: 6.395 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.001116/0.001116, allocations: 172.5 kB / 18.2 MB, free: 5.551 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.228/1.228, allocations: 205.4 MB / 224.4 MB, free: 13.08 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.0004813/0.0004813, allocations: 16 kB / 281.5 MB, free: 3.316 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08183/0.08233, allocations: 47.57 MB / 329 MB, free: 3.672 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.SignConvention): time 0.001953/0.08431, allocations: 1.791 MB / 330.8 MB, free: 1.863 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002869/0.08462, allocations: 171.4 kB / 331 MB, free: 1.695 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.768e-05/0.0847, allocations: 4 kB / 331 MB, free: 1.691 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000106/0.08482, allocations: 19.78 kB / 331 MB, free: 1.672 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 7.793e-05/0.0849, allocations: 39.69 kB / 331.1 MB, free: 1.633 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001329/0.08504, allocations: 31.98 kB / 331.1 MB, free: 1.602 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001878/0.08524, allocations: 175.2 kB / 331.3 MB, free: 1.43 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001326/0.08538, allocations: 50.44 kB / 331.3 MB, free: 1.375 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.723e-05/0.08545, allocations: 63.72 kB / 331.4 MB, free: 1.312 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.798e-05/0.08555, allocations: 71.62 kB / 331.5 MB, free: 1.242 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 2.131e-05/0.08558, allocations: 4 kB / 331.5 MB, free: 1.238 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.2e-05/0.08561, allocations: 8 kB / 331.5 MB, free: 1.23 MB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 2.967e-05/0.08564, allocations: 23.92 kB / 331.5 MB, free: 1.207 MB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 8.221e-05/0.08573, allocations: 101.2 kB / 331.6 MB, free: 1.102 MB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001576/0.08589, allocations: 167.3 kB / 331.7 MB, free: 0.9375 MB / 270.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.378e-06/0.0859, allocations: 0 / 331.7 MB, free: 0.9375 MB / 270.1 MB Notification: Performance of FrontEnd: time 1.253e-06/0.08591, allocations: 3.938 kB / 331.8 MB, free: 0.9336 MB / 270.1 MB Notification: Performance of Transformations before backend: time 4.087e-06/0.08592, allocations: 0 / 331.8 MB, free: 0.9336 MB / 270.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.000476/0.0864, allocations: 438.7 kB / 332.2 MB, free: 468 kB / 270.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.906e-05/0.08645, allocations: 16.02 kB / 332.2 MB, free: 452 kB / 270.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.563e-05/0.0865, allocations: 50.73 kB / 332.2 MB, free: 392 kB / 270.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.61e-05/0.08654, allocations: 16.75 kB / 332.3 MB, free: 376 kB / 270.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001807/0.08673, allocations: 211.7 kB / 332.5 MB, free: 128 kB / 270.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.378e-05/0.08675, allocations: 12.38 kB / 332.5 MB, free: 116 kB / 270.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.304e-05/0.08679, allocations: 24.28 kB / 332.5 MB, free: 92 kB / 270.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000282/0.08708, allocations: 189.9 kB / 332.7 MB, free: 15.88 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.625e-05/0.0871, allocations: 7.938 kB / 332.7 MB, free: 15.88 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.563e-05/0.08712, allocations: 4 kB / 332.7 MB, free: 15.87 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.478e-06/0.08714, allocations: 7.984 kB / 332.7 MB, free: 15.86 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000163/0.08731, allocations: 95.89 kB / 332.8 MB, free: 15.77 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0011/0.08841, allocations: 0.9703 MB / 333.8 MB, free: 14.71 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001223/0.08855, allocations: 95.75 kB / 333.9 MB, free: 14.59 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.485e-05/0.08861, allocations: 42.75 kB / 333.9 MB, free: 14.54 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.045e-05/0.08863, allocations: 4 kB / 333.9 MB, free: 14.54 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.571e-05/0.08866, allocations: 42.5 kB / 334 MB, free: 14.49 MB / 286.1 MB Notification: Performance of pre-optimization done (n=12): time 2.454e-06/0.08867, allocations: 3.984 kB / 334 MB, free: 14.48 MB / 286.1 MB Notification: Performance of matching and sorting (n=12): time 0.00027/0.08894, allocations: 121.4 kB / 334.1 MB, free: 14.36 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.852e-05/0.089, allocations: 110.8 kB / 334.2 MB, free: 14.23 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001688/0.08918, allocations: 203.8 kB / 334.4 MB, free: 14.02 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 1.386e-05/0.0892, allocations: 29.7 kB / 334.4 MB, free: 13.98 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.908e-05/0.08928, allocations: 139.8 kB / 334.6 MB, free: 13.84 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.423e-05/0.08932, allocations: 51.27 kB / 334.6 MB, free: 13.79 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.517e-05/0.08937, allocations: 33.7 kB / 334.6 MB, free: 13.75 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.000101/0.08947, allocations: 326.8 kB / 335 MB, free: 13.42 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.451e-05/0.08954, allocations: 40.44 kB / 335 MB, free: 13.38 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001193/0.08967, allocations: 150.5 kB / 335.1 MB, free: 13.19 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001959/0.08987, allocations: 193.5 kB / 335.3 MB, free: 12.95 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.988e-06/0.08988, allocations: 4 kB / 335.3 MB, free: 12.95 MB / 286.1 MB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0002743/0.09016, allocations: 213.1 kB / 335.5 MB, free: 12.73 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.593e-05/0.09018, allocations: 8 kB / 335.5 MB, free: 12.72 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.422e-06/0.09019, allocations: 4.406 kB / 335.6 MB, free: 12.72 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.524e-05/0.09022, allocations: 8 kB / 335.6 MB, free: 12.71 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001418/0.09036, allocations: 51.86 kB / 335.6 MB, free: 12.66 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.114e-05/0.09038, allocations: 7.984 kB / 335.6 MB, free: 12.65 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001028/0.09049, allocations: 27.69 kB / 335.6 MB, free: 12.62 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.361e-05/0.09051, allocations: 12.7 kB / 335.7 MB, free: 12.61 MB / 286.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.207e-05/0.09061, allocations: 133.7 kB / 335.8 MB, free: 12.47 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.599e-05/0.09068, allocations: 15.81 kB / 335.8 MB, free: 12.46 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.337e-05/0.09073, allocations: 28.86 kB / 335.8 MB, free: 12.43 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.11e-06/0.09074, allocations: 4 kB / 335.8 MB, free: 12.42 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.779e-06/0.09075, allocations: 4 kB / 335.8 MB, free: 12.42 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.539e-06/0.09076, allocations: 3.938 kB / 335.8 MB, free: 12.41 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003895/0.09115, allocations: 241.5 kB / 336.1 MB, free: 12.13 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.995e-06/0.09116, allocations: 3.984 kB / 336.1 MB, free: 12.12 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001396/0.09131, allocations: 27.98 kB / 336.1 MB, free: 12.1 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.727e-06/0.09132, allocations: 4 kB / 336.1 MB, free: 12.09 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.269e-05/0.09134, allocations: 4 kB / 336.1 MB, free: 12.09 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.503e-06/0.09135, allocations: 0 / 336.1 MB, free: 12.09 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.132e-06/0.09136, allocations: 7.938 kB / 336.1 MB, free: 12.08 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002624/0.09162, allocations: 393.7 kB / 336.5 MB, free: 11.68 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.19e-05/0.09168, allocations: 92.86 kB / 336.6 MB, free: 11.57 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.389e-05/0.09171, allocations: 4.062 kB / 336.6 MB, free: 11.57 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001369/0.09186, allocations: 4 kB / 336.6 MB, free: 11.56 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.952e-05/0.09188, allocations: 11.92 kB / 336.6 MB, free: 11.55 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.091e-06/0.09189, allocations: 4 kB / 336.6 MB, free: 11.55 MB / 286.1 MB Notification: Performance of sorting global known variables: time 0.0001048/0.092, allocations: 153.5 kB / 336.8 MB, free: 11.4 MB / 286.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.09201, allocations: 0 / 336.8 MB, free: 11.4 MB / 286.1 MB Notification: Performance of remove unused functions: time 0.0003473/0.09236, allocations: 36 kB / 336.8 MB, free: 11.36 MB / 286.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.0004824/0.09285, allocations: 0.9109 MB / 337.7 MB, free: 10.43 MB / 286.1 MB Notification: Performance of simCode: created initialization part: time 0.0001837/0.09304, allocations: 111.8 kB / 337.8 MB, free: 10.32 MB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 2.044e-06/0.09305, allocations: 0 / 337.8 MB, free: 10.32 MB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 4.688e-05/0.09311, allocations: 39.92 kB / 337.9 MB, free: 10.28 MB / 286.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005055/0.09362, allocations: 23.94 kB / 337.9 MB, free: 10.25 MB / 286.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002444/0.09607, allocations: 2.76 MB / 340.7 MB, free: 7.32 MB / 286.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002517/0.09634, allocations: 0.7245 MB / 341.4 MB, free: 6.57 MB / 286.1 MB Notification: Performance of simCode: alias equations: time 6.88e-05/0.09641, allocations: 17.95 kB / 341.4 MB, free: 6.555 MB / 286.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.99e-05/0.09649, allocations: 51.42 kB / 341.4 MB, free: 6.504 MB / 286.1 MB Notification: Performance of SimCode: time 2.9e-07/0.09649, allocations: 0 / 341.4 MB, free: 6.504 MB / 286.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1261/0.2226, allocations: 3.148 MB / 344.6 MB, free: 3.359 MB / 286.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002718/0.2229, allocations: 209.9 kB / 344.8 MB, free: 3.102 MB / 286.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.866/2.089, allocations: 4 kB / 344.8 MB, free: 3.098 MB / 286.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","../files/Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.SignConvention.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches