Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Mechanics.Translational.Examples.SignConvention.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001835/0.001835, allocations: 96.25 kB / 20.96 MB, free: 3.473 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002164/0.002164, allocations: 156.9 kB / 24.27 MB, free: 176 kB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.481/1.481, allocations: 177 MB / 204.4 MB, free: 5.617 MB / 186.7 MB " [Timeout remaining time 178] Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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_trunk_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_trunk_Modelica.Mechanics.Translational.Examples.SignConvention") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.713e-06/1.713e-06, allocations: 0 / 272.2 MB, free: 1.816 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.293e-05/2.465e-05, allocations: 2.312 kB / 272.2 MB, free: 1.812 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.SignConvention): time 0.003853/0.003877, allocations: 2.031 MB / 274.2 MB, free: 15.77 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.0005546/0.004432, allocations: 159.4 kB / 274.4 MB, free: 15.61 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001598/0.004592, allocations: 7.938 kB / 274.4 MB, free: 15.6 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001626/0.004754, allocations: 23.73 kB / 274.4 MB, free: 15.58 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001536/0.004908, allocations: 51.55 kB / 274.4 MB, free: 15.53 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001773/0.005085, allocations: 43.94 kB / 274.5 MB, free: 15.48 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002927/0.005378, allocations: 191 kB / 274.7 MB, free: 15.3 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001513/0.005529, allocations: 46.39 kB / 274.7 MB, free: 15.25 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001699/0.005699, allocations: 99.78 kB / 274.8 MB, free: 15.15 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000117/0.005816, allocations: 55.86 kB / 274.9 MB, free: 15.1 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 4.409e-05/0.00586, allocations: 12 kB / 274.9 MB, free: 15.09 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 3.219e-05/0.005893, allocations: 16 kB / 274.9 MB, free: 15.07 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 4.286e-05/0.005935, allocations: 35.78 kB / 274.9 MB, free: 15.04 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 8.619e-05/0.006022, allocations: 59.89 kB / 275 MB, free: 14.98 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002732/0.006295, allocations: 171.4 kB / 275.2 MB, free: 14.81 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.665e-06/0.006297, allocations: 0 / 275.2 MB, free: 14.81 MB / 266.7 MB Notification: Performance of FrontEnd: time 8.42e-07/0.006298, allocations: 4 kB / 275.2 MB, free: 14.8 MB / 266.7 MB Notification: Performance of Transformations before backend: time 5.651e-06/0.006304, allocations: 0 / 275.2 MB, free: 14.8 MB / 266.7 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.0007286/0.007033, allocations: 389.6 kB / 275.5 MB, free: 14.39 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.508e-05/0.007078, allocations: 15.98 kB / 275.6 MB, free: 14.38 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.381e-05/0.007171, allocations: 32.8 kB / 275.6 MB, free: 14.35 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003059/0.007477, allocations: 157.5 kB / 275.7 MB, free: 14.17 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.563e-05/0.007503, allocations: 16.31 kB / 275.8 MB, free: 14.15 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.855e-05/0.007552, allocations: 24.33 kB / 275.8 MB, free: 14.13 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003862/0.007938, allocations: 178.5 kB / 276 MB, free: 13.93 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.934e-05/0.007957, allocations: 4.188 kB / 276 MB, free: 13.93 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.993e-05/0.007977, allocations: 4.375 kB / 276 MB, free: 13.93 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.113e-05/0.007988, allocations: 8.125 kB / 276 MB, free: 13.92 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002234/0.008212, allocations: 103.9 kB / 276.1 MB, free: 13.82 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001553/0.009765, allocations: 0.8497 MB / 276.9 MB, free: 12.9 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001781/0.009943, allocations: 99.73 kB / 277 MB, free: 12.77 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.296e-05/0.01002, allocations: 42.75 kB / 277.1 MB, free: 12.72 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.355e-05/0.01003, allocations: 4 kB / 277.1 MB, free: 12.72 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.849e-05/0.01007, allocations: 38.5 kB / 277.1 MB, free: 12.67 MB / 266.7 MB Notification: Performance of pre-optimization done (n=12): time 1.794e-06/0.01007, allocations: 0 / 277.1 MB, free: 12.67 MB / 266.7 MB Notification: Performance of matching and sorting (n=12): time 0.0003564/0.01043, allocations: 129.5 kB / 277.2 MB, free: 12.54 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.173e-05/0.01051, allocations: 106.8 kB / 277.3 MB, free: 12.41 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001998/0.01071, allocations: 170.1 kB / 277.5 MB, free: 12.23 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 2.591e-05/0.01073, allocations: 29.7 kB / 277.5 MB, free: 12.2 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000123/0.01086, allocations: 148.2 kB / 277.7 MB, free: 12.05 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.311e-05/0.01091, allocations: 55.47 kB / 277.7 MB, free: 12 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.664e-05/0.01099, allocations: 45.94 kB / 277.8 MB, free: 11.94 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001813/0.01117, allocations: 326.8 kB / 278.1 MB, free: 11.61 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.818e-05/0.01125, allocations: 36.45 kB / 278.1 MB, free: 11.58 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00018/0.01143, allocations: 149.6 kB / 278.3 MB, free: 11.39 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002916/0.01172, allocations: 197.4 kB / 278.5 MB, free: 11.14 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.49e-06/0.01172, allocations: 4 kB / 278.5 MB, free: 11.14 MB / 266.7 MB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0003775/0.0121, allocations: 226 kB / 278.7 MB, free: 10.91 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.815e-05/0.01212, allocations: 8 kB / 278.7 MB, free: 10.91 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.055e-05/0.01213, allocations: 4 kB / 278.7 MB, free: 10.9 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.322e-05/0.01215, allocations: 4 kB / 278.7 MB, free: 10.9 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001677/0.01232, allocations: 51.91 kB / 278.8 MB, free: 10.85 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.237e-05/0.01233, allocations: 7.938 kB / 278.8 MB, free: 10.84 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001152/0.01245, allocations: 23.84 kB / 278.8 MB, free: 10.82 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.698e-05/0.01246, allocations: 8.094 kB / 278.8 MB, free: 10.81 MB / 266.7 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.0001434/0.01261, allocations: 141.9 kB / 278.9 MB, free: 10.66 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.648e-05/0.01268, allocations: 23.94 kB / 279 MB, free: 10.64 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.744e-05/0.01273, allocations: 24.27 kB / 279 MB, free: 10.61 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.909e-06/0.01274, allocations: 4 kB / 279 MB, free: 10.61 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.949e-06/0.01274, allocations: 0 / 279 MB, free: 10.61 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.805e-06/0.01274, allocations: 0 / 279 MB, free: 10.61 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004047/0.01315, allocations: 177.1 kB / 279.2 MB, free: 10.41 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.703e-06/0.01315, allocations: 0 / 279.2 MB, free: 10.41 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001611/0.01331, allocations: 31.92 kB / 279.2 MB, free: 10.38 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.969e-06/0.01332, allocations: 4 kB / 279.2 MB, free: 10.37 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.069e-05/0.01333, allocations: 0 / 279.2 MB, free: 10.37 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.224e-06/0.01333, allocations: 0 / 279.2 MB, free: 10.37 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.753e-06/0.01333, allocations: 8 kB / 279.2 MB, free: 10.36 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004104/0.01374, allocations: 385.9 kB / 279.6 MB, free: 9.969 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.538e-05/0.01378, allocations: 19.91 kB / 279.6 MB, free: 9.949 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.223e-05/0.0138, allocations: 3.938 kB / 279.6 MB, free: 9.945 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001488/0.01395, allocations: 4 kB / 279.6 MB, free: 9.941 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.84e-05/0.01398, allocations: 15.92 kB / 279.6 MB, free: 9.926 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.24e-06/0.01398, allocations: 0 / 279.6 MB, free: 9.926 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0001102/0.01409, allocations: 119.2 kB / 279.7 MB, free: 9.809 MB / 266.7 MB Notification: Performance of sort global known variables: time 5e-08/0.01409, allocations: 0 / 279.7 MB, free: 9.809 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.000418/0.01451, allocations: 39.95 kB / 279.8 MB, free: 9.77 MB / 266.7 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.000132/0.01464, allocations: 107.2 kB / 279.9 MB, free: 9.652 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0002402/0.01488, allocations: 99.78 kB / 280 MB, free: 9.555 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 2.765e-06/0.01489, allocations: 0 / 280 MB, free: 9.555 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 5.938e-05/0.01494, allocations: 35.92 kB / 280 MB, free: 9.52 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005327/0.01548, allocations: 32.67 kB / 280.1 MB, free: 9.488 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009732/0.01645, allocations: 0.503 MB / 280.6 MB, free: 8.953 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001525/0.0166, allocations: 116.2 kB / 280.7 MB, free: 8.816 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 6.5e-05/0.01667, allocations: 13.42 kB / 280.7 MB, free: 8.805 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.422e-05/0.01671, allocations: 20.5 kB / 280.7 MB, free: 8.785 MB / 266.7 MB Notification: Performance of SimCode: time 5.41e-07/0.01671, allocations: 0 / 280.7 MB, free: 8.785 MB / 266.7 MB Notification: Performance of Templates: time 0.004465/0.02118, allocations: 1.169 MB / 281.9 MB, free: 7.637 MB / 266.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Mechanics.Translational.Examples.SignConvention.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Mechanics.Translational.Examples.SignConvention.pipe ; mkfifo Modelica_trunk_Modelica.Mechanics.Translational.Examples.SignConvention.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Mechanics.Translational.Examples.SignConvention.pipe >> ../files/Modelica_trunk_Modelica.Mechanics.Translational.Examples.SignConvention.sim & ./Modelica_trunk_Modelica.Mechanics.Translational.Examples.SignConvention -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Mechanics.Translational.Examples.SignConvention.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_trunk_Modelica.Mechanics.Translational.Examples.SignConvention_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Mechanics/Translational/Examples/SignConvention/SignConvention.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_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.122917143045925]