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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) 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"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001231/0.001231, allocations: 112.8 kB / 17.06 MB, free: 5.773 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001243/0.001243, allocations: 200 kB / 18.01 MB, free: 4.914 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.404/1.404, allocations: 222.9 MB / 241.7 MB, free: 15.15 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001482/0.001482, allocations: 51.91 kB / 350.8 MB, free: 3.77 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2862/0.2877, allocations: 49.43 MB / 400.2 MB, free: 8.418 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.SignConvention): time 0.003479/0.2912, allocations: 2.104 MB / 402.3 MB, free: 6.715 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.000431/0.2917, allocations: 155.4 kB / 402.5 MB, free: 6.562 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001182/0.2918, allocations: 4 kB / 402.5 MB, free: 6.559 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001643/0.2919, allocations: 35.66 kB / 402.5 MB, free: 6.523 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001007/0.2921, allocations: 43.58 kB / 402.6 MB, free: 6.48 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001838/0.2923, allocations: 39.95 kB / 402.6 MB, free: 6.441 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002796/0.2926, allocations: 183.2 kB / 402.8 MB, free: 6.262 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001984/0.2928, allocations: 62.27 kB / 402.8 MB, free: 6.199 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.356e-05/0.2929, allocations: 63.78 kB / 402.9 MB, free: 6.137 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001579/0.293, allocations: 75.62 kB / 403 MB, free: 6.062 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 3.133e-05/0.2931, allocations: 16 kB / 403 MB, free: 6.047 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.151e-05/0.2931, allocations: 12 kB / 403 MB, free: 6.035 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 4.005e-05/0.2931, allocations: 31.86 kB / 403 MB, free: 6.004 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001002/0.2932, allocations: 83.59 kB / 403.1 MB, free: 5.922 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002856/0.2935, allocations: 182.3 kB / 403.3 MB, free: 5.746 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.989e-06/0.2935, allocations: 4 kB / 403.3 MB, free: 5.742 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.883e-06/0.2936, allocations: 0 / 403.3 MB, free: 5.742 MB / 318.1 MB Notification: Performance of Transformations before backend: time 8.175e-06/0.2936, allocations: 0 / 403.3 MB, free: 5.742 MB / 318.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.0007027/0.2943, allocations: 474.6 kB / 403.8 MB, free: 5.23 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.175e-05/0.2943, allocations: 8.031 kB / 403.8 MB, free: 5.223 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.878e-05/0.2944, allocations: 46.73 kB / 403.8 MB, free: 5.168 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.321e-05/0.2945, allocations: 24.84 kB / 403.8 MB, free: 5.145 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003318/0.2948, allocations: 220.1 kB / 404.1 MB, free: 4.891 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.056e-05/0.2948, allocations: 12.38 kB / 404.1 MB, free: 4.879 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.773e-05/0.2949, allocations: 16.38 kB / 404.1 MB, free: 4.863 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003171/0.2952, allocations: 185.9 kB / 404.3 MB, free: 4.66 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.133e-05/0.2952, allocations: 8 kB / 404.3 MB, free: 4.652 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.624e-05/0.2952, allocations: 8 kB / 404.3 MB, free: 4.645 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.678e-06/0.2953, allocations: 7.984 kB / 404.3 MB, free: 4.637 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000184/0.2954, allocations: 99.89 kB / 404.4 MB, free: 4.539 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00135/0.2968, allocations: 0.9624 MB / 405.4 MB, free: 3.492 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001555/0.297, allocations: 103.7 kB / 405.5 MB, free: 3.363 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.271e-05/0.297, allocations: 46.75 kB / 405.5 MB, free: 3.309 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.337e-05/0.2971, allocations: 4 kB / 405.5 MB, free: 3.305 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.08e-05/0.2971, allocations: 38.5 kB / 405.5 MB, free: 3.258 MB / 318.1 MB Notification: Performance of pre-optimization done (n=12): time 1.233e-06/0.2971, allocations: 0 / 405.5 MB, free: 3.258 MB / 318.1 MB Notification: Performance of matching and sorting (n=12): time 0.0003035/0.2974, allocations: 125.5 kB / 405.7 MB, free: 3.129 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.908e-05/0.2975, allocations: 106.8 kB / 405.8 MB, free: 3 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002162/0.2977, allocations: 207.7 kB / 406 MB, free: 2.785 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 2.052e-05/0.2978, allocations: 33.7 kB / 406 MB, free: 2.746 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001114/0.2979, allocations: 144.1 kB / 406.1 MB, free: 2.602 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.393e-05/0.2979, allocations: 47.59 kB / 406.2 MB, free: 2.555 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.904e-05/0.298, allocations: 45.94 kB / 406.2 MB, free: 2.5 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001577/0.2982, allocations: 326.8 kB / 406.6 MB, free: 2.172 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.3e-05/0.2983, allocations: 44.44 kB / 406.6 MB, free: 2.129 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001507/0.2984, allocations: 143.3 kB / 406.7 MB, free: 1.941 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002721/0.2987, allocations: 198.1 kB / 406.9 MB, free: 1.699 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.325e-06/0.2987, allocations: 0 / 406.9 MB, free: 1.699 MB / 318.1 MB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0003376/0.299, allocations: 225.6 kB / 407.1 MB, free: 1.473 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.212e-05/0.2991, allocations: 12 kB / 407.2 MB, free: 1.461 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.606e-06/0.2991, allocations: 4 kB / 407.2 MB, free: 1.457 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.895e-05/0.2991, allocations: 4 kB / 407.2 MB, free: 1.453 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000158/0.2993, allocations: 47.92 kB / 407.2 MB, free: 1.406 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.27e-05/0.2993, allocations: 7.984 kB / 407.2 MB, free: 1.398 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001158/0.2994, allocations: 31.72 kB / 407.3 MB, free: 1.367 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.382e-05/0.2994, allocations: 8 kB / 407.3 MB, free: 1.359 MB / 318.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.0001344/0.2996, allocations: 137.7 kB / 407.4 MB, free: 1.215 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.643e-05/0.2996, allocations: 19.91 kB / 407.4 MB, free: 1.195 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.438e-05/0.2997, allocations: 20.92 kB / 407.4 MB, free: 1.168 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.668e-06/0.2997, allocations: 4 kB / 407.4 MB, free: 1.164 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.939e-06/0.2997, allocations: 3.938 kB / 407.4 MB, free: 1.16 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.114e-06/0.2997, allocations: 7.938 kB / 407.5 MB, free: 1.152 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004481/0.3002, allocations: 245.5 kB / 407.7 MB, free: 0.8633 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.503e-06/0.3002, allocations: 3.938 kB / 407.7 MB, free: 0.8594 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001455/0.3003, allocations: 27.98 kB / 407.7 MB, free: 0.832 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.729e-06/0.3004, allocations: 0 / 407.7 MB, free: 0.832 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.466e-05/0.3004, allocations: 7.938 kB / 407.7 MB, free: 0.8242 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.683e-06/0.3004, allocations: 0 / 407.7 MB, free: 0.8242 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.072e-06/0.3004, allocations: 4 kB / 407.7 MB, free: 0.8203 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003761/0.3008, allocations: 393.8 kB / 408.1 MB, free: 428 kB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.003e-05/0.3009, allocations: 92.95 kB / 408.2 MB, free: 316 kB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.635e-05/0.3009, allocations: 4 kB / 408.2 MB, free: 312 kB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001398/0.301, allocations: 4.062 kB / 408.2 MB, free: 308 kB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.55e-05/0.3011, allocations: 15.92 kB / 408.2 MB, free: 292 kB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.184e-06/0.3011, allocations: 4 kB / 408.2 MB, free: 288 kB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0001261/0.3012, allocations: 149.5 kB / 408.4 MB, free: 140 kB / 318.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.3012, allocations: 0 / 408.4 MB, free: 140 kB / 318.1 MB Notification: Performance of remove unused functions: time 0.0003581/0.3016, allocations: 40 kB / 408.4 MB, free: 100 kB / 318.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.0006881/0.3023, allocations: 0.9257 MB / 409.3 MB, free: 15.14 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0002265/0.3025, allocations: 107.8 kB / 409.5 MB, free: 15.04 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.305e-06/0.3025, allocations: 0 / 409.5 MB, free: 15.04 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 5.094e-05/0.3026, allocations: 36.73 kB / 409.5 MB, free: 15 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005143/0.3031, allocations: 32.58 kB / 409.5 MB, free: 14.97 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002964/0.3061, allocations: 2.638 MB / 412.2 MB, free: 12.15 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003871/0.3065, allocations: 0.7242 MB / 412.9 MB, free: 11.4 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 7.306e-05/0.3066, allocations: 25.92 kB / 412.9 MB, free: 11.38 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001004/0.3067, allocations: 51.42 kB / 413 MB, free: 11.33 MB / 334.1 MB Notification: Performance of SimCode: time 2.104e-06/0.3067, allocations: 0 / 413 MB, free: 11.33 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02921/0.3359, allocations: 3.467 MB / 416.4 MB, free: 7.957 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.869/8.205, allocations: 2.406 kB / 416.4 MB, free: 7.957 MB / 334.1 MB (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) 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) Reference file matches