Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Mechanics.Translational.Examples.SignConvention.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001258/0.001258, allocations: 107.1 kB / 20.44 MB, free: 1.344 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001435/0.001435, allocations: 209.6 kB / 23.73 MB, free: 4.523 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.425/1.425, allocations: 230.6 MB / 257.5 MB, free: 7.785 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Modelica.Mechanics.Translational.Examples.SignConvention,fileNamePrefix="Modelica_4_1_0_Modelica_Mechanics_Translational_Examples_SignConvention",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Mechanics.Translational.Examples.SignConvention,fileNamePrefix="Modelica_4_1_0_Modelica_Mechanics_Translational_Examples_SignConvention",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001452/0.001452, allocations: 47.92 kB / 377.7 MB, free: 2.98 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2344/0.2358, allocations: 53.36 MB / 431.1 MB, free: 6.645 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.SignConvention): time 0.003203/0.239, allocations: 2.029 MB / 433.1 MB, free: 4.609 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003743/0.2394, allocations: 159.4 kB / 433.3 MB, free: 4.453 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.876e-05/0.2395, allocations: 11.94 kB / 433.3 MB, free: 4.441 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001431/0.2396, allocations: 27.72 kB / 433.3 MB, free: 4.414 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 9.63e-05/0.2397, allocations: 43.56 kB / 433.3 MB, free: 4.371 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001586/0.2399, allocations: 51.88 kB / 433.4 MB, free: 4.32 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002413/0.2401, allocations: 175.2 kB / 433.6 MB, free: 4.148 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001533/0.2403, allocations: 42.41 kB / 433.6 MB, free: 4.102 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.317e-05/0.2404, allocations: 67.72 kB / 433.7 MB, free: 4.035 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001255/0.2405, allocations: 75.69 kB / 433.7 MB, free: 3.961 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 2.885e-05/0.2405, allocations: 12 kB / 433.7 MB, free: 3.949 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.624e-05/0.2405, allocations: 19.94 kB / 433.8 MB, free: 3.93 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 3.722e-05/0.2406, allocations: 27.92 kB / 433.8 MB, free: 3.902 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 8.468e-05/0.2407, allocations: 75.64 kB / 433.9 MB, free: 3.828 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002423/0.2409, allocations: 180.9 kB / 434 MB, free: 3.652 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.436e-06/0.2409, allocations: 0 / 434 MB, free: 3.652 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.442e-06/0.2409, allocations: 0 / 434 MB, free: 3.652 MB / 334.1 MB Notification: Performance of Transformations before backend: time 6.302e-06/0.2409, allocations: 0 / 434 MB, free: 3.652 MB / 334.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.0006451/0.2416, allocations: 396.3 kB / 434.4 MB, free: 3.238 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.93e-05/0.2416, allocations: 8.031 kB / 434.4 MB, free: 3.23 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.931e-05/0.2417, allocations: 54.73 kB / 434.5 MB, free: 3.168 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.301e-05/0.2417, allocations: 20.8 kB / 434.5 MB, free: 3.148 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002808/0.242, allocations: 157.6 kB / 434.7 MB, free: 2.973 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.986e-05/0.242, allocations: 20.16 kB / 434.7 MB, free: 2.953 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.106e-05/0.242, allocations: 20.33 kB / 434.7 MB, free: 2.934 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003112/0.2424, allocations: 186.2 kB / 434.9 MB, free: 2.73 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.552e-05/0.2424, allocations: 4 kB / 434.9 MB, free: 2.727 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.946e-05/0.2424, allocations: 12 kB / 434.9 MB, free: 2.715 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.114e-06/0.2424, allocations: 4 kB / 434.9 MB, free: 2.711 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001788/0.2426, allocations: 95.88 kB / 435 MB, free: 2.617 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001261/0.2438, allocations: 0.8914 MB / 435.9 MB, free: 1.648 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001469/0.244, allocations: 99.83 kB / 436 MB, free: 1.523 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.628e-05/0.244, allocations: 38.67 kB / 436 MB, free: 1.477 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.083e-05/0.2441, allocations: 3.984 kB / 436 MB, free: 1.473 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.897e-05/0.2441, allocations: 42.56 kB / 436.1 MB, free: 1.422 MB / 334.1 MB Notification: Performance of pre-optimization done (n=12): time 1.543e-06/0.2441, allocations: 3.938 kB / 436.1 MB, free: 1.418 MB / 334.1 MB Notification: Performance of matching and sorting (n=12): time 0.0003052/0.2444, allocations: 129.6 kB / 436.2 MB, free: 1.285 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.087e-05/0.2445, allocations: 110.8 kB / 436.3 MB, free: 1.152 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002054/0.2447, allocations: 215.6 kB / 436.5 MB, free: 0.9297 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.831e-05/0.2447, allocations: 25.7 kB / 436.5 MB, free: 0.8984 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.386e-05/0.2448, allocations: 144.1 kB / 436.7 MB, free: 0.7539 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.116e-05/0.2448, allocations: 55.52 kB / 436.7 MB, free: 0.6992 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.392e-05/0.2449, allocations: 41.95 kB / 436.8 MB, free: 0.6484 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001453/0.245, allocations: 330.8 kB / 437.1 MB, free: 324 kB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.693e-05/0.2451, allocations: 44.45 kB / 437.2 MB, free: 280 kB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001532/0.2453, allocations: 138.6 kB / 437.3 MB, free: 92 kB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000257/0.2455, allocations: 201.5 kB / 437.5 MB, free: 15.84 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.715e-06/0.2455, allocations: 0 / 437.5 MB, free: 15.84 MB / 350.1 MB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0003181/0.2458, allocations: 213.5 kB / 437.7 MB, free: 15.63 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.638e-05/0.2459, allocations: 8.031 kB / 437.7 MB, free: 15.62 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.348e-06/0.2459, allocations: 8 kB / 437.7 MB, free: 15.61 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.918e-05/0.2459, allocations: 7.984 kB / 437.7 MB, free: 15.61 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001662/0.246, allocations: 51.92 kB / 437.8 MB, free: 15.55 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.089e-05/0.2461, allocations: 7.938 kB / 437.8 MB, free: 15.55 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001188/0.2462, allocations: 35.72 kB / 437.8 MB, free: 15.51 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.38e-05/0.2462, allocations: 8 kB / 437.8 MB, free: 15.5 MB / 350.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.0001101/0.2463, allocations: 129.8 kB / 437.9 MB, free: 15.37 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.092e-05/0.2464, allocations: 15.91 kB / 438 MB, free: 15.35 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.946e-05/0.2464, allocations: 25.02 kB / 438 MB, free: 15.32 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.615e-06/0.2464, allocations: 4 kB / 438 MB, free: 15.32 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.919e-06/0.2464, allocations: 0.5625 kB / 438 MB, free: 15.32 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.572e-06/0.2464, allocations: 7.938 kB / 438 MB, free: 15.31 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000414/0.2469, allocations: 208.6 kB / 438.2 MB, free: 15.07 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.623e-06/0.2469, allocations: 0 / 438.2 MB, free: 15.07 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001448/0.247, allocations: 27.98 kB / 438.2 MB, free: 15.04 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.214e-06/0.247, allocations: 3.938 kB / 438.2 MB, free: 15.04 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.4e-05/0.247, allocations: 4 kB / 438.2 MB, free: 15.03 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.543e-06/0.247, allocations: 0 / 438.2 MB, free: 15.03 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.92e-07/0.247, allocations: 0 / 438.2 MB, free: 15.03 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003204/0.2473, allocations: 397.8 kB / 438.6 MB, free: 14.62 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.22e-05/0.2474, allocations: 15.91 kB / 438.6 MB, free: 14.61 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.563e-05/0.2474, allocations: 4.062 kB / 438.6 MB, free: 14.61 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001452/0.2475, allocations: 4 kB / 438.6 MB, free: 14.6 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.787e-05/0.2476, allocations: 15.86 kB / 438.7 MB, free: 14.59 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.554e-06/0.2476, allocations: 4 kB / 438.7 MB, free: 14.58 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001229/0.2477, allocations: 153.5 kB / 438.8 MB, free: 14.43 MB / 350.1 MB Notification: Performance of sort global known variables: time 9e-08/0.2477, allocations: 0 / 438.8 MB, free: 14.43 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003596/0.2481, allocations: 36 kB / 438.8 MB, free: 14.4 MB / 350.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.0005851/0.2486, allocations: 0.914 MB / 439.8 MB, free: 13.45 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002048/0.2488, allocations: 107.8 kB / 439.9 MB, free: 13.35 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.103e-06/0.2488, allocations: 3.938 kB / 439.9 MB, free: 13.34 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 5.032e-05/0.2489, allocations: 35.92 kB / 439.9 MB, free: 13.31 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005073/0.2494, allocations: 27.92 kB / 439.9 MB, free: 13.28 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00272/0.2521, allocations: 2.629 MB / 442.6 MB, free: 10.48 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001136/0.2522, allocations: 112.1 kB / 442.7 MB, free: 10.34 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 7.021e-05/0.2523, allocations: 21.95 kB / 442.7 MB, free: 10.32 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.983e-05/0.2524, allocations: 47.42 kB / 442.7 MB, free: 10.27 MB / 350.1 MB Notification: Performance of SimCode: time 6.42e-07/0.2524, allocations: 0 / 442.7 MB, free: 10.27 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02993/0.2823, allocations: 4.112 MB / 446.9 MB, free: 6.309 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.37/10.66, allocations: 13.62 kB / 446.9 MB, free: 6.301 MB / 350.1 MB " [Timeout remaining time 649] (rm -f Modelica_4.1.0_Modelica.Mechanics.Translational.Examples.SignConvention.pipe ; mkfifo Modelica_4.1.0_Modelica.Mechanics.Translational.Examples.SignConvention.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Mechanics.Translational.Examples.SignConvention.pipe >> ../files/Modelica_4.1.0_Modelica.Mechanics.Translational.Examples.SignConvention.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.1.0_Modelica.Mechanics.Translational.Examples.SignConvention_res.mat --tempDir=temp_Modelica_4_1_0_Modelica_Mechanics_Translational_Examples_SignConvention_fmu --startTime=0 --stopTime=1 --stepSize=0.001 --timeout=50 --tolerance=1e-06 Modelica_4_1_0_Modelica_Mechanics_Translational_Examples_SignConvention.fmu > Modelica_4.1.0_Modelica.Mechanics.Translational.Examples.SignConvention.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_4.1.0_Modelica.Mechanics.Translational.Examples.SignConvention_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Mechanics/Translational/Examples/SignConvention/SignConvention.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_Modelica.Mechanics.Translational.Examples.SignConvention.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 12.94850884299376]