Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001568/0.001568, allocations: 108.6 kB / 21.22 MB, free: 0.7305 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001809/0.001809, allocations: 191.5 kB / 24.51 MB, free: 4.086 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.334/1.334, allocations: 225.6 MB / 253.3 MB, free: 13.02 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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_4_0_0_Modelica_Mechanics_Translational_Examples_SignConvention",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Mechanics.Translational.Examples.SignConvention,fileNamePrefix="Modelica_4_0_0_Modelica_Mechanics_Translational_Examples_SignConvention",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001598/0.001598, allocations: 47.94 kB / 371.2 MB, free: 9.859 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2373/0.2389, allocations: 52.19 MB / 423.4 MB, free: 14.59 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.SignConvention): time 0.003233/0.2421, allocations: 2.129 MB / 425.5 MB, free: 12.46 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.000322/0.2424, allocations: 159.4 kB / 425.7 MB, free: 12.3 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.809e-05/0.2425, allocations: 3.938 kB / 425.7 MB, free: 12.3 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000128/0.2427, allocations: 35.72 kB / 425.7 MB, free: 12.26 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 9.618e-05/0.2428, allocations: 51.55 kB / 425.8 MB, free: 12.21 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001754/0.2429, allocations: 39.89 kB / 425.8 MB, free: 12.17 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002381/0.2432, allocations: 175.2 kB / 426 MB, free: 12 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001434/0.2433, allocations: 46.39 kB / 426 MB, free: 11.95 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.395e-05/0.2434, allocations: 67.8 kB / 426.1 MB, free: 11.88 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001168/0.2435, allocations: 75.62 kB / 426.2 MB, free: 11.81 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 2.641e-05/0.2435, allocations: 16 kB / 426.2 MB, free: 11.79 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.294e-05/0.2436, allocations: 12 kB / 426.2 MB, free: 11.78 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 3.949e-05/0.2436, allocations: 39.84 kB / 426.2 MB, free: 11.74 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 8.735e-05/0.2437, allocations: 75.61 kB / 426.3 MB, free: 11.67 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002342/0.2439, allocations: 184 kB / 426.5 MB, free: 11.5 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.857e-06/0.2439, allocations: 0 / 426.5 MB, free: 11.5 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.082e-06/0.2439, allocations: 0 / 426.5 MB, free: 11.5 MB / 334.1 MB Notification: Performance of Transformations before backend: time 5.36e-06/0.2439, allocations: 4 kB / 426.5 MB, free: 11.49 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.0005915/0.2445, allocations: 397.5 kB / 426.9 MB, free: 11.07 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.637e-05/0.2446, allocations: 8.031 kB / 426.9 MB, free: 11.07 MB / 334.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.89e-05/0.2446, allocations: 8.188 kB / 426.9 MB, free: 11.06 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.026e-05/0.2446, allocations: 54.73 kB / 427 MB, free: 11 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.045e-05/0.2447, allocations: 16.84 kB / 427 MB, free: 10.98 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002396/0.2449, allocations: 158.2 kB / 427.1 MB, free: 10.8 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.825e-05/0.2449, allocations: 20.31 kB / 427.2 MB, free: 10.78 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.23e-05/0.245, allocations: 20.38 kB / 427.2 MB, free: 10.76 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002875/0.2453, allocations: 182 kB / 427.4 MB, free: 10.56 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.682e-05/0.2453, allocations: 4 kB / 427.4 MB, free: 10.56 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.598e-05/0.2453, allocations: 4 kB / 427.4 MB, free: 10.55 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.325e-06/0.2453, allocations: 4 kB / 427.4 MB, free: 10.55 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001835/0.2455, allocations: 103.9 kB / 427.5 MB, free: 10.45 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001246/0.2467, allocations: 0.9226 MB / 428.4 MB, free: 9.449 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001345/0.2469, allocations: 99.75 kB / 428.5 MB, free: 9.324 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.863e-05/0.2469, allocations: 42.75 kB / 428.5 MB, free: 9.273 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.032e-05/0.2469, allocations: 3.984 kB / 428.5 MB, free: 9.27 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.584e-05/0.247, allocations: 30.56 kB / 428.6 MB, free: 9.23 MB / 334.1 MB Notification: Performance of pre-optimization done (n=12): time 1.212e-06/0.247, allocations: 8 kB / 428.6 MB, free: 9.223 MB / 334.1 MB Notification: Performance of matching and sorting (n=12): time 0.0002863/0.2472, allocations: 129.4 kB / 428.7 MB, free: 9.09 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.458e-05/0.2473, allocations: 106.8 kB / 428.8 MB, free: 8.961 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001953/0.2475, allocations: 207.7 kB / 429 MB, free: 8.746 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.632e-05/0.2475, allocations: 29.7 kB / 429 MB, free: 8.711 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.368e-05/0.2476, allocations: 144.1 kB / 429.2 MB, free: 8.566 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.518e-05/0.2477, allocations: 47.59 kB / 429.2 MB, free: 8.52 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.349e-05/0.2477, allocations: 41.94 kB / 429.3 MB, free: 8.469 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001335/0.2479, allocations: 334.8 kB / 429.6 MB, free: 8.133 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.663e-05/0.2479, allocations: 40.45 kB / 429.6 MB, free: 8.094 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001492/0.2481, allocations: 147.7 kB / 429.8 MB, free: 7.902 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002199/0.2483, allocations: 193.5 kB / 430 MB, free: 7.664 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.495e-06/0.2483, allocations: 4 kB / 430 MB, free: 7.66 MB / 334.1 MB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0003059/0.2486, allocations: 213.2 kB / 430.2 MB, free: 7.445 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.64e-05/0.2486, allocations: 8 kB / 430.2 MB, free: 7.438 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.556e-06/0.2486, allocations: 4 kB / 430.2 MB, free: 7.434 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.635e-05/0.2487, allocations: 5.109 kB / 430.2 MB, free: 7.43 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001566/0.2488, allocations: 59.86 kB / 430.2 MB, free: 7.371 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.717e-05/0.2488, allocations: 11.92 kB / 430.3 MB, free: 7.359 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001152/0.2489, allocations: 23.84 kB / 430.3 MB, free: 7.336 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.34e-05/0.249, allocations: 8 kB / 430.3 MB, free: 7.328 MB / 334.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.0001068/0.2491, allocations: 137.7 kB / 430.4 MB, free: 7.184 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.765e-05/0.2491, allocations: 15.91 kB / 430.4 MB, free: 7.168 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.889e-05/0.2492, allocations: 24.95 kB / 430.5 MB, free: 7.141 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.868e-06/0.2492, allocations: 4 kB / 430.5 MB, free: 7.137 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.69e-06/0.2492, allocations: 3.938 kB / 430.5 MB, free: 7.133 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.079e-06/0.2492, allocations: 7.984 kB / 430.5 MB, free: 7.125 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004049/0.2496, allocations: 212.6 kB / 430.7 MB, free: 6.875 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.382e-06/0.2496, allocations: 0 / 430.7 MB, free: 6.875 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001475/0.2497, allocations: 35.92 kB / 430.7 MB, free: 6.84 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.25e-06/0.2498, allocations: 7.938 kB / 430.7 MB, free: 6.832 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.019e-05/0.2498, allocations: 0 / 430.7 MB, free: 6.832 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.71e-06/0.2498, allocations: 4 kB / 430.7 MB, free: 6.828 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.359e-06/0.2498, allocations: 7.938 kB / 430.7 MB, free: 6.82 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003233/0.2501, allocations: 381.9 kB / 431.1 MB, free: 6.43 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.593e-05/0.2501, allocations: 19.91 kB / 431.1 MB, free: 6.41 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.517e-05/0.2502, allocations: 4 kB / 431.1 MB, free: 6.406 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001374/0.2503, allocations: 3.938 kB / 431.1 MB, free: 6.402 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.162e-05/0.2503, allocations: 19.86 kB / 431.2 MB, free: 6.383 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.863e-06/0.2503, allocations: 4 kB / 431.2 MB, free: 6.379 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0001212/0.2504, allocations: 145.5 kB / 431.3 MB, free: 6.238 MB / 334.1 MB Notification: Performance of sort global known variables: time 1e-07/0.2504, allocations: 4 kB / 431.3 MB, free: 6.234 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0003591/0.2508, allocations: 36 kB / 431.3 MB, free: 6.199 MB / 334.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.0005726/0.2514, allocations: 0.9101 MB / 432.3 MB, free: 5.258 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0001948/0.2516, allocations: 107.8 kB / 432.4 MB, free: 5.152 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 1.703e-06/0.2516, allocations: 4 kB / 432.4 MB, free: 5.148 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 5.019e-05/0.2516, allocations: 31.92 kB / 432.4 MB, free: 5.117 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004963/0.2521, allocations: 35.7 kB / 432.4 MB, free: 5.082 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002682/0.2548, allocations: 2.63 MB / 435.1 MB, free: 2.273 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003238/0.2551, allocations: 0.7281 MB / 435.8 MB, free: 1.52 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 6.374e-05/0.2552, allocations: 21.94 kB / 435.8 MB, free: 1.5 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.837e-05/0.2553, allocations: 51.42 kB / 435.9 MB, free: 1.449 MB / 334.1 MB Notification: Performance of SimCode: time 5.51e-07/0.2553, allocations: 0 / 435.9 MB, free: 1.449 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02604/0.2813, allocations: 3.728 MB / 439.6 MB, free: 13.88 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.4/10.68, allocations: 17.05 kB / 439.6 MB, free: 13.86 MB / 350.1 MB " [Timeout remaining time 649] (rm -f Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.SignConvention.pipe ; mkfifo Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.SignConvention.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.SignConvention.pipe >> ../files/Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.SignConvention.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.SignConvention_res.mat --tempDir=temp_Modelica_4_0_0_Modelica_Mechanics_Translational_Examples_SignConvention_fmu --startTime=0 --stopTime=1 --stepSize=0.001 --timeout=50 --tolerance=1e-06 Modelica_4_0_0_Modelica_Mechanics_Translational_Examples_SignConvention.fmu > Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.SignConvention.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.SignConvention_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Mechanics/Translational/Examples/SignConvention/SignConvention.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.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.991946237976663]