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.0007951/0.0007951, allocations: 79.7 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.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.0008158/0.0008158, allocations: 174 kB / 23.95 MB, free: 0.6094 MB / 18.57 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 0.8369/0.8369, allocations: 177.1 MB / 204.3 MB, free: 5.746 MB / 186.7 MB " [Timeout remaining time 179] 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 2.415e-06/2.415e-06, allocations: 0 / 324.6 MB, free: 15.82 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.569e-05/1.81e-05, allocations: 4.812 kB / 324.6 MB, free: 15.82 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.SignConvention): time 0.002169/0.002187, allocations: 2.018 MB / 326.6 MB, free: 13.79 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.0005533/0.002741, allocations: 167.3 kB / 326.7 MB, free: 13.62 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.737e-05/0.002818, allocations: 4 kB / 326.7 MB, free: 13.62 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001192/0.002937, allocations: 27.67 kB / 326.8 MB, free: 13.59 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 6.294e-05/0.003, allocations: 51.5 kB / 326.8 MB, free: 13.54 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000139/0.003139, allocations: 43.94 kB / 326.9 MB, free: 13.5 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001612/0.0033, allocations: 195.1 kB / 327.1 MB, free: 13.31 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001316/0.003432, allocations: 38.47 kB / 327.1 MB, free: 13.27 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8.421e-05/0.003516, allocations: 99.78 kB / 327.2 MB, free: 13.17 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001063/0.003623, allocations: 51.86 kB / 327.2 MB, free: 13.12 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 3.497e-05/0.003658, allocations: 12 kB / 327.3 MB, free: 13.11 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 2.212e-05/0.00368, allocations: 16 kB / 327.3 MB, free: 13.09 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 3.889e-05/0.003719, allocations: 35.84 kB / 327.3 MB, free: 13.05 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 5.953e-05/0.003778, allocations: 59.83 kB / 327.4 MB, free: 13 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002488/0.004027, allocations: 175.4 kB / 327.5 MB, free: 12.82 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.996e-06/0.00403, allocations: 4 kB / 327.5 MB, free: 12.82 MB / 298.7 MB Notification: Performance of FrontEnd: time 9.92e-07/0.004031, allocations: 3.938 kB / 327.5 MB, free: 12.82 MB / 298.7 MB Notification: Performance of Transformations before backend: time 7.093e-06/0.004038, allocations: 0 / 327.5 MB, free: 12.82 MB / 298.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.0005459/0.004584, allocations: 393.3 kB / 327.9 MB, free: 12.4 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.006e-05/0.004644, allocations: 8.031 kB / 327.9 MB, free: 12.39 MB / 298.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.497e-05/0.004699, allocations: 54.73 kB / 328 MB, free: 12.33 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.608e-05/0.004735, allocations: 24.8 kB / 328 MB, free: 12.31 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001854/0.00492, allocations: 157.5 kB / 328.2 MB, free: 12.13 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.233e-05/0.004933, allocations: 12.38 kB / 328.2 MB, free: 12.12 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.863e-05/0.004961, allocations: 20.33 kB / 328.2 MB, free: 12.1 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001987/0.00516, allocations: 182.4 kB / 328.4 MB, free: 11.9 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.265e-05/0.005173, allocations: 4.188 kB / 328.4 MB, free: 11.89 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.27e-05/0.005185, allocations: 4.375 kB / 328.4 MB, free: 11.89 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.893e-06/0.005192, allocations: 7.938 kB / 328.4 MB, free: 11.88 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001142/0.005306, allocations: 99.88 kB / 328.5 MB, free: 11.79 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007476/0.006054, allocations: 0.8923 MB / 329.4 MB, free: 10.82 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.328e-05/0.006147, allocations: 99.81 kB / 329.5 MB, free: 10.69 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.782e-05/0.006185, allocations: 38.58 kB / 329.5 MB, free: 10.64 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.465e-06/0.006194, allocations: 4 kB / 329.5 MB, free: 10.64 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.796e-05/0.006212, allocations: 38.64 kB / 329.6 MB, free: 10.59 MB / 298.7 MB Notification: Performance of pre-optimization done (n=12): time 1.323e-06/0.006213, allocations: 4 kB / 329.6 MB, free: 10.59 MB / 298.7 MB Notification: Performance of matching and sorting (n=12): time 0.0001993/0.006412, allocations: 129.4 kB / 329.7 MB, free: 10.46 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.778e-05/0.00645, allocations: 106.8 kB / 329.8 MB, free: 10.33 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000121/0.006571, allocations: 215.8 kB / 330 MB, free: 10.11 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.107e-05/0.006582, allocations: 33.7 kB / 330 MB, free: 10.07 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.848e-05/0.006641, allocations: 136.1 kB / 330.2 MB, free: 9.93 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.536e-05/0.006666, allocations: 55.53 kB / 330.2 MB, free: 9.875 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.053e-05/0.006706, allocations: 45.94 kB / 330.3 MB, free: 9.82 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 7.921e-05/0.006786, allocations: 334.8 kB / 330.6 MB, free: 9.484 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.47e-05/0.00683, allocations: 36.45 kB / 330.6 MB, free: 9.449 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.575e-05/0.006916, allocations: 139.6 kB / 330.8 MB, free: 9.266 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001397/0.007056, allocations: 197.5 kB / 331 MB, free: 9.023 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.064e-06/0.007058, allocations: 0 / 331 MB, free: 9.023 MB / 298.7 MB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0001891/0.007247, allocations: 225.8 kB / 331.2 MB, free: 8.797 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.261e-05/0.00726, allocations: 8 kB / 331.2 MB, free: 8.789 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.37e-06/0.007265, allocations: 4 kB / 331.2 MB, free: 8.785 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.274e-05/0.007278, allocations: 4 kB / 331.2 MB, free: 8.781 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.45e-05/0.007362, allocations: 51.86 kB / 331.2 MB, free: 8.73 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.596e-06/0.007371, allocations: 11.92 kB / 331.3 MB, free: 8.719 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.08e-05/0.007432, allocations: 28.19 kB / 331.3 MB, free: 8.691 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.197e-06/0.007441, allocations: 15.98 kB / 331.3 MB, free: 8.676 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.914e-05/0.00751, allocations: 137.7 kB / 331.4 MB, free: 8.531 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.27e-05/0.007543, allocations: 15.91 kB / 331.5 MB, free: 8.516 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.886e-05/0.007571, allocations: 25.02 kB / 331.5 MB, free: 8.492 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.054e-06/0.007574, allocations: 4 kB / 331.5 MB, free: 8.488 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.567e-06/0.007577, allocations: 0 / 331.5 MB, free: 8.488 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.394e-06/0.007579, allocations: 0 / 331.5 MB, free: 8.488 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002458/0.007825, allocations: 204.5 kB / 331.7 MB, free: 8.246 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.042e-06/0.007826, allocations: 0 / 331.7 MB, free: 8.246 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.594e-05/0.007902, allocations: 27.98 kB / 331.7 MB, free: 8.219 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.863e-06/0.007904, allocations: 11.94 kB / 331.7 MB, free: 8.207 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.398e-06/0.007914, allocations: 7.984 kB / 331.7 MB, free: 8.199 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.723e-06/0.007915, allocations: 4 kB / 331.7 MB, free: 8.195 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.603e-06/0.007917, allocations: 4 kB / 331.7 MB, free: 8.191 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001979/0.008115, allocations: 385.7 kB / 332.1 MB, free: 7.797 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.956e-05/0.008134, allocations: 23.95 kB / 332.1 MB, free: 7.773 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.444e-05/0.008149, allocations: 0 / 332.1 MB, free: 7.773 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.892e-05/0.008228, allocations: 8 kB / 332.1 MB, free: 7.766 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.512e-05/0.008243, allocations: 11.92 kB / 332.2 MB, free: 7.754 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.475e-06/0.008245, allocations: 0 / 332.2 MB, free: 7.754 MB / 298.7 MB Notification: Performance of sorting global known variables: time 7.37e-05/0.008319, allocations: 153.5 kB / 332.3 MB, free: 7.605 MB / 298.7 MB Notification: Performance of sort global known variables: time 5e-08/0.008319, allocations: 4 kB / 332.3 MB, free: 7.602 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0002224/0.008541, allocations: 47.88 kB / 332.4 MB, free: 7.555 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.0003311/0.008872, allocations: 0.91 MB / 333.3 MB, free: 6.613 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0001304/0.009003, allocations: 107.8 kB / 333.4 MB, free: 6.508 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 1.523e-06/0.009004, allocations: 0.8125 kB / 333.4 MB, free: 6.508 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 3.014e-05/0.009034, allocations: 35.92 kB / 333.4 MB, free: 6.473 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003111/0.009346, allocations: 31.31 kB / 333.4 MB, free: 6.445 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001789/0.01113, allocations: 2.481 MB / 335.9 MB, free: 3.785 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.938e-05/0.0112, allocations: 116.1 kB / 336 MB, free: 3.652 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 4.322e-05/0.01125, allocations: 17.95 kB / 336 MB, free: 3.633 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.455e-05/0.0113, allocations: 52.48 kB / 336.1 MB, free: 3.582 MB / 298.7 MB Notification: Performance of SimCode: time 4.31e-07/0.0113, allocations: 0 / 336.1 MB, free: 3.582 MB / 298.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01561/0.02691, allocations: 4.18 MB / 340.3 MB, free: 15.54 MB / 314.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.459/6.486, allocations: 11.12 kB / 340.3 MB, free: 15.53 MB / 314.7 MB " [Timeout remaining time 653] (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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Mechanics/Translational/Examples/SignConvention/SignConvention.csv","/var/lib/jenkins/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: 8.044333782047033]