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.001121/0.001121, allocations: 76.06 kB / 20.67 MB, free: 3.891 MB / 18.57 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.001255/0.001255, allocations: 149.1 kB / 23.93 MB, free: 0.6328 MB / 18.57 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 0.856/0.856, allocations: 173.4 MB / 200.4 MB, free: 9.422 MB / 186.7 MB " [Timeout remaining time 179] 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="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Mechanics.Translational.Examples.SignConvention,fileNamePrefix="Modelica_4_0_0_Modelica_Mechanics_Translational_Examples_SignConvention",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.292e-06/1.292e-06, allocations: 0 / 318.4 MB, free: 6.363 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.351e-05/1.48e-05, allocations: 5.516 kB / 318.4 MB, free: 6.359 MB / 282.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.SignConvention): time 0.001969/0.001984, allocations: 1.99 MB / 320.4 MB, free: 4.352 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.0002886/0.002272, allocations: 159.4 kB / 320.6 MB, free: 4.195 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.571e-05/0.002348, allocations: 4 kB / 320.6 MB, free: 4.191 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001101/0.002458, allocations: 39.59 kB / 320.6 MB, free: 4.152 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 6.478e-05/0.002523, allocations: 51.48 kB / 320.7 MB, free: 4.102 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000131/0.002654, allocations: 43.94 kB / 320.7 MB, free: 4.059 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001609/0.002815, allocations: 187.1 kB / 320.9 MB, free: 3.875 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001282/0.002943, allocations: 53.64 kB / 320.9 MB, free: 3.82 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8.052e-05/0.003023, allocations: 99.78 kB / 321 MB, free: 3.723 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.596e-05/0.003099, allocations: 51.81 kB / 321.1 MB, free: 3.672 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 2.368e-05/0.003123, allocations: 16 kB / 321.1 MB, free: 3.656 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.627e-05/0.003139, allocations: 12 kB / 321.1 MB, free: 3.645 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 3.04e-05/0.00317, allocations: 39.89 kB / 321.2 MB, free: 3.605 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 4.195e-05/0.003212, allocations: 55.84 kB / 321.2 MB, free: 3.551 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001587/0.00337, allocations: 175.4 kB / 321.4 MB, free: 3.379 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.643e-06/0.003372, allocations: 0 / 321.4 MB, free: 3.379 MB / 282.7 MB Notification: Performance of FrontEnd: time 8.22e-07/0.003373, allocations: 0 / 321.4 MB, free: 3.379 MB / 282.7 MB Notification: Performance of Transformations before backend: time 3.417e-06/0.003376, allocations: 0 / 321.4 MB, free: 3.379 MB / 282.7 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.0004046/0.003781, allocations: 393.5 kB / 321.8 MB, free: 2.965 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.427e-05/0.003815, allocations: 12.92 kB / 321.8 MB, free: 2.953 MB / 282.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.681e-05/0.003852, allocations: 50.73 kB / 321.8 MB, free: 2.895 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.993e-05/0.003882, allocations: 28.8 kB / 321.9 MB, free: 2.867 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001637/0.004046, allocations: 149.5 kB / 322 MB, free: 2.695 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.155e-05/0.004057, allocations: 16.38 kB / 322 MB, free: 2.68 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.408e-05/0.004081, allocations: 16.38 kB / 322 MB, free: 2.664 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001898/0.004271, allocations: 190 kB / 322.2 MB, free: 2.457 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.257e-05/0.004284, allocations: 4.141 kB / 322.2 MB, free: 2.453 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.222e-05/0.004296, allocations: 12.38 kB / 322.2 MB, free: 2.441 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.043e-06/0.004303, allocations: 7.938 kB / 322.2 MB, free: 2.434 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002392/0.004542, allocations: 99.88 kB / 322.3 MB, free: 2.336 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007211/0.005263, allocations: 0.8845 MB / 323.2 MB, free: 1.375 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.401e-05/0.005357, allocations: 99.73 kB / 323.3 MB, free: 1.25 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.904e-05/0.005396, allocations: 42.75 kB / 323.4 MB, free: 1.199 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.676e-06/0.005405, allocations: 4 kB / 323.4 MB, free: 1.195 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.536e-05/0.00542, allocations: 34.56 kB / 323.4 MB, free: 1.152 MB / 282.7 MB Notification: Performance of pre-optimization done (n=12): time 9.92e-07/0.005421, allocations: 4 kB / 323.4 MB, free: 1.148 MB / 282.7 MB Notification: Performance of matching and sorting (n=12): time 0.0002044/0.005626, allocations: 130 kB / 323.5 MB, free: 1.016 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.74e-05/0.005663, allocations: 106.8 kB / 323.6 MB, free: 0.8867 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001229/0.005786, allocations: 219.7 kB / 323.8 MB, free: 0.6602 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 1.046e-05/0.005796, allocations: 29.7 kB / 323.9 MB, free: 0.625 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.841e-05/0.005855, allocations: 144 kB / 324 MB, free: 492 kB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.549e-05/0.00588, allocations: 55.58 kB / 324.1 MB, free: 436 kB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.1e-05/0.005921, allocations: 41.94 kB / 324.1 MB, free: 384 kB / 282.7 MB Notification: Performance of setup shared object (initialization): time 6.958e-05/0.005991, allocations: 334.8 kB / 324.4 MB, free: 40 kB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.248e-05/0.006033, allocations: 36.45 kB / 324.5 MB, free: 4 kB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.756e-05/0.006121, allocations: 138.6 kB / 324.6 MB, free: 15.82 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001374/0.006258, allocations: 205.5 kB / 324.8 MB, free: 15.57 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.344e-06/0.006261, allocations: 0 / 324.8 MB, free: 15.57 MB / 298.7 MB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0001863/0.006447, allocations: 217.2 kB / 325 MB, free: 15.35 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.357e-05/0.00646, allocations: 11.98 kB / 325 MB, free: 15.34 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.629e-06/0.006465, allocations: 416 / 325 MB, free: 15.34 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.322e-05/0.006478, allocations: 12 kB / 325 MB, free: 15.33 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.074e-05/0.006569, allocations: 43.92 kB / 325.1 MB, free: 15.29 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.396e-06/0.006577, allocations: 11.94 kB / 325.1 MB, free: 15.27 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.065e-05/0.006638, allocations: 27.78 kB / 325.1 MB, free: 15.25 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.536e-06/0.006647, allocations: 8 kB / 325.1 MB, free: 15.24 MB / 298.7 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 6.738e-05/0.006714, allocations: 141.7 kB / 325.3 MB, free: 15.09 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.395e-05/0.006748, allocations: 19.89 kB / 325.3 MB, free: 15.07 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.734e-05/0.006775, allocations: 21.03 kB / 325.3 MB, free: 15.05 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.533e-06/0.006777, allocations: 0 / 325.3 MB, free: 15.05 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.616e-06/0.00678, allocations: 8 kB / 325.3 MB, free: 15.04 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.808e-06/0.006784, allocations: 3.984 kB / 325.3 MB, free: 15.04 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002316/0.007016, allocations: 196.6 kB / 325.5 MB, free: 14.8 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.61e-07/0.007017, allocations: 0 / 325.5 MB, free: 14.8 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.497e-05/0.007092, allocations: 27.98 kB / 325.5 MB, free: 14.78 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.573e-06/0.007093, allocations: 0 / 325.5 MB, free: 14.78 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.849e-06/0.007103, allocations: 11.94 kB / 325.6 MB, free: 14.77 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.053e-06/0.007105, allocations: 4 kB / 325.6 MB, free: 14.76 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.32e-07/0.007106, allocations: 0 / 325.6 MB, free: 14.76 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001927/0.007299, allocations: 390 kB / 325.9 MB, free: 14.36 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.108e-05/0.00732, allocations: 31.84 kB / 326 MB, free: 14.33 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.407e-05/0.007334, allocations: 4 kB / 326 MB, free: 14.33 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.998e-05/0.007414, allocations: 4 kB / 326 MB, free: 14.32 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.473e-05/0.007428, allocations: 11.92 kB / 326 MB, free: 14.31 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.139e-06/0.007434, allocations: 7.984 kB / 326 MB, free: 14.3 MB / 298.7 MB Notification: Performance of sorting global known variables: time 7.541e-05/0.007509, allocations: 145.5 kB / 326.1 MB, free: 14.16 MB / 298.7 MB Notification: Performance of sort global known variables: time 5e-08/0.007509, allocations: 0 / 326.1 MB, free: 14.16 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0002268/0.007736, allocations: 43.94 kB / 326.2 MB, free: 14.12 MB / 298.7 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.0003113/0.008047, allocations: 0.9101 MB / 327.1 MB, free: 13.18 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0001294/0.008177, allocations: 104 kB / 327.2 MB, free: 13.08 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 2.235e-06/0.008179, allocations: 4 kB / 327.2 MB, free: 13.07 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 2.937e-05/0.008208, allocations: 35.92 kB / 327.2 MB, free: 13.04 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003194/0.008528, allocations: 30.94 kB / 327.3 MB, free: 13.01 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001654/0.01018, allocations: 2.496 MB / 329.8 MB, free: 10.33 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.579e-05/0.01025, allocations: 112.3 kB / 329.9 MB, free: 10.2 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 4.339e-05/0.01029, allocations: 17.94 kB / 329.9 MB, free: 10.18 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.063e-05/0.01035, allocations: 56.48 kB / 329.9 MB, free: 10.12 MB / 298.7 MB Notification: Performance of SimCode: time 4.91e-07/0.01035, allocations: 0 / 329.9 MB, free: 10.12 MB / 298.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01486/0.02521, allocations: 4.171 MB / 334.1 MB, free: 6.098 MB / 298.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.589/6.615, allocations: 11.86 kB / 334.1 MB, free: 6.086 MB / 298.7 MB " [Timeout remaining time 653] (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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Mechanics/Translational/Examples/SignConvention/SignConvention.csv","/var/lib/jenkins/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: 8.193257261067629]