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.001222/0.001222, allocations: 79.69 kB / 21.7 MB, free: 2.848 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.001481/0.001481, allocations: 165.2 kB / 24.99 MB, free: 8.219 MB / 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 0.9529/0.9529, allocations: 177 MB / 205.2 MB, free: 5.52 MB / 186.7 MB " [Timeout remaining time 179] 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.202e-06/1.202e-06, allocations: 0 / 273 MB, free: 1.719 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.185e-05/2.305e-05, allocations: 5.406 kB / 273 MB, free: 1.715 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.SignConvention): time 0.003057/0.00308, allocations: 2.114 MB / 275.1 MB, free: 15.59 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.0005053/0.003585, allocations: 167.3 kB / 275.3 MB, free: 15.42 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001174/0.003703, allocations: 4 kB / 275.3 MB, free: 15.42 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001518/0.003855, allocations: 23.73 kB / 275.3 MB, free: 15.39 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001181/0.003973, allocations: 59.42 kB / 275.3 MB, free: 15.34 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001883/0.004161, allocations: 47.94 kB / 275.4 MB, free: 15.29 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002516/0.004413, allocations: 183.1 kB / 275.6 MB, free: 15.11 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001605/0.004573, allocations: 45.72 kB / 275.6 MB, free: 15.06 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001387/0.004712, allocations: 99.78 kB / 275.7 MB, free: 14.96 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001203/0.004832, allocations: 59.8 kB / 275.8 MB, free: 14.91 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 3.487e-05/0.004867, allocations: 16 kB / 275.8 MB, free: 14.89 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 2.557e-05/0.004893, allocations: 12 kB / 275.8 MB, free: 14.88 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 3.481e-05/0.004927, allocations: 27.91 kB / 275.8 MB, free: 14.85 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 7.307e-05/0.005, allocations: 63.83 kB / 275.9 MB, free: 14.79 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002082/0.005209, allocations: 115.5 kB / 276 MB, free: 14.68 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.164e-06/0.005211, allocations: 0 / 276 MB, free: 14.68 MB / 266.7 MB Notification: Performance of FrontEnd: time 7.12e-07/0.005212, allocations: 4 kB / 276 MB, free: 14.67 MB / 266.7 MB Notification: Performance of Transformations before backend: time 4.628e-06/0.005216, allocations: 0 / 276 MB, free: 14.67 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.0006095/0.005826, allocations: 499.8 kB / 276.5 MB, free: 14.15 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.109e-05/0.005867, allocations: 11.98 kB / 276.5 MB, free: 14.14 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.947e-05/0.005946, allocations: 36.78 kB / 276.5 MB, free: 14.1 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002307/0.006177, allocations: 152.4 kB / 276.7 MB, free: 13.93 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.904e-05/0.006196, allocations: 20.38 kB / 276.7 MB, free: 13.91 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.927e-05/0.006235, allocations: 16.33 kB / 276.7 MB, free: 13.89 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002904/0.006526, allocations: 172.5 kB / 276.9 MB, free: 13.7 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.462e-05/0.00654, allocations: 192 / 276.9 MB, free: 13.7 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.033e-05/0.006561, allocations: 8.375 kB / 276.9 MB, free: 13.69 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.426e-05/0.006575, allocations: 12.11 kB / 276.9 MB, free: 13.68 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001603/0.006735, allocations: 71.88 kB / 277 MB, free: 13.61 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001241/0.007976, allocations: 1.071 MB / 278.1 MB, free: 12.46 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001469/0.008123, allocations: 113.2 kB / 278.2 MB, free: 12.31 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.338e-05/0.008186, allocations: 47.23 kB / 278.2 MB, free: 12.25 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.071e-05/0.008197, allocations: 0 / 278.2 MB, free: 12.25 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.942e-05/0.008226, allocations: 37.39 kB / 278.2 MB, free: 12.21 MB / 266.7 MB Notification: Performance of pre-optimization done (n=12): time 1.412e-06/0.008228, allocations: 0 / 278.2 MB, free: 12.21 MB / 266.7 MB Notification: Performance of matching and sorting (n=12): time 0.0003237/0.008552, allocations: 113.4 kB / 278.4 MB, free: 12.09 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.953e-05/0.008611, allocations: 114.7 kB / 278.5 MB, free: 11.95 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001775/0.008789, allocations: 225.7 kB / 278.7 MB, free: 11.71 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.622e-05/0.008805, allocations: 29.7 kB / 278.7 MB, free: 11.68 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001026/0.008907, allocations: 190.9 kB / 278.9 MB, free: 11.49 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.474e-05/0.008952, allocations: 63.52 kB / 279 MB, free: 11.43 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.179e-05/0.009024, allocations: 51.59 kB / 279 MB, free: 11.36 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001568/0.009181, allocations: 0.4923 MB / 279.5 MB, free: 10.86 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.191e-05/0.009243, allocations: 20.45 kB / 279.5 MB, free: 10.84 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001522/0.009395, allocations: 171.8 kB / 279.7 MB, free: 10.61 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002315/0.009626, allocations: 223.3 kB / 279.9 MB, free: 10.32 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.83e-06/0.009631, allocations: 4 kB / 279.9 MB, free: 10.32 MB / 266.7 MB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0003216/0.009953, allocations: 197.3 kB / 280.1 MB, free: 10.12 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.869e-05/0.009971, allocations: 4 kB / 280.1 MB, free: 10.11 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.955e-06/0.009979, allocations: 4 kB / 280.1 MB, free: 10.11 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.818e-05/0.009998, allocations: 8 kB / 280.1 MB, free: 10.1 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001639/0.01016, allocations: 47.92 kB / 280.2 MB, free: 10.05 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.209e-05/0.01017, allocations: 8 kB / 280.2 MB, free: 10.05 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001066/0.01028, allocations: 15.84 kB / 280.2 MB, free: 10.03 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.077e-05/0.0103, allocations: 19.98 kB / 280.2 MB, free: 10.01 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.0001123/0.01041, allocations: 180.7 kB / 280.4 MB, free: 9.824 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.97e-05/0.01049, allocations: 19.84 kB / 280.4 MB, free: 9.805 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.047e-05/0.01053, allocations: 16.34 kB / 280.4 MB, free: 9.789 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.328e-06/0.01054, allocations: 4 kB / 280.4 MB, free: 9.785 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.29e-06/0.01054, allocations: 0 / 280.4 MB, free: 9.785 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.219e-06/0.01055, allocations: 3.984 kB / 280.4 MB, free: 9.781 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003899/0.01094, allocations: 172.5 kB / 280.6 MB, free: 9.578 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.515e-06/0.01094, allocations: 0 / 280.6 MB, free: 9.578 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001481/0.01109, allocations: 35.98 kB / 280.6 MB, free: 9.543 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.637e-06/0.01109, allocations: 0 / 280.6 MB, free: 9.543 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.228e-05/0.01111, allocations: 4 kB / 280.6 MB, free: 9.539 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.678e-06/0.01112, allocations: 7.984 kB / 280.7 MB, free: 9.531 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.372e-06/0.01112, allocations: 0 / 280.7 MB, free: 9.531 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003504/0.01147, allocations: 0.498 MB / 281.2 MB, free: 9.012 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.59e-05/0.0115, allocations: 19.84 kB / 281.2 MB, free: 8.992 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.796e-05/0.01152, allocations: 7.984 kB / 281.2 MB, free: 8.984 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001497/0.01167, allocations: 0 / 281.2 MB, free: 8.984 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.557e-05/0.0117, allocations: 7.984 kB / 281.2 MB, free: 8.977 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.217e-06/0.01171, allocations: 8 kB / 281.2 MB, free: 8.969 MB / 266.7 MB Notification: Performance of sorting global known variables: time 9.224e-05/0.0118, allocations: 152 kB / 281.3 MB, free: 8.82 MB / 266.7 MB Notification: Performance of sort global known variables: time 1.2e-07/0.0118, allocations: 0 / 281.3 MB, free: 8.82 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0004754/0.01228, allocations: 47.95 kB / 281.4 MB, free: 8.773 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.000111/0.01239, allocations: 103.1 kB / 281.5 MB, free: 8.66 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.000216/0.0126, allocations: 95.45 kB / 281.6 MB, free: 8.562 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 2.064e-06/0.01261, allocations: 0 / 281.6 MB, free: 8.562 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 5.422e-05/0.01266, allocations: 40.92 kB / 281.6 MB, free: 8.52 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005765/0.01324, allocations: 32.11 kB / 281.7 MB, free: 8.488 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008514/0.01409, allocations: 0.5095 MB / 282.2 MB, free: 7.941 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.084e-05/0.01416, allocations: 71.98 kB / 282.2 MB, free: 7.852 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 7.622e-05/0.01424, allocations: 13.48 kB / 282.3 MB, free: 7.836 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.903e-05/0.01427, allocations: 16.5 kB / 282.3 MB, free: 7.82 MB / 266.7 MB Notification: Performance of SimCode: time 8.32e-07/0.01428, allocations: 4 kB / 282.3 MB, free: 7.816 MB / 266.7 MB Notification: Performance of Templates: time 0.003069/0.01734, allocations: 1.173 MB / 283.4 MB, free: 6.66 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=240 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Mechanics.Translational.Examples.SignConvention.pipe 2>&1) [Timeout 240] 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","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.5959340119734406]