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.001627/0.001627, allocations: 83.69 kB / 22 MB, free: 5.18 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.001697/0.001697, allocations: 161.8 kB / 25.25 MB, free: 3.02 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.353/1.353, allocations: 158.6 MB / 187 MB, free: 6.48 MB / 174.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: translateModel(Modelica.Mechanics.Translational.Examples.SignConvention,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|mass1.s|mass1.v|mass2.s|mass2.v|mass3.s|mass3.v",fileNamePrefix="Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.SignConvention") translateModel(Modelica.Mechanics.Translational.Examples.SignConvention,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|mass1.s|mass1.v|mass2.s|mass2.v|mass3.s|mass3.v",fileNamePrefix="Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.SignConvention") [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.002379/0.002379, allocations: 55.92 kB / 299.4 MB, free: 8.805 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2206/0.223, allocations: 49.15 MB / 348.5 MB, free: 15.48 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.SignConvention): time 0.003561/0.2266, allocations: 1.987 MB / 350.5 MB, free: 13.96 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.0004566/0.227, allocations: 166.1 kB / 350.6 MB, free: 13.82 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001248/0.2272, allocations: 3.406 kB / 350.7 MB, free: 13.82 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000144/0.2273, allocations: 31.03 kB / 350.7 MB, free: 13.79 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001242/0.2274, allocations: 49.28 kB / 350.7 MB, free: 13.75 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001567/0.2276, allocations: 41.59 kB / 350.8 MB, free: 13.71 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002486/0.2278, allocations: 178.7 kB / 350.9 MB, free: 13.61 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000148/0.228, allocations: 43.2 kB / 351 MB, free: 13.58 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001126/0.2281, allocations: 67.25 kB / 351.1 MB, free: 13.54 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001411/0.2282, allocations: 65.3 kB / 351.1 MB, free: 13.5 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 3.062e-05/0.2283, allocations: 13.75 kB / 351.1 MB, free: 13.5 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.244e-05/0.2283, allocations: 13.44 kB / 351.1 MB, free: 13.5 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 4.195e-05/0.2283, allocations: 33.62 kB / 351.2 MB, free: 13.47 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 9.544e-05/0.2284, allocations: 70.91 kB / 351.2 MB, free: 13.43 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002685/0.2287, allocations: 186.6 kB / 351.4 MB, free: 13.3 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.218e-06/0.2287, allocations: 0 / 351.4 MB, free: 13.3 MB / 318.1 MB Notification: Performance of FrontEnd: time 9.629e-06/0.2287, allocations: 1.656 kB / 351.4 MB, free: 13.3 MB / 318.1 MB Notification: Performance of Transformations before backend: time 1.226e-05/0.2287, allocations: 0 / 351.4 MB, free: 13.3 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.0006794/0.2294, allocations: 403.2 kB / 351.8 MB, free: 12.93 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.354e-05/0.2294, allocations: 13.61 kB / 351.8 MB, free: 12.93 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.614e-05/0.2295, allocations: 22.22 kB / 351.9 MB, free: 12.92 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002961/0.2298, allocations: 153.4 kB / 352 MB, free: 12.76 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.092e-05/0.2298, allocations: 11.56 kB / 352 MB, free: 12.75 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.525e-05/0.2299, allocations: 24.02 kB / 352 MB, free: 12.74 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003175/0.2302, allocations: 194.8 kB / 352.2 MB, free: 12.59 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.878e-05/0.2302, allocations: 5.188 kB / 352.2 MB, free: 12.59 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.83e-05/0.2302, allocations: 9.281 kB / 352.2 MB, free: 12.58 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.153e-06/0.2302, allocations: 4.625 kB / 352.3 MB, free: 12.58 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000182/0.2304, allocations: 98.19 kB / 352.3 MB, free: 12.53 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001285/0.2317, allocations: 0.8481 MB / 353.2 MB, free: 11.73 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001601/0.2319, allocations: 97.88 kB / 353.3 MB, free: 11.64 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.404e-05/0.2319, allocations: 39.59 kB / 353.3 MB, free: 11.61 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.319e-05/0.2319, allocations: 2.281 kB / 353.3 MB, free: 11.61 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.206e-05/0.232, allocations: 37.03 kB / 353.4 MB, free: 11.56 MB / 318.1 MB Notification: Performance of pre-optimization done (n=12): time 1.343e-06/0.232, allocations: 0 / 353.4 MB, free: 11.56 MB / 318.1 MB Notification: Performance of matching and sorting (n=12): time 0.0003118/0.2323, allocations: 125 kB / 353.5 MB, free: 11.48 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.514e-05/0.2324, allocations: 109.1 kB / 353.6 MB, free: 11.36 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001778/0.2326, allocations: 163 kB / 353.8 MB, free: 11.22 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 2.86e-05/0.2326, allocations: 26.8 kB / 353.8 MB, free: 11.19 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000113/0.2327, allocations: 148.9 kB / 353.9 MB, free: 11.05 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.432e-05/0.2327, allocations: 50.09 kB / 354 MB, free: 11 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.784e-05/0.2328, allocations: 50.05 kB / 354 MB, free: 10.96 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.000168/0.233, allocations: 330.1 kB / 354.3 MB, free: 10.64 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.542e-05/0.2331, allocations: 37.33 kB / 354.4 MB, free: 10.62 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001768/0.2332, allocations: 144.2 kB / 354.5 MB, free: 10.46 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002559/0.2335, allocations: 201 kB / 354.7 MB, free: 10.28 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.426e-06/0.2335, allocations: 1.219 kB / 354.7 MB, free: 10.28 MB / 318.1 MB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0003439/0.2338, allocations: 213.7 kB / 354.9 MB, free: 10.16 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.494e-05/0.2339, allocations: 6.938 kB / 354.9 MB, free: 10.16 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.458e-06/0.2339, allocations: 12.27 kB / 355 MB, free: 10.15 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.696e-05/0.2339, allocations: 5.562 kB / 355 MB, free: 10.15 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001628/0.234, allocations: 46.55 kB / 355 MB, free: 10.14 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.308e-06/0.2341, allocations: 4.594 kB / 355 MB, free: 10.14 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001155/0.2342, allocations: 23.67 kB / 355 MB, free: 10.12 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.414e-05/0.2342, allocations: 8.844 kB / 355 MB, free: 10.12 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.0001276/0.2343, allocations: 136.5 kB / 355.2 MB, free: 9.992 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.499e-05/0.2344, allocations: 18.7 kB / 355.2 MB, free: 9.98 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.582e-05/0.2344, allocations: 15.94 kB / 355.2 MB, free: 9.961 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.256e-06/0.2344, allocations: 2.375 kB / 355.2 MB, free: 9.961 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.839e-06/0.2344, allocations: 5 kB / 355.2 MB, free: 9.957 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.687e-06/0.2344, allocations: 8.969 kB / 355.2 MB, free: 9.949 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003965/0.2348, allocations: 176.5 kB / 355.4 MB, free: 9.781 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.583e-06/0.2348, allocations: 0.9688 kB / 355.4 MB, free: 9.781 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001566/0.235, allocations: 32.52 kB / 355.4 MB, free: 9.773 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.795e-06/0.235, allocations: 1.094 kB / 355.4 MB, free: 9.773 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.533e-05/0.235, allocations: 5.812 kB / 355.4 MB, free: 9.77 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.939e-06/0.235, allocations: 5.125 kB / 355.4 MB, free: 9.766 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.193e-06/0.235, allocations: 1.125 kB / 355.4 MB, free: 9.766 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000352/0.2354, allocations: 387.8 kB / 355.8 MB, free: 9.43 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.681e-05/0.2354, allocations: 12.2 kB / 355.8 MB, free: 9.422 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.67e-05/0.2354, allocations: 6.219 kB / 355.8 MB, free: 9.418 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001476/0.2356, allocations: 1.094 kB / 355.8 MB, free: 9.418 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.204e-05/0.2356, allocations: 8.391 kB / 355.8 MB, free: 9.414 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.005e-05/0.2356, allocations: 6.203 kB / 355.9 MB, free: 9.41 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0001022/0.2357, allocations: 121.8 kB / 356 MB, free: 9.312 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.2357, allocations: 3.938 kB / 356 MB, free: 9.309 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0004016/0.2361, allocations: 49.42 kB / 356 MB, free: 9.273 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 9.768e-05/0.2362, allocations: 99.23 kB / 356.1 MB, free: 9.168 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0002353/0.2364, allocations: 108.1 kB / 356.2 MB, free: 9.062 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 1.883e-06/0.2364, allocations: 4 kB / 356.2 MB, free: 9.059 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 5.431e-05/0.2365, allocations: 31.92 kB / 356.3 MB, free: 9.027 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005035/0.237, allocations: 27.91 kB / 356.3 MB, free: 9 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001032/0.238, allocations: 0.6264 MB / 356.9 MB, free: 8.34 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001173/0.2382, allocations: 108.2 kB / 357 MB, free: 8.219 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 6.538e-05/0.2382, allocations: 17.48 kB / 357 MB, free: 8.199 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.49e-05/0.2383, allocations: 16.5 kB / 357.1 MB, free: 8.184 MB / 318.1 MB Notification: Performance of SimCode: time 3.11e-07/0.2383, allocations: 0 / 357.1 MB, free: 8.184 MB / 318.1 MB Notification: Performance of Templates: time 0.004174/0.2424, allocations: 1.168 MB / 358.2 MB, free: 7.016 MB / 318.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.SignConvention.makefile [Timeout 660] (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 & ./Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.SignConvention -abortSlowSimulation -alarm=480 -s ida -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.SignConvention.pipe 2>&1) [Timeout 480] 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: 4.253837864031084]