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.001425/0.001425, allocations: 103.6 kB / 21.18 MB, free: 0.6445 MB / 14.72 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.001615/0.001615, allocations: 211.4 kB / 24.48 MB, free: 3.934 MB / 14.72 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.465/1.465, allocations: 230.5 MB / 258.1 MB, free: 7.789 MB / 206.1 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 0.002028/0.002028, allocations: 60.14 kB / 379 MB, free: 2.336 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2502/0.2523, allocations: 53.42 MB / 432.4 MB, free: 6.672 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.SignConvention): time 0.00342/0.2557, allocations: 2.018 MB / 434.4 MB, free: 4.648 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0004026/0.2561, allocations: 167.4 kB / 434.6 MB, free: 4.484 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001125/0.2562, allocations: 4 kB / 434.6 MB, free: 4.48 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001509/0.2564, allocations: 27.72 kB / 434.6 MB, free: 4.453 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001038/0.2565, allocations: 43.56 kB / 434.6 MB, free: 4.41 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001696/0.2566, allocations: 51.89 kB / 434.7 MB, free: 4.359 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002363/0.2569, allocations: 179.2 kB / 434.9 MB, free: 4.184 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001458/0.257, allocations: 38.41 kB / 434.9 MB, free: 4.141 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.977e-05/0.2571, allocations: 63.73 kB / 435 MB, free: 4.078 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001191/0.2572, allocations: 67.67 kB / 435 MB, free: 4.012 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 3.116e-05/0.2572, allocations: 12 kB / 435 MB, free: 4 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.328e-05/0.2573, allocations: 19.94 kB / 435.1 MB, free: 3.98 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 3.332e-05/0.2573, allocations: 27.92 kB / 435.1 MB, free: 3.953 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 8.43e-05/0.2574, allocations: 71.66 kB / 435.2 MB, free: 3.883 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002444/0.2576, allocations: 185.2 kB / 435.3 MB, free: 3.703 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.467e-06/0.2576, allocations: 0 / 435.3 MB, free: 3.703 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.723e-06/0.2576, allocations: 4 kB / 435.3 MB, free: 3.699 MB / 334.1 MB Notification: Performance of Transformations before backend: time 6.332e-06/0.2576, allocations: 0 / 435.3 MB, free: 3.699 MB / 334.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.0006276/0.2583, allocations: 389.5 kB / 435.7 MB, free: 3.289 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.56e-05/0.2583, allocations: 15.92 kB / 435.7 MB, free: 3.273 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.399e-05/0.2584, allocations: 24.8 kB / 435.8 MB, free: 3.25 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002648/0.2586, allocations: 154.3 kB / 435.9 MB, free: 3.074 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.871e-05/0.2586, allocations: 16.16 kB / 435.9 MB, free: 3.059 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.698e-05/0.2587, allocations: 24.33 kB / 436 MB, free: 3.035 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002938/0.259, allocations: 178.4 kB / 436.1 MB, free: 2.84 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.129e-05/0.259, allocations: 11.94 kB / 436.1 MB, free: 2.828 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.682e-05/0.259, allocations: 4 kB / 436.1 MB, free: 2.824 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.884e-06/0.259, allocations: 4 kB / 436.1 MB, free: 2.82 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001806/0.2592, allocations: 99.88 kB / 436.2 MB, free: 2.723 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001193/0.2604, allocations: 0.8452 MB / 437.1 MB, free: 1.812 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001552/0.2606, allocations: 111.8 kB / 437.2 MB, free: 1.676 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.857e-05/0.2606, allocations: 34.58 kB / 437.2 MB, free: 1.633 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.159e-05/0.2606, allocations: 4 kB / 437.2 MB, free: 1.629 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.253e-05/0.2607, allocations: 34.64 kB / 437.3 MB, free: 1.586 MB / 334.1 MB Notification: Performance of pre-optimization done (n=12): time 1.683e-06/0.2607, allocations: 0 / 437.3 MB, free: 1.586 MB / 334.1 MB Notification: Performance of matching and sorting (n=12): time 0.0003047/0.261, allocations: 129.4 kB / 437.4 MB, free: 1.453 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.826e-05/0.261, allocations: 110.8 kB / 437.5 MB, free: 1.32 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001621/0.2612, allocations: 174.7 kB / 437.7 MB, free: 1.141 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.118e-05/0.2612, allocations: 25.7 kB / 437.7 MB, free: 1.109 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.625e-05/0.2613, allocations: 148.1 kB / 437.8 MB, free: 0.9609 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.222e-05/0.2614, allocations: 59.53 kB / 437.9 MB, free: 0.9023 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.95e-05/0.2614, allocations: 45.94 kB / 437.9 MB, free: 0.8477 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.000142/0.2616, allocations: 326.8 kB / 438.3 MB, free: 0.5195 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.818e-05/0.2616, allocations: 36.45 kB / 438.3 MB, free: 496 kB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001467/0.2618, allocations: 146.6 kB / 438.4 MB, free: 300 kB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002421/0.262, allocations: 201.5 kB / 438.6 MB, free: 48 kB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.665e-06/0.262, allocations: 0 / 438.6 MB, free: 48 kB / 334.1 MB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0003313/0.2624, allocations: 218 kB / 438.9 MB, free: 15.83 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.566e-05/0.2624, allocations: 6.656 kB / 438.9 MB, free: 15.82 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.815e-06/0.2624, allocations: 4 kB / 438.9 MB, free: 15.82 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.891e-05/0.2624, allocations: 8 kB / 438.9 MB, free: 15.81 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000159/0.2626, allocations: 47.92 kB / 438.9 MB, free: 15.77 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.343e-05/0.2626, allocations: 11.94 kB / 438.9 MB, free: 15.75 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001161/0.2627, allocations: 23.83 kB / 439 MB, free: 15.73 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.508e-05/0.2627, allocations: 12 kB / 439 MB, free: 15.72 MB / 350.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.0001166/0.2628, allocations: 141.9 kB / 439.1 MB, free: 15.57 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.694e-05/0.2629, allocations: 15.91 kB / 439.1 MB, free: 15.55 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.51e-05/0.2629, allocations: 16.34 kB / 439.1 MB, free: 15.54 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.565e-06/0.2629, allocations: 0 / 439.1 MB, free: 15.54 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.392e-06/0.2629, allocations: 4 kB / 439.1 MB, free: 15.53 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.909e-06/0.2629, allocations: 3.984 kB / 439.1 MB, free: 15.53 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003675/0.2633, allocations: 173.1 kB / 439.3 MB, free: 15.33 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.362e-06/0.2633, allocations: 0 / 439.3 MB, free: 15.33 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001482/0.2635, allocations: 31.98 kB / 439.3 MB, free: 15.3 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.054e-06/0.2635, allocations: 3.938 kB / 439.3 MB, free: 15.29 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.423e-05/0.2635, allocations: 11.98 kB / 439.4 MB, free: 15.28 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.462e-06/0.2635, allocations: 4 kB / 439.4 MB, free: 15.28 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.487e-06/0.2635, allocations: 4 kB / 439.4 MB, free: 15.27 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003407/0.2638, allocations: 381.8 kB / 439.7 MB, free: 14.88 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.712e-05/0.2638, allocations: 15.84 kB / 439.8 MB, free: 14.87 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.535e-05/0.2639, allocations: 7.984 kB / 439.8 MB, free: 14.86 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000143/0.264, allocations: 4.062 kB / 439.8 MB, free: 14.86 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.346e-05/0.264, allocations: 11.92 kB / 439.8 MB, free: 14.84 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.623e-06/0.264, allocations: 4 kB / 439.8 MB, free: 14.84 MB / 350.1 MB Notification: Performance of sorting global known variables: time 9.207e-05/0.2641, allocations: 115.2 kB / 439.9 MB, free: 14.73 MB / 350.1 MB Notification: Performance of sort global known variables: time 7e-08/0.2641, allocations: 0 / 439.9 MB, free: 14.73 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003773/0.2645, allocations: 47.89 kB / 439.9 MB, free: 14.68 MB / 350.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.0001095/0.2646, allocations: 103.2 kB / 440 MB, free: 14.57 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002096/0.2648, allocations: 107.8 kB / 440.1 MB, free: 14.46 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.063e-06/0.2648, allocations: 0 / 440.1 MB, free: 14.46 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 4.961e-05/0.2649, allocations: 31.92 kB / 440.2 MB, free: 14.43 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005005/0.2654, allocations: 32.72 kB / 440.2 MB, free: 14.4 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001016/0.2664, allocations: 0.6516 MB / 440.9 MB, free: 13.71 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001225/0.2665, allocations: 108.1 kB / 441 MB, free: 13.58 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.41e-05/0.2666, allocations: 23.42 kB / 441 MB, free: 13.56 MB / 350.1 MB Notification: Performance of SimCode: time 4.41e-07/0.2666, allocations: 0 / 441 MB, free: 13.56 MB / 350.1 MB Notification: Performance of Templates: time 0.003766/0.2703, allocations: 1.952 MB / 442.9 MB, free: 11.61 MB / 350.1 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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Mechanics/Translational/Examples/SignConvention/SignConvention.csv","/var/lib/jenkins1/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: 7.010385386645794]