Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_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.001437/0.001437, allocations: 113.6 kB / 21.19 MB, free: 0.7031 MB / 14.72 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.001826/0.001826, allocations: 208.6 kB / 24.49 MB, free: 4.055 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.557/1.557, allocations: 207.6 MB / 235.3 MB, free: 10 MB / 190.1 MB " [Timeout remaining time 178] Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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_3_2_3_Modelica_Mechanics_Translational_Examples_SignConvention",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Mechanics.Translational.Examples.SignConvention,fileNamePrefix="Modelica_3_2_3_Modelica_Mechanics_Translational_Examples_SignConvention",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Modelica requested package Complex of version 3.2.3. Complex 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001888/0.001888, allocations: 51.92 kB / 347.2 MB, free: 10.05 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2885/0.2904, allocations: 49.17 MB / 396.3 MB, free: 8.98 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.SignConvention): time 0.003263/0.2937, allocations: 2.111 MB / 398.5 MB, free: 7.527 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003837/0.294, allocations: 156.1 kB / 398.6 MB, free: 7.414 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001105/0.2941, allocations: 7.375 kB / 398.6 MB, free: 7.41 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001442/0.2943, allocations: 27.19 kB / 398.6 MB, free: 7.395 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 9.361e-05/0.2944, allocations: 50.75 kB / 398.7 MB, free: 7.355 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002001/0.2946, allocations: 39.06 kB / 398.7 MB, free: 7.336 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002535/0.2948, allocations: 180.4 kB / 398.9 MB, free: 7.246 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001675/0.295, allocations: 55.86 kB / 399 MB, free: 7.215 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.652e-05/0.2951, allocations: 70.64 kB / 399 MB, free: 7.184 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001332/0.2952, allocations: 70.39 kB / 399.1 MB, free: 7.148 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 3.35e-05/0.2953, allocations: 13.47 kB / 399.1 MB, free: 7.148 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.113e-05/0.2953, allocations: 13.34 kB / 399.1 MB, free: 7.148 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 3.809e-05/0.2953, allocations: 38.88 kB / 399.2 MB, free: 7.121 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 9.429e-05/0.2954, allocations: 84.19 kB / 399.2 MB, free: 7.07 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003291/0.2958, allocations: 176.5 kB / 399.4 MB, free: 7.004 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.315e-06/0.2958, allocations: 1.891 kB / 399.4 MB, free: 7.004 MB / 318.1 MB Notification: Performance of FrontEnd: time 2.434e-06/0.2958, allocations: 0 / 399.4 MB, free: 7.004 MB / 318.1 MB Notification: Performance of Transformations before backend: time 1.432e-05/0.2958, allocations: 0 / 399.4 MB, free: 7.004 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.0006625/0.2965, allocations: 400.4 kB / 399.8 MB, free: 6.66 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.862e-05/0.2965, allocations: 12.92 kB / 399.8 MB, free: 6.656 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.818e-05/0.2965, allocations: 55.53 kB / 399.9 MB, free: 6.602 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.163e-05/0.2966, allocations: 19.58 kB / 399.9 MB, free: 6.594 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002806/0.2969, allocations: 159.6 kB / 400 MB, free: 6.438 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.161e-05/0.2969, allocations: 14.97 kB / 400.1 MB, free: 6.43 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.05e-05/0.297, allocations: 16.22 kB / 400.1 MB, free: 6.426 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003329/0.2973, allocations: 192.9 kB / 400.3 MB, free: 6.297 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.032e-05/0.2973, allocations: 5.062 kB / 400.3 MB, free: 6.293 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.073e-05/0.2973, allocations: 10 kB / 400.3 MB, free: 6.285 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.026e-05/0.2973, allocations: 5.25 kB / 400.3 MB, free: 6.285 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002102/0.2975, allocations: 95.86 kB / 400.4 MB, free: 6.258 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001192/0.2987, allocations: 0.9139 MB / 401.3 MB, free: 5.461 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00014/0.2989, allocations: 100.5 kB / 401.4 MB, free: 5.371 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.763e-05/0.2989, allocations: 46.31 kB / 401.4 MB, free: 5.332 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.364e-05/0.2989, allocations: 2.031 kB / 401.4 MB, free: 5.332 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.912e-05/0.299, allocations: 32.73 kB / 401.5 MB, free: 5.293 MB / 318.1 MB Notification: Performance of pre-optimization done (n=12): time 1.372e-06/0.299, allocations: 0 / 401.5 MB, free: 5.293 MB / 318.1 MB Notification: Performance of matching and sorting (n=12): time 0.0003158/0.2993, allocations: 127.9 kB / 401.6 MB, free: 5.227 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.889e-05/0.2993, allocations: 110.1 kB / 401.7 MB, free: 5.098 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002095/0.2995, allocations: 210.6 kB / 401.9 MB, free: 4.953 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.397e-05/0.2996, allocations: 27.77 kB / 401.9 MB, free: 4.922 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.53e-05/0.2996, allocations: 143.5 kB / 402.1 MB, free: 4.793 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.31e-05/0.2997, allocations: 55.16 kB / 402.1 MB, free: 4.75 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.588e-05/0.2998, allocations: 40 kB / 402.2 MB, free: 4.723 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 8.088e-05/0.2998, allocations: 333 kB / 402.5 MB, free: 4.398 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.461e-05/0.2999, allocations: 38.25 kB / 402.5 MB, free: 4.387 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001194/0.3, allocations: 149.3 kB / 402.7 MB, free: 4.23 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000185/0.3002, allocations: 204.7 kB / 402.9 MB, free: 4.039 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.025e-06/0.3002, allocations: 1.188 kB / 402.9 MB, free: 4.039 MB / 318.1 MB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0002989/0.3005, allocations: 216.8 kB / 403.1 MB, free: 3.934 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.883e-05/0.3005, allocations: 7.125 kB / 403.1 MB, free: 3.934 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.067e-06/0.3005, allocations: 4.125 kB / 403.1 MB, free: 3.934 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.287e-05/0.3006, allocations: 5.625 kB / 403.1 MB, free: 3.934 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001627/0.3007, allocations: 51.55 kB / 403.2 MB, free: 3.926 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.311e-05/0.3007, allocations: 9.516 kB / 403.2 MB, free: 3.922 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000108/0.3008, allocations: 32.09 kB / 403.2 MB, free: 3.898 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.534e-05/0.3009, allocations: 11.16 kB / 403.2 MB, free: 3.898 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 7.767e-05/0.3009, allocations: 135.5 kB / 403.3 MB, free: 3.766 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.89e-05/0.301, allocations: 17.73 kB / 403.4 MB, free: 3.758 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.41e-05/0.3011, allocations: 20.56 kB / 403.4 MB, free: 3.734 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.477e-06/0.3011, allocations: 1.562 kB / 403.4 MB, free: 3.734 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.54e-06/0.3011, allocations: 0.5625 kB / 403.4 MB, free: 3.734 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.891e-06/0.3011, allocations: 6.391 kB / 403.4 MB, free: 3.73 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003682/0.3014, allocations: 213.4 kB / 403.6 MB, free: 3.543 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.595e-06/0.3014, allocations: 1.906 kB / 403.6 MB, free: 3.543 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001437/0.3016, allocations: 35.5 kB / 403.6 MB, free: 3.535 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.654e-06/0.3016, allocations: 5.125 kB / 403.6 MB, free: 3.531 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.262e-05/0.3016, allocations: 3.062 kB / 403.6 MB, free: 3.531 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.637e-06/0.3016, allocations: 1.609 kB / 403.6 MB, free: 3.531 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.455e-06/0.3016, allocations: 5 kB / 403.6 MB, free: 3.527 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000245/0.3019, allocations: 381.9 kB / 404 MB, free: 3.207 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.971e-05/0.3019, allocations: 22.73 kB / 404 MB, free: 3.191 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.728e-05/0.3019, allocations: 7.562 kB / 404 MB, free: 3.188 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001405/0.302, allocations: 4 kB / 404.1 MB, free: 3.184 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.387e-05/0.3021, allocations: 12.8 kB / 404.1 MB, free: 3.18 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.574e-06/0.3021, allocations: 6.859 kB / 404.1 MB, free: 3.176 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0001087/0.3022, allocations: 149.7 kB / 404.2 MB, free: 3.078 MB / 318.1 MB Notification: Performance of sort global known variables: time 8.1e-08/0.3022, allocations: 0 / 404.2 MB, free: 3.078 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0003629/0.3026, allocations: 39.78 kB / 404.3 MB, free: 3.07 MB / 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.0004095/0.303, allocations: 0.9134 MB / 405.2 MB, free: 2.211 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0002502/0.3032, allocations: 108.1 kB / 405.3 MB, free: 2.176 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 2.685e-06/0.3032, allocations: 4.188 kB / 405.3 MB, free: 2.172 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 5.275e-05/0.3033, allocations: 32.38 kB / 405.3 MB, free: 2.164 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005319/0.3038, allocations: 40.02 kB / 405.4 MB, free: 2.141 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002524/0.3063, allocations: 2.631 MB / 408 MB, free: 15.95 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003825/0.3067, allocations: 0.7264 MB / 408.7 MB, free: 15.25 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 8.14e-05/0.3068, allocations: 14.25 kB / 408.7 MB, free: 15.25 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.622e-05/0.3069, allocations: 55.03 kB / 408.8 MB, free: 15.2 MB / 334.1 MB Notification: Performance of SimCode: time 1.302e-06/0.3069, allocations: 0 / 408.8 MB, free: 15.2 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03405/0.3409, allocations: 3.699 MB / 412.5 MB, free: 14.14 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.24/11.58, allocations: 1 kB / 412.5 MB, free: 14.14 MB / 334.1 MB " [Timeout remaining time 648] (rm -f Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.SignConvention.pipe ; mkfifo Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.SignConvention.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.SignConvention.pipe >> ../files/Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.SignConvention.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.SignConvention_res.mat --tempDir=temp_Modelica_3_2_3_Modelica_Mechanics_Translational_Examples_SignConvention_fmu --startTime=0 --stopTime=1 --stepSize=0.001 --timeout=50 --tolerance=1e-06 Modelica_3_2_3_Modelica_Mechanics_Translational_Examples_SignConvention.fmu > Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.SignConvention.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.SignConvention_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Mechanics/Translational/Examples/SignConvention/SignConvention.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_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: 14.066146139986813]