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.001395/0.001395, allocations: 107.6 kB / 21.18 MB, free: 0.5781 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.001481/0.001481, allocations: 216 kB / 24.48 MB, free: 3.867 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.333/1.333, allocations: 207.7 MB / 235.3 MB, free: 9.797 MB / 190.1 MB " [Timeout remaining time 179] 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.001821/0.001821, allocations: 51.92 kB / 347.2 MB, free: 9.902 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2265/0.2283, allocations: 49.16 MB / 396.3 MB, free: 8.863 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.SignConvention): time 0.003155/0.2315, allocations: 1.997 MB / 398.3 MB, free: 7.531 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.0004462/0.2319, allocations: 156.2 kB / 398.5 MB, free: 7.418 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001409/0.232, allocations: 7.812 kB / 398.5 MB, free: 7.414 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001391/0.2322, allocations: 26.72 kB / 398.5 MB, free: 7.398 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001217/0.2323, allocations: 51.25 kB / 398.6 MB, free: 7.359 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001741/0.2325, allocations: 42.67 kB / 398.6 MB, free: 7.336 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002236/0.2327, allocations: 181.4 kB / 398.8 MB, free: 7.246 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001394/0.2328, allocations: 43.66 kB / 398.8 MB, free: 7.223 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.392e-05/0.2329, allocations: 68.78 kB / 398.9 MB, free: 7.191 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001196/0.2331, allocations: 67.86 kB / 399 MB, free: 7.16 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 2.912e-05/0.2331, allocations: 12.94 kB / 399 MB, free: 7.16 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.301e-05/0.2331, allocations: 14.41 kB / 399 MB, free: 7.16 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 2.901e-05/0.2331, allocations: 29.88 kB / 399 MB, free: 7.141 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 6.504e-05/0.2332, allocations: 72.34 kB / 399.1 MB, free: 7.102 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002104/0.2334, allocations: 180.4 kB / 399.3 MB, free: 7.031 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.808e-06/0.2334, allocations: 5.031 kB / 399.3 MB, free: 7.027 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.563e-06/0.2334, allocations: 0 / 399.3 MB, free: 7.027 MB / 318.1 MB Notification: Performance of Transformations before backend: time 5.881e-06/0.2334, allocations: 0 / 399.3 MB, free: 7.027 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.0004967/0.2339, allocations: 400.5 kB / 399.7 MB, free: 6.684 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.688e-05/0.234, allocations: 13.77 kB / 399.7 MB, free: 6.68 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.896e-05/0.234, allocations: 47.97 kB / 399.7 MB, free: 6.633 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.862e-05/0.234, allocations: 18.94 kB / 399.7 MB, free: 6.625 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000232/0.2343, allocations: 162.6 kB / 399.9 MB, free: 6.465 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.643e-05/0.2343, allocations: 11.03 kB / 399.9 MB, free: 6.461 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.275e-05/0.2343, allocations: 16.55 kB / 399.9 MB, free: 6.457 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002598/0.2346, allocations: 185.5 kB / 400.1 MB, free: 6.336 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.791e-05/0.2346, allocations: 9.797 kB / 400.1 MB, free: 6.328 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.687e-05/0.2346, allocations: 10.19 kB / 400.1 MB, free: 6.32 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.875e-06/0.2346, allocations: 4.281 kB / 400.1 MB, free: 6.32 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001669/0.2348, allocations: 98.22 kB / 400.2 MB, free: 6.289 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009829/0.2358, allocations: 0.8934 MB / 401.1 MB, free: 5.496 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001104/0.2359, allocations: 100.4 kB / 401.2 MB, free: 5.406 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.691e-05/0.2359, allocations: 42.78 kB / 401.3 MB, free: 5.371 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.939e-06/0.2359, allocations: 2.375 kB / 401.3 MB, free: 5.371 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.351e-05/0.236, allocations: 38.47 kB / 401.3 MB, free: 5.328 MB / 318.1 MB Notification: Performance of pre-optimization done (n=12): time 2.104e-06/0.236, allocations: 3.984 kB / 401.3 MB, free: 5.324 MB / 318.1 MB Notification: Performance of matching and sorting (n=12): time 0.0002695/0.2362, allocations: 122.3 kB / 401.4 MB, free: 5.262 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.07e-05/0.2363, allocations: 110 kB / 401.5 MB, free: 5.133 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001636/0.2364, allocations: 213.3 kB / 401.7 MB, free: 4.988 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.123e-05/0.2364, allocations: 26.77 kB / 401.8 MB, free: 4.957 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.594e-05/0.2365, allocations: 147.3 kB / 401.9 MB, free: 4.824 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.151e-05/0.2365, allocations: 55.42 kB / 402 MB, free: 4.781 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.179e-05/0.2366, allocations: 48.17 kB / 402 MB, free: 4.746 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 4.748e-05/0.2366, allocations: 329 kB / 402.3 MB, free: 4.426 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.259e-05/0.2367, allocations: 39.22 kB / 402.4 MB, free: 4.414 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001052/0.2368, allocations: 141.8 kB / 402.5 MB, free: 4.27 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000172/0.237, allocations: 200.7 kB / 402.7 MB, free: 4.086 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.855e-06/0.237, allocations: 0 / 402.7 MB, free: 4.086 MB / 318.1 MB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0002779/0.2373, allocations: 216.7 kB / 402.9 MB, free: 3.98 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.714e-05/0.2373, allocations: 7.656 kB / 402.9 MB, free: 3.98 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.546e-06/0.2373, allocations: 3.344 kB / 402.9 MB, free: 3.98 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.911e-05/0.2373, allocations: 9.719 kB / 402.9 MB, free: 3.977 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001467/0.2375, allocations: 47.69 kB / 403 MB, free: 3.973 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.117e-05/0.2375, allocations: 10.47 kB / 403 MB, free: 3.969 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001116/0.2376, allocations: 32.81 kB / 403 MB, free: 3.945 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.449e-05/0.2376, allocations: 10.53 kB / 403 MB, free: 3.945 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 6.979e-05/0.2377, allocations: 139.6 kB / 403.2 MB, free: 3.809 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.41e-05/0.2377, allocations: 21.5 kB / 403.2 MB, free: 3.797 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.062e-05/0.2378, allocations: 19.53 kB / 403.2 MB, free: 3.773 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.679e-06/0.2378, allocations: 2.984 kB / 403.2 MB, free: 3.773 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.751e-06/0.2378, allocations: 1.125 kB / 403.2 MB, free: 3.773 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.358e-06/0.2378, allocations: 5.719 kB / 403.2 MB, free: 3.77 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003631/0.2382, allocations: 200.5 kB / 403.4 MB, free: 3.586 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.224e-06/0.2382, allocations: 2.141 kB / 403.4 MB, free: 3.586 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001441/0.2383, allocations: 27.03 kB / 403.4 MB, free: 3.586 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.166e-06/0.2383, allocations: 6.219 kB / 403.5 MB, free: 3.582 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.291e-05/0.2383, allocations: 5.703 kB / 403.5 MB, free: 3.578 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.687e-06/0.2383, allocations: 10.48 kB / 403.5 MB, free: 3.57 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.034e-06/0.2383, allocations: 5.062 kB / 403.5 MB, free: 3.566 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002603/0.2386, allocations: 386.6 kB / 403.9 MB, free: 3.242 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.291e-05/0.2386, allocations: 15.72 kB / 403.9 MB, free: 3.234 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.742e-05/0.2386, allocations: 7.406 kB / 403.9 MB, free: 3.23 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001896/0.2388, allocations: 1.125 kB / 403.9 MB, free: 3.23 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.369e-05/0.2389, allocations: 11.75 kB / 403.9 MB, free: 3.227 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.362e-06/0.2389, allocations: 2.344 kB / 403.9 MB, free: 3.227 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0001087/0.239, allocations: 157.6 kB / 404 MB, free: 3.121 MB / 318.1 MB Notification: Performance of sort global known variables: time 8e-08/0.239, allocations: 4 kB / 404 MB, free: 3.117 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0003611/0.2393, allocations: 41.06 kB / 404.1 MB, free: 3.109 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.000399/0.2397, allocations: 0.9116 MB / 405 MB, free: 2.254 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0002156/0.2399, allocations: 98.41 kB / 405.1 MB, free: 2.227 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 2.384e-06/0.24, allocations: 0.8125 kB / 405.1 MB, free: 2.227 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 5.085e-05/0.24, allocations: 36.22 kB / 405.1 MB, free: 2.215 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005064/0.2405, allocations: 34.41 kB / 405.2 MB, free: 2.195 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002375/0.2429, allocations: 2.625 MB / 407.8 MB, free: 16 kB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001596/0.243, allocations: 112.5 kB / 407.9 MB, free: 15.95 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 7.853e-05/0.2431, allocations: 21.25 kB / 407.9 MB, free: 15.94 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.365e-05/0.2432, allocations: 50.23 kB / 408 MB, free: 15.91 MB / 334.1 MB Notification: Performance of SimCode: time 3.5e-07/0.2432, allocations: 0 / 408 MB, free: 15.91 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.686/0.9292, allocations: 4.031 MB / 412 MB, free: 14.45 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.3/12.23, allocations: 14.22 kB / 412 MB, free: 14.44 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.621266403235495]