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.001309/0.001309, allocations: 101.5 kB / 17.72 MB, free: 5.371 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.001417/0.001417, allocations: 192 kB / 18.66 MB, free: 4.445 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.294/1.294, allocations: 205.1 MB / 224.5 MB, free: 12.25 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.001184/0.001184, allocations: 51.92 kB / 328 MB, free: 3.824 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07334/0.07454, allocations: 46.62 MB / 374.6 MB, free: 5.094 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.SignConvention): time 0.003017/0.0776, allocations: 2.092 MB / 376.7 MB, free: 2.988 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003824/0.07801, allocations: 159.4 kB / 376.9 MB, free: 2.832 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001252/0.07815, allocations: 4 kB / 376.9 MB, free: 2.828 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001286/0.07831, allocations: 31.66 kB / 376.9 MB, free: 2.797 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000102/0.07842, allocations: 51.56 kB / 377 MB, free: 2.746 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001577/0.07858, allocations: 39.94 kB / 377 MB, free: 2.707 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002087/0.0788, allocations: 183.2 kB / 377.2 MB, free: 2.527 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001609/0.07897, allocations: 74.22 kB / 377.3 MB, free: 2.449 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.478e-05/0.07905, allocations: 59.8 kB / 377.3 MB, free: 2.391 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001118/0.07917, allocations: 79.62 kB / 377.4 MB, free: 2.312 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 2.376e-05/0.0792, allocations: 12 kB / 377.4 MB, free: 2.301 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.992e-05/0.07924, allocations: 16 kB / 377.4 MB, free: 2.285 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 2.967e-05/0.07927, allocations: 27.92 kB / 377.4 MB, free: 2.258 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 7.962e-05/0.07935, allocations: 91.52 kB / 377.5 MB, free: 2.168 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001906/0.07955, allocations: 171.3 kB / 377.7 MB, free: 2 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.57e-06/0.07956, allocations: 4 kB / 377.7 MB, free: 1.996 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.473e-06/0.07957, allocations: 0 / 377.7 MB, free: 1.996 MB / 318.1 MB Notification: Performance of Transformations before backend: time 6.141e-06/0.07958, allocations: 0 / 377.7 MB, free: 1.996 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.0005464/0.08013, allocations: 462.9 kB / 378.2 MB, free: 1.496 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.698e-05/0.08018, allocations: 12.03 kB / 378.2 MB, free: 1.484 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.83e-05/0.08023, allocations: 50.73 kB / 378.2 MB, free: 1.426 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.904e-05/0.08028, allocations: 20.69 kB / 378.2 MB, free: 1.406 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002395/0.08052, allocations: 224 kB / 378.5 MB, free: 1.148 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.242e-05/0.08054, allocations: 12.38 kB / 378.5 MB, free: 1.137 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.42e-05/0.08058, allocations: 20.38 kB / 378.5 MB, free: 1.117 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002571/0.08085, allocations: 189.9 kB / 378.7 MB, free: 0.9102 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.402e-05/0.08087, allocations: 0 / 378.7 MB, free: 0.9102 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.678e-05/0.08089, allocations: 8 kB / 378.7 MB, free: 0.9023 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.572e-06/0.0809, allocations: 4 kB / 378.7 MB, free: 0.8984 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000166/0.08107, allocations: 103.9 kB / 378.8 MB, free: 0.7969 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1463/0.2273, allocations: 0.9486 MB / 379.7 MB, free: 12.34 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001179/0.2275, allocations: 99.27 kB / 379.8 MB, free: 12.27 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.962e-05/0.2276, allocations: 47.55 kB / 379.9 MB, free: 12.25 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.079e-05/0.2276, allocations: 2.188 kB / 379.9 MB, free: 12.25 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.458e-05/0.2276, allocations: 39.69 kB / 379.9 MB, free: 12.21 MB / 318.1 MB Notification: Performance of pre-optimization done (n=12): time 2.044e-06/0.2276, allocations: 0 / 379.9 MB, free: 12.21 MB / 318.1 MB Notification: Performance of matching and sorting (n=12): time 0.000285/0.2279, allocations: 128.8 kB / 380 MB, free: 12.18 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.938e-05/0.2279, allocations: 103.9 kB / 380.1 MB, free: 12.05 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001557/0.2281, allocations: 205.1 kB / 380.3 MB, free: 11.95 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 9.217e-06/0.2281, allocations: 33.55 kB / 380.4 MB, free: 11.91 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.896e-05/0.2282, allocations: 144.3 kB / 380.5 MB, free: 11.82 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.556e-05/0.2282, allocations: 47.88 kB / 380.6 MB, free: 11.79 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.263e-05/0.2283, allocations: 47.98 kB / 380.6 MB, free: 11.77 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 4.394e-05/0.2283, allocations: 330.6 kB / 380.9 MB, free: 11.46 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.842e-05/0.2284, allocations: 35.3 kB / 381 MB, free: 11.46 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.739e-05/0.2285, allocations: 153.1 kB / 381.1 MB, free: 11.32 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001621/0.2286, allocations: 195.9 kB / 381.3 MB, free: 11.2 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.086e-06/0.2286, allocations: 1.344 kB / 381.3 MB, free: 11.2 MB / 318.1 MB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0002665/0.2289, allocations: 220 kB / 381.5 MB, free: 11.15 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.639e-05/0.2289, allocations: 12.34 kB / 381.5 MB, free: 11.15 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.214e-06/0.229, allocations: 4.125 kB / 381.5 MB, free: 11.15 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.831e-05/0.229, allocations: 5.5 kB / 381.6 MB, free: 11.15 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001646/0.2291, allocations: 48.7 kB / 381.6 MB, free: 11.14 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.207e-06/0.2292, allocations: 5.062 kB / 381.6 MB, free: 11.14 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001045/0.2293, allocations: 30.06 kB / 381.6 MB, free: 11.13 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.456e-05/0.2293, allocations: 10.47 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 7.084e-05/0.2294, allocations: 141.2 kB / 381.8 MB, free: 11.01 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.423e-05/0.2294, allocations: 20.75 kB / 381.8 MB, free: 11 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.284e-05/0.2295, allocations: 19.42 kB / 381.8 MB, free: 10.99 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.406e-06/0.2295, allocations: 2.031 kB / 381.8 MB, free: 10.99 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.411e-06/0.2295, allocations: 2.25 kB / 381.8 MB, free: 10.99 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.238e-06/0.2295, allocations: 5.984 kB / 381.8 MB, free: 10.99 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003591/0.2299, allocations: 240.1 kB / 382.1 MB, free: 10.8 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.593e-06/0.2299, allocations: 4.609 kB / 382.1 MB, free: 10.8 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001378/0.23, allocations: 37.27 kB / 382.1 MB, free: 10.79 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.364e-06/0.23, allocations: 1.375 kB / 382.1 MB, free: 10.79 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.252e-05/0.2301, allocations: 7.5 kB / 382.1 MB, free: 10.79 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.504e-06/0.2301, allocations: 2.312 kB / 382.1 MB, free: 10.79 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.317e-06/0.2301, allocations: 1.375 kB / 382.1 MB, free: 10.79 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002044/0.2303, allocations: 379.2 kB / 382.5 MB, free: 10.5 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.007e-05/0.2303, allocations: 102.2 kB / 382.6 MB, free: 10.39 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.431e-05/0.2304, allocations: 3.453 kB / 382.6 MB, free: 10.39 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001345/0.2305, allocations: 4.562 kB / 382.6 MB, free: 10.39 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.691e-05/0.2305, allocations: 10.03 kB / 382.6 MB, free: 10.39 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.551e-06/0.2305, allocations: 3.781 kB / 382.6 MB, free: 10.39 MB / 318.1 MB Notification: Performance of sorting global known variables: time 9.828e-05/0.2306, allocations: 154.1 kB / 382.8 MB, free: 10.31 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.2306, allocations: 0.5625 kB / 382.8 MB, free: 10.31 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0003636/0.231, allocations: 35.16 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.0003559/0.2314, allocations: 0.9147 MB / 383.7 MB, free: 9.488 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0002211/0.2316, allocations: 117.7 kB / 383.8 MB, free: 9.473 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 1.984e-06/0.2316, allocations: 0.9375 kB / 383.8 MB, free: 9.473 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 6.095e-05/0.2317, allocations: 37.06 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.0004897/0.2322, allocations: 29.66 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.002037/0.2342, allocations: 2.615 MB / 386.5 MB, free: 7.426 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001411/0.2344, allocations: 0.726 MB / 387.2 MB, free: 6.723 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 6.826e-05/0.2344, allocations: 22.38 kB / 387.3 MB, free: 6.719 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.47e-05/0.2345, allocations: 49.28 kB / 387.3 MB, free: 6.684 MB / 318.1 MB Notification: Performance of SimCode: time 2.61e-07/0.2345, allocations: 0 / 387.3 MB, free: 6.684 MB / 318.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02026/0.2548, allocations: 3.509 MB / 390.8 MB, free: 6.016 MB / 318.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.157/7.412, allocations: 5.078 kB / 390.8 MB, free: 6.012 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