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.001227/0.001227, allocations: 105.1 kB / 21.21 MB, free: 0.6523 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.001409/0.001409, allocations: 211.9 kB / 24.51 MB, free: 3.941 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.371/1.371, allocations: 230.6 MB / 258.3 MB, free: 7.781 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="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Mechanics.Translational.Examples.SignConvention,fileNamePrefix="Modelica_4_1_0_Modelica_Mechanics_Translational_Examples_SignConvention",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001434/0.001434, allocations: 51.91 kB / 378.5 MB, free: 3.062 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2332/0.2346, allocations: 53.36 MB / 431.8 MB, free: 6.664 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.SignConvention): time 0.003453/0.2381, allocations: 2.01 MB / 433.9 MB, free: 4.648 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003868/0.2384, allocations: 163.4 kB / 434 MB, free: 4.488 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.408e-05/0.2385, allocations: 7.938 kB / 434 MB, free: 4.48 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001289/0.2387, allocations: 27.72 kB / 434.1 MB, free: 4.453 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001042/0.2388, allocations: 51.56 kB / 434.1 MB, free: 4.402 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001487/0.2389, allocations: 43.88 kB / 434.1 MB, free: 4.359 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.000229/0.2391, allocations: 175.2 kB / 434.3 MB, free: 4.188 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001347/0.2393, allocations: 42.41 kB / 434.4 MB, free: 4.141 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.168e-05/0.2394, allocations: 71.72 kB / 434.4 MB, free: 4.07 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001148/0.2395, allocations: 75.69 kB / 434.5 MB, free: 3.996 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 2.533e-05/0.2395, allocations: 12 kB / 434.5 MB, free: 3.984 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.883e-05/0.2395, allocations: 16 kB / 434.5 MB, free: 3.969 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 4.582e-05/0.2396, allocations: 39.84 kB / 434.6 MB, free: 3.93 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 7.435e-05/0.2396, allocations: 67.67 kB / 434.6 MB, free: 3.863 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000224/0.2399, allocations: 184 kB / 434.8 MB, free: 3.688 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.467e-06/0.2399, allocations: 0 / 434.8 MB, free: 3.688 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.202e-06/0.2399, allocations: 0 / 434.8 MB, free: 3.688 MB / 334.1 MB Notification: Performance of Transformations before backend: time 5.49e-06/0.2399, allocations: 0 / 434.8 MB, free: 3.688 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.0005793/0.2405, allocations: 396.3 kB / 435.2 MB, free: 3.273 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.693e-05/0.2405, allocations: 12.03 kB / 435.2 MB, free: 3.262 MB / 334.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.996e-05/0.2405, allocations: 7.969 kB / 435.2 MB, free: 3.254 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.914e-05/0.2406, allocations: 58.73 kB / 435.3 MB, free: 3.188 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.729e-05/0.2406, allocations: 20.8 kB / 435.3 MB, free: 3.168 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002596/0.2409, allocations: 150.3 kB / 435.4 MB, free: 2.996 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.766e-05/0.2409, allocations: 12.38 kB / 435.5 MB, free: 2.984 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.168e-05/0.241, allocations: 24.33 kB / 435.5 MB, free: 2.961 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003149/0.2413, allocations: 190 kB / 435.7 MB, free: 2.754 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.747e-05/0.2413, allocations: 0 / 435.7 MB, free: 2.754 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.575e-05/0.2413, allocations: 4 kB / 435.7 MB, free: 2.75 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.139e-05/0.2413, allocations: 12 kB / 435.7 MB, free: 2.738 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001787/0.2415, allocations: 99.88 kB / 435.8 MB, free: 2.641 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001273/0.2428, allocations: 0.8914 MB / 436.7 MB, free: 1.672 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001528/0.2429, allocations: 103.8 kB / 436.8 MB, free: 1.543 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.696e-05/0.243, allocations: 34.58 kB / 436.8 MB, free: 1.5 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.676e-06/0.243, allocations: 0 / 436.8 MB, free: 1.5 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.515e-05/0.243, allocations: 38.64 kB / 436.8 MB, free: 1.453 MB / 334.1 MB Notification: Performance of pre-optimization done (n=12): time 1.032e-06/0.243, allocations: 0 / 436.8 MB, free: 1.453 MB / 334.1 MB Notification: Performance of matching and sorting (n=12): time 0.0002988/0.2433, allocations: 145.3 kB / 437 MB, free: 1.305 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.934e-05/0.2434, allocations: 106.8 kB / 437.1 MB, free: 1.176 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002095/0.2436, allocations: 207.7 kB / 437.3 MB, free: 0.9609 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.584e-05/0.2436, allocations: 29.7 kB / 437.3 MB, free: 0.9258 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.235e-05/0.2437, allocations: 140 kB / 437.5 MB, free: 0.7852 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.286e-05/0.2437, allocations: 51.61 kB / 437.5 MB, free: 0.7344 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.435e-05/0.2438, allocations: 45.91 kB / 437.6 MB, free: 0.6797 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001415/0.244, allocations: 330.8 kB / 437.9 MB, free: 356 kB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.8e-05/0.244, allocations: 40.45 kB / 437.9 MB, free: 316 kB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001484/0.2442, allocations: 142.6 kB / 438.1 MB, free: 124 kB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002622/0.2444, allocations: 206 kB / 438.3 MB, free: 15.87 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.525e-06/0.2444, allocations: 0 / 438.3 MB, free: 15.87 MB / 350.1 MB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0003135/0.2447, allocations: 213.2 kB / 438.5 MB, free: 15.66 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.317e-05/0.2448, allocations: 4 kB / 438.5 MB, free: 15.65 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.744e-06/0.2448, allocations: 4 kB / 438.5 MB, free: 15.65 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.75e-05/0.2448, allocations: 8.406 kB / 438.5 MB, free: 15.64 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001502/0.2449, allocations: 51.91 kB / 438.5 MB, free: 15.59 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.723e-05/0.245, allocations: 15.88 kB / 438.5 MB, free: 15.57 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000109/0.2451, allocations: 31.73 kB / 438.6 MB, free: 15.54 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.661e-05/0.2451, allocations: 15.98 kB / 438.6 MB, free: 15.53 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.0001051/0.2452, allocations: 133.7 kB / 438.7 MB, free: 15.39 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.902e-05/0.2453, allocations: 19.91 kB / 438.7 MB, free: 15.37 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.794e-05/0.2453, allocations: 21.02 kB / 438.8 MB, free: 15.34 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.424e-06/0.2453, allocations: 0 / 438.8 MB, free: 15.34 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.306e-06/0.2453, allocations: 7.938 kB / 438.8 MB, free: 15.34 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.675e-06/0.2453, allocations: 4 kB / 438.8 MB, free: 15.33 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000401/0.2457, allocations: 192.7 kB / 439 MB, free: 15.1 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.693e-06/0.2457, allocations: 0 / 439 MB, free: 15.1 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001579/0.2459, allocations: 35.92 kB / 439 MB, free: 15.07 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.454e-06/0.2459, allocations: 0 / 439 MB, free: 15.07 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.327e-05/0.2459, allocations: 4 kB / 439 MB, free: 15.06 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.296e-06/0.2459, allocations: 4 kB / 439 MB, free: 15.06 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.346e-06/0.2459, allocations: 3.938 kB / 439 MB, free: 15.05 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003351/0.2462, allocations: 385.8 kB / 439.4 MB, free: 14.66 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.394e-05/0.2463, allocations: 23.89 kB / 439.4 MB, free: 14.64 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.767e-05/0.2463, allocations: 4 kB / 439.4 MB, free: 14.63 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001397/0.2464, allocations: 4 kB / 439.4 MB, free: 14.63 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.569e-05/0.2465, allocations: 19.86 kB / 439.4 MB, free: 14.61 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.323e-06/0.2465, allocations: 4 kB / 439.4 MB, free: 14.61 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001327/0.2466, allocations: 149.5 kB / 439.6 MB, free: 14.46 MB / 350.1 MB Notification: Performance of sort global known variables: time 7e-08/0.2466, allocations: 0 / 439.6 MB, free: 14.46 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003522/0.247, allocations: 39.95 kB / 439.6 MB, free: 14.42 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.0006259/0.2476, allocations: 0.9165 MB / 440.5 MB, free: 13.48 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002121/0.2478, allocations: 116.5 kB / 440.7 MB, free: 13.36 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.883e-06/0.2478, allocations: 0 / 440.7 MB, free: 13.36 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 5.302e-05/0.2479, allocations: 35.92 kB / 440.7 MB, free: 13.33 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005038/0.2484, allocations: 31.3 kB / 440.7 MB, free: 13.3 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002803/0.2512, allocations: 2.636 MB / 443.4 MB, free: 10.49 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001188/0.2513, allocations: 116.1 kB / 443.5 MB, free: 10.35 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 6.654e-05/0.2513, allocations: 17.94 kB / 443.5 MB, free: 10.33 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.933e-05/0.2514, allocations: 51.42 kB / 443.5 MB, free: 10.28 MB / 350.1 MB Notification: Performance of SimCode: time 3.71e-07/0.2514, allocations: 0 / 443.5 MB, free: 10.28 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02525/0.2767, allocations: 3.738 MB / 447.3 MB, free: 6.711 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.59/10.87, allocations: 19.73 kB / 447.3 MB, free: 6.695 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: 13.150799576076679]