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.001146/0.001146, allocations: 114.5 kB / 17.73 MB, free: 5.34 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.001213/0.001213, allocations: 183 kB / 18.66 MB, free: 4.418 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.295/1.295, allocations: 205.1 MB / 224.5 MB, free: 12.24 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.001369/0.001369, allocations: 59.92 kB / 328 MB, free: 3.82 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08515/0.08653, allocations: 46.62 MB / 374.6 MB, free: 5.09 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.SignConvention): time 0.003323/0.08989, allocations: 2.08 MB / 376.7 MB, free: 2.996 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.0004774/0.0904, allocations: 167.4 kB / 376.9 MB, free: 2.832 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001696/0.09059, allocations: 4 kB / 376.9 MB, free: 2.828 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001767/0.09081, allocations: 31.66 kB / 376.9 MB, free: 2.797 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001244/0.09094, allocations: 51.55 kB / 377 MB, free: 2.746 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001862/0.09114, allocations: 35.95 kB / 377 MB, free: 2.711 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002363/0.09138, allocations: 183.2 kB / 377.2 MB, free: 2.531 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001698/0.09156, allocations: 78.22 kB / 377.3 MB, free: 2.449 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.333e-05/0.09166, allocations: 67.78 kB / 377.3 MB, free: 2.383 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001197/0.09179, allocations: 67.64 kB / 377.4 MB, free: 2.316 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 2.667e-05/0.09182, allocations: 12 kB / 377.4 MB, free: 2.305 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.841e-05/0.09186, allocations: 16 kB / 377.4 MB, free: 2.289 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 3.243e-05/0.09189, allocations: 31.91 kB / 377.4 MB, free: 2.258 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 8.155e-05/0.09198, allocations: 87.53 kB / 377.5 MB, free: 2.172 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002183/0.09221, allocations: 175.3 kB / 377.7 MB, free: 2 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.489e-06/0.09222, allocations: 0 / 377.7 MB, free: 2 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.553e-06/0.09223, allocations: 0 / 377.7 MB, free: 2 MB / 318.1 MB Notification: Performance of Transformations before backend: time 7.895e-06/0.09224, allocations: 0 / 377.7 MB, free: 2 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.0005996/0.09285, allocations: 462.9 kB / 378.2 MB, free: 1.5 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.917e-05/0.09289, allocations: 12.03 kB / 378.2 MB, free: 1.488 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.724e-05/0.09295, allocations: 50.73 kB / 378.2 MB, free: 1.43 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.402e-05/0.093, allocations: 20.75 kB / 378.2 MB, free: 1.41 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002683/0.09327, allocations: 223.9 kB / 378.5 MB, free: 1.152 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.234e-05/0.0933, allocations: 16.38 kB / 378.5 MB, free: 1.137 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.506e-05/0.09334, allocations: 16.38 kB / 378.5 MB, free: 1.121 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002776/0.09362, allocations: 189.9 kB / 378.7 MB, free: 0.9141 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.503e-05/0.09364, allocations: 0 / 378.7 MB, free: 0.9141 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.771e-05/0.09367, allocations: 8 kB / 378.7 MB, free: 0.9062 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.273e-06/0.09368, allocations: 4 kB / 378.7 MB, free: 0.9023 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001713/0.09385, allocations: 99.88 kB / 378.8 MB, free: 0.8047 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1656/0.2594, allocations: 0.9553 MB / 379.7 MB, free: 12.34 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001645/0.2596, allocations: 98.86 kB / 379.8 MB, free: 12.27 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.813e-05/0.2597, allocations: 50.27 kB / 379.9 MB, free: 12.25 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.389e-05/0.2598, allocations: 2.422 kB / 379.9 MB, free: 12.25 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.915e-05/0.2598, allocations: 36.3 kB / 379.9 MB, free: 12.21 MB / 318.1 MB Notification: Performance of pre-optimization done (n=12): time 2.755e-06/0.2598, allocations: 0 / 379.9 MB, free: 12.21 MB / 318.1 MB Notification: Performance of matching and sorting (n=12): time 0.0003527/0.2601, allocations: 133.2 kB / 380.1 MB, free: 12.18 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.443e-05/0.2602, allocations: 106.2 kB / 380.2 MB, free: 12.05 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002117/0.2604, allocations: 202.4 kB / 380.4 MB, free: 11.95 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.181e-05/0.2604, allocations: 28.64 kB / 380.4 MB, free: 11.91 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.338e-05/0.2605, allocations: 143.7 kB / 380.5 MB, free: 11.82 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.472e-05/0.2606, allocations: 48.25 kB / 380.6 MB, free: 11.79 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.836e-05/0.2606, allocations: 49.39 kB / 380.6 MB, free: 11.77 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 6.027e-05/0.2607, allocations: 327.2 kB / 380.9 MB, free: 11.46 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.462e-05/0.2608, allocations: 39.84 kB / 381 MB, free: 11.46 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001151/0.2609, allocations: 148.9 kB / 381.1 MB, free: 11.32 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001909/0.2611, allocations: 200.7 kB / 381.3 MB, free: 11.2 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.677e-06/0.2611, allocations: 1.375 kB / 381.3 MB, free: 11.2 MB / 318.1 MB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0002977/0.2614, allocations: 216.4 kB / 381.5 MB, free: 11.15 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.035e-05/0.2615, allocations: 14.56 kB / 381.5 MB, free: 11.15 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.218e-06/0.2615, allocations: 4.688 kB / 381.5 MB, free: 11.15 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.443e-05/0.2615, allocations: 5.5 kB / 381.6 MB, free: 11.15 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001781/0.2617, allocations: 51.48 kB / 381.6 MB, free: 11.14 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.197e-05/0.2617, allocations: 5.016 kB / 381.6 MB, free: 11.14 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001245/0.2618, allocations: 23.22 kB / 381.6 MB, free: 11.13 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.661e-05/0.2619, allocations: 15 kB / 381.6 MB, free: 11.13 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 8.69e-05/0.2619, allocations: 139.2 kB / 381.8 MB, free: 11.01 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.909e-05/0.262, allocations: 22.14 kB / 381.8 MB, free: 11 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.717e-05/0.2621, allocations: 18.67 kB / 381.8 MB, free: 10.99 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.948e-06/0.2621, allocations: 5.75 kB / 381.8 MB, free: 10.99 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.839e-06/0.2621, allocations: 0 / 381.8 MB, free: 10.99 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.609e-06/0.2621, allocations: 2.875 kB / 381.8 MB, free: 10.99 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003929/0.2625, allocations: 241.6 kB / 382.1 MB, free: 10.8 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.746e-06/0.2625, allocations: 1.375 kB / 382.1 MB, free: 10.8 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001452/0.2627, allocations: 41.14 kB / 382.1 MB, free: 10.79 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.395e-06/0.2627, allocations: 1.375 kB / 382.1 MB, free: 10.79 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.283e-05/0.2627, allocations: 6.906 kB / 382.1 MB, free: 10.79 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.104e-06/0.2627, allocations: 3.625 kB / 382.1 MB, free: 10.79 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.553e-06/0.2627, allocations: 1.375 kB / 382.1 MB, free: 10.79 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002396/0.263, allocations: 380.5 kB / 382.5 MB, free: 10.5 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.005e-05/0.263, allocations: 102.9 kB / 382.6 MB, free: 10.39 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.589e-05/0.263, allocations: 5.031 kB / 382.6 MB, free: 10.39 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001424/0.2632, allocations: 2.531 kB / 382.6 MB, free: 10.39 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.772e-05/0.2632, allocations: 6.359 kB / 382.6 MB, free: 10.39 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.948e-06/0.2632, allocations: 10.91 kB / 382.6 MB, free: 10.39 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.00013/0.2634, allocations: 146.5 kB / 382.8 MB, free: 10.32 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.2634, allocations: 4 kB / 382.8 MB, free: 10.31 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0003659/0.2637, allocations: 35.69 kB / 382.8 MB, free: 10.31 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.0003985/0.2641, allocations: 0.9138 MB / 383.7 MB, free: 9.488 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.000224/0.2644, allocations: 114 kB / 383.8 MB, free: 9.473 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 3.156e-06/0.2644, allocations: 0.5 kB / 383.8 MB, free: 9.473 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 7.117e-05/0.2645, allocations: 35.89 kB / 383.9 MB, free: 9.469 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005216/0.265, allocations: 36 kB / 383.9 MB, free: 9.469 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002251/0.2673, allocations: 2.611 MB / 386.5 MB, free: 7.43 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001552/0.2674, allocations: 0.7224 MB / 387.2 MB, free: 6.73 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 7.514e-05/0.2675, allocations: 27 kB / 387.3 MB, free: 6.723 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.203e-05/0.2676, allocations: 53.59 kB / 387.3 MB, free: 6.684 MB / 318.1 MB Notification: Performance of SimCode: time 3.11e-07/0.2676, allocations: 0 / 387.3 MB, free: 6.684 MB / 318.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02411/0.2917, allocations: 3.504 MB / 390.8 MB, free: 6.023 MB / 318.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.76/9.052, allocations: 5.078 kB / 390.8 MB, free: 6.02 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