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.00176/0.00176, allocations: 112.2 kB / 20.43 MB, free: 1.465 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.002246/0.002246, allocations: 184.1 kB / 23.71 MB, free: 4.723 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.42/1.42, allocations: 225.6 MB / 252.5 MB, free: 13.01 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="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 0.001497/0.001497, allocations: 47.92 kB / 370.4 MB, free: 9.938 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2847/0.2862, allocations: 52.19 MB / 422.6 MB, free: 14.61 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.SignConvention): time 0.003473/0.2897, allocations: 2.117 MB / 424.7 MB, free: 12.49 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0004285/0.2901, allocations: 175.3 kB / 424.9 MB, free: 12.32 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000107/0.2902, allocations: 4 kB / 424.9 MB, free: 12.31 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001464/0.2904, allocations: 27.66 kB / 424.9 MB, free: 12.29 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001044/0.2905, allocations: 51.58 kB / 425 MB, free: 12.23 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001899/0.2907, allocations: 35.95 kB / 425 MB, free: 12.2 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002567/0.2909, allocations: 187.2 kB / 425.2 MB, free: 12.02 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001637/0.2911, allocations: 38.42 kB / 425.2 MB, free: 11.97 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.161e-05/0.2912, allocations: 67.78 kB / 425.3 MB, free: 11.91 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001462/0.2913, allocations: 79.62 kB / 425.4 MB, free: 11.83 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 3.382e-05/0.2913, allocations: 12 kB / 425.4 MB, free: 11.82 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.809e-05/0.2914, allocations: 12 kB / 425.4 MB, free: 11.8 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 4.781e-05/0.2914, allocations: 39.84 kB / 425.5 MB, free: 11.77 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 8.612e-05/0.2915, allocations: 75.61 kB / 425.5 MB, free: 11.69 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002608/0.2918, allocations: 191.5 kB / 425.7 MB, free: 11.51 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.46e-06/0.2918, allocations: 0 / 425.7 MB, free: 11.51 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.964e-06/0.2918, allocations: 4 kB / 425.7 MB, free: 11.51 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.214e-05/0.2918, allocations: 0 / 425.7 MB, free: 11.51 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.0006942/0.2925, allocations: 389.5 kB / 426.1 MB, free: 11.1 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.275e-05/0.2925, allocations: 16.02 kB / 426.1 MB, free: 11.08 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.929e-05/0.2926, allocations: 50.73 kB / 426.2 MB, free: 11.02 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.231e-05/0.2926, allocations: 20.84 kB / 426.2 MB, free: 11 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002992/0.2929, allocations: 158.2 kB / 426.3 MB, free: 10.82 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.869e-05/0.293, allocations: 12.38 kB / 426.4 MB, free: 10.81 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.308e-05/0.293, allocations: 20.38 kB / 426.4 MB, free: 10.79 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003093/0.2933, allocations: 182.2 kB / 426.6 MB, free: 10.59 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.08e-05/0.2933, allocations: 8 kB / 426.6 MB, free: 10.59 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.695e-05/0.2933, allocations: 4 kB / 426.6 MB, free: 10.58 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.566e-06/0.2934, allocations: 4 kB / 426.6 MB, free: 10.58 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000185/0.2935, allocations: 106.9 kB / 426.7 MB, free: 10.48 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001353/0.2949, allocations: 0.9187 MB / 427.6 MB, free: 9.48 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001774/0.2951, allocations: 99.81 kB / 427.7 MB, free: 9.355 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.645e-05/0.2951, allocations: 42.66 kB / 427.7 MB, free: 9.305 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.664e-05/0.2952, allocations: 8 kB / 427.7 MB, free: 9.297 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.869e-05/0.2952, allocations: 34.5 kB / 427.8 MB, free: 9.254 MB / 334.1 MB Notification: Performance of pre-optimization done (n=12): time 1.453e-06/0.2952, allocations: 0 / 427.8 MB, free: 9.254 MB / 334.1 MB Notification: Performance of matching and sorting (n=12): time 0.0003321/0.2955, allocations: 125.5 kB / 427.9 MB, free: 9.125 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.47e-05/0.2956, allocations: 106.8 kB / 428 MB, free: 8.996 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002286/0.2958, allocations: 207.7 kB / 428.2 MB, free: 8.781 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 3.211e-05/0.2959, allocations: 33.7 kB / 428.2 MB, free: 8.742 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001193/0.296, allocations: 148.1 kB / 428.4 MB, free: 8.594 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.604e-05/0.296, allocations: 47.59 kB / 428.4 MB, free: 8.547 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.869e-05/0.2961, allocations: 45.94 kB / 428.5 MB, free: 8.492 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0002155/0.2963, allocations: 326.8 kB / 428.8 MB, free: 8.164 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.498e-05/0.2964, allocations: 40.45 kB / 428.8 MB, free: 8.125 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001678/0.2966, allocations: 148.4 kB / 429 MB, free: 7.934 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002671/0.2968, allocations: 193.5 kB / 429.2 MB, free: 7.695 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.54e-06/0.2968, allocations: 3.984 kB / 429.2 MB, free: 7.691 MB / 334.1 MB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0003351/0.2972, allocations: 226.1 kB / 429.4 MB, free: 7.465 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.085e-05/0.2972, allocations: 8 kB / 429.4 MB, free: 7.457 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.776e-06/0.2972, allocations: 4 kB / 429.4 MB, free: 7.453 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.266e-05/0.2972, allocations: 7.984 kB / 429.4 MB, free: 7.445 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001595/0.2974, allocations: 51.92 kB / 429.5 MB, free: 7.395 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.348e-06/0.2974, allocations: 4 kB / 429.5 MB, free: 7.391 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001139/0.2975, allocations: 27.78 kB / 429.5 MB, free: 7.363 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.616e-05/0.2975, allocations: 12 kB / 429.5 MB, free: 7.352 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.0001239/0.2976, allocations: 145.7 kB / 429.6 MB, free: 7.199 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.805e-05/0.2977, allocations: 19.91 kB / 429.7 MB, free: 7.18 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.924e-05/0.2978, allocations: 17.03 kB / 429.7 MB, free: 7.16 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.99e-06/0.2978, allocations: 4 kB / 429.7 MB, free: 7.156 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.698e-06/0.2978, allocations: 0 / 429.7 MB, free: 7.156 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.969e-06/0.2978, allocations: 7.922 kB / 429.7 MB, free: 7.148 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004147/0.2982, allocations: 208.6 kB / 429.9 MB, free: 6.902 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.323e-06/0.2982, allocations: 3.938 kB / 429.9 MB, free: 6.898 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001443/0.2983, allocations: 27.98 kB / 429.9 MB, free: 6.871 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.204e-06/0.2983, allocations: 3.938 kB / 429.9 MB, free: 6.867 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.499e-05/0.2984, allocations: 11.98 kB / 429.9 MB, free: 6.855 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.623e-06/0.2984, allocations: 4 kB / 429.9 MB, free: 6.852 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.816e-06/0.2984, allocations: 4 kB / 429.9 MB, free: 6.848 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003462/0.2987, allocations: 385.8 kB / 430.3 MB, free: 6.453 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.025e-05/0.2988, allocations: 19.83 kB / 430.3 MB, free: 6.434 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.954e-05/0.2988, allocations: 8.062 kB / 430.4 MB, free: 6.426 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001505/0.2989, allocations: 0 / 430.4 MB, free: 6.426 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.86e-05/0.299, allocations: 15.92 kB / 430.4 MB, free: 6.41 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.736e-06/0.299, allocations: 8 kB / 430.4 MB, free: 6.402 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0001292/0.2991, allocations: 145.5 kB / 430.5 MB, free: 6.262 MB / 334.1 MB Notification: Performance of sort global known variables: time 8e-08/0.2991, allocations: 0 / 430.5 MB, free: 6.262 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0003546/0.2995, allocations: 36 kB / 430.6 MB, free: 6.227 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.0006453/0.3001, allocations: 0.9179 MB / 431.5 MB, free: 5.277 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0002324/0.3003, allocations: 99.83 kB / 431.6 MB, free: 5.18 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 4.909e-06/0.3003, allocations: 4.812 kB / 431.6 MB, free: 5.176 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 5.53e-05/0.3004, allocations: 35.92 kB / 431.6 MB, free: 5.141 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005184/0.3009, allocations: 31.92 kB / 431.6 MB, free: 5.109 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002989/0.3039, allocations: 2.629 MB / 434.3 MB, free: 2.301 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003655/0.3043, allocations: 0.7203 MB / 435 MB, free: 1.555 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 6.865e-05/0.3043, allocations: 25.94 kB / 435 MB, free: 1.531 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001305/0.3045, allocations: 51.42 kB / 435.1 MB, free: 1.48 MB / 334.1 MB Notification: Performance of SimCode: time 3.1e-07/0.3045, allocations: 3.938 kB / 435.1 MB, free: 1.477 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03232/0.3368, allocations: 3.702 MB / 438.8 MB, free: 13.91 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.79/11.13, allocations: 6.109 kB / 438.8 MB, free: 13.91 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 & python3 -m fmpy simulate --output-file Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.SignConvention_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.001 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.csv","/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] "Error: Could not read variable mass3.v in file Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.SignConvention_res.csv. Warning: Get data of variable mass3.v from file Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.SignConvention_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 13.66414711499965]