Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_Modelica.Mechanics.Translational.Examples.SignConvention.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo", uses=false) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/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=2000,variableFilter="time|mass1.s|mass1.v|mass2.s|mass2.v|mass3.s|mass3.v",fileNamePrefix="Modelica_4.1.0-beta.om_Modelica.Mechanics.Translational.Examples.SignConvention") translateModel(Modelica.Mechanics.Translational.Examples.SignConvention,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|mass1.s|mass1.v|mass2.s|mass2.v|mass3.s|mass3.v",fileNamePrefix="Modelica_4.1.0-beta.om_Modelica.Mechanics.Translational.Examples.SignConvention") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001312/0.001312, allocations: 114 kB / 17.83 MB, free: 5.207 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001587/0.001587, allocations: 205.9 kB / 18.78 MB, free: 4.254 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo): time 1.454/1.454, allocations: 230.4 MB / 250 MB, free: 9.105 MB / 206.1 MB Warning: Requested package Modelica of version trunk, but this package was already loaded with version 4.1.0. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package Complex of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package ModelicaServices of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.001899/0.001899, allocations: 63.84 kB / 367.3 MB, free: 7.094 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2537/0.2556, allocations: 53.31 MB / 420.6 MB, free: 8.375 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.SignConvention): time 0.003708/0.2593, allocations: 2.122 MB / 422.8 MB, free: 6.25 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0005573/0.2599, allocations: 159.4 kB / 422.9 MB, free: 6.094 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002095/0.2601, allocations: 4 kB / 422.9 MB, free: 6.09 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002147/0.2603, allocations: 31.72 kB / 423 MB, free: 6.059 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002003/0.2605, allocations: 51.55 kB / 423 MB, free: 6.008 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002536/0.2608, allocations: 43.89 kB / 423.1 MB, free: 5.965 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003566/0.2611, allocations: 175.2 kB / 423.2 MB, free: 5.793 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001938/0.2613, allocations: 50.25 kB / 423.3 MB, free: 5.738 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001216/0.2614, allocations: 63.73 kB / 423.3 MB, free: 5.676 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000155/0.2616, allocations: 75.62 kB / 423.4 MB, free: 5.602 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 3.712e-05/0.2616, allocations: 16 kB / 423.4 MB, free: 5.586 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.628e-05/0.2617, allocations: 12 kB / 423.4 MB, free: 5.574 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 4.767e-05/0.2617, allocations: 35.86 kB / 423.5 MB, free: 5.539 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001135/0.2618, allocations: 87.58 kB / 423.6 MB, free: 5.453 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000298/0.2621, allocations: 175.1 kB / 423.7 MB, free: 5.285 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.641e-06/0.2621, allocations: 0 / 423.7 MB, free: 5.285 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.723e-06/0.2621, allocations: 4 kB / 423.7 MB, free: 5.281 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.052e-05/0.2621, allocations: 0 / 423.7 MB, free: 5.281 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.0007632/0.2629, allocations: 474.6 kB / 424.2 MB, free: 4.77 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.559e-05/0.2629, allocations: 8.031 kB / 424.2 MB, free: 4.762 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.858e-05/0.263, allocations: 24.8 kB / 424.2 MB, free: 4.738 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003561/0.2634, allocations: 212.1 kB / 424.4 MB, free: 4.492 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.289e-05/0.2634, allocations: 20.16 kB / 424.5 MB, free: 4.473 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.893e-05/0.2634, allocations: 20.33 kB / 424.5 MB, free: 4.453 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003144/0.2638, allocations: 182.5 kB / 424.7 MB, free: 4.254 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.66e-05/0.2638, allocations: 7.875 kB / 424.7 MB, free: 4.246 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.497e-05/0.2638, allocations: 11.94 kB / 424.7 MB, free: 4.234 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.395e-06/0.2638, allocations: 4 kB / 424.7 MB, free: 4.23 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002031/0.264, allocations: 99.88 kB / 424.8 MB, free: 4.133 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001413/0.2654, allocations: 0.9471 MB / 425.7 MB, free: 3.102 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001552/0.2656, allocations: 107.8 kB / 425.8 MB, free: 2.969 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.687e-05/0.2657, allocations: 46.59 kB / 425.9 MB, free: 2.914 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.196e-05/0.2657, allocations: 0 / 425.9 MB, free: 2.914 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.099e-05/0.2657, allocations: 38.56 kB / 425.9 MB, free: 2.867 MB / 334.1 MB Notification: Performance of pre-optimization done (n=12): time 1.212e-06/0.2657, allocations: 0 / 425.9 MB, free: 2.867 MB / 334.1 MB Notification: Performance of matching and sorting (n=12): time 0.0003301/0.266, allocations: 129.4 kB / 426 MB, free: 2.734 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.813e-05/0.2661, allocations: 110.8 kB / 426.1 MB, free: 2.602 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002295/0.2663, allocations: 207.8 kB / 426.3 MB, free: 2.387 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.704e-05/0.2664, allocations: 29.7 kB / 426.4 MB, free: 2.352 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001061/0.2665, allocations: 140.1 kB / 426.5 MB, free: 2.211 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.514e-05/0.2665, allocations: 51.58 kB / 426.6 MB, free: 2.16 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.337e-05/0.2666, allocations: 49.89 kB / 426.6 MB, free: 2.102 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001531/0.2668, allocations: 330.8 kB / 426.9 MB, free: 1.77 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.128e-05/0.2668, allocations: 36.45 kB / 427 MB, free: 1.734 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001551/0.267, allocations: 142.6 kB / 427.1 MB, free: 1.547 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002439/0.2672, allocations: 197.5 kB / 427.3 MB, free: 1.305 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.641e-06/0.2672, allocations: 4 kB / 427.3 MB, free: 1.301 MB / 334.1 MB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0003265/0.2676, allocations: 217.2 kB / 427.5 MB, free: 1.082 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.179e-05/0.2676, allocations: 8 kB / 427.5 MB, free: 1.074 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.256e-06/0.2676, allocations: 4 kB / 427.5 MB, free: 1.07 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.117e-05/0.2676, allocations: 4 kB / 427.5 MB, free: 1.066 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001557/0.2678, allocations: 47.92 kB / 427.6 MB, free: 1.02 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.22e-05/0.2678, allocations: 7.938 kB / 427.6 MB, free: 1.012 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001214/0.2679, allocations: 36.08 kB / 427.6 MB, free: 0.9766 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.127e-05/0.2679, allocations: 16 kB / 427.6 MB, free: 0.9609 MB / 334.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.0001052/0.268, allocations: 133.8 kB / 427.8 MB, free: 0.8203 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.538e-05/0.2681, allocations: 15.91 kB / 427.8 MB, free: 0.8047 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.76e-05/0.2681, allocations: 17.64 kB / 427.8 MB, free: 0.7812 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.729e-06/0.2681, allocations: 4 kB / 427.8 MB, free: 0.7773 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.632e-06/0.2681, allocations: 0 / 427.8 MB, free: 0.7773 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.622e-06/0.2682, allocations: 7.922 kB / 427.8 MB, free: 0.7695 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004259/0.2686, allocations: 241.5 kB / 428 MB, free: 496 kB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.332e-06/0.2686, allocations: 0 / 428 MB, free: 496 kB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001455/0.2687, allocations: 31.98 kB / 428.1 MB, free: 464 kB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.027e-06/0.2687, allocations: 4 kB / 428.1 MB, free: 460 kB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.338e-05/0.2687, allocations: 3.984 kB / 428.1 MB, free: 456 kB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.623e-06/0.2687, allocations: 3.938 kB / 428.1 MB, free: 452 kB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.418e-06/0.2688, allocations: 11.92 kB / 428.1 MB, free: 440 kB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003217/0.2691, allocations: 392.3 kB / 428.5 MB, free: 32 kB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.936e-05/0.2692, allocations: 97 kB / 428.6 MB, free: 15.92 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.803e-05/0.2692, allocations: 4 kB / 428.6 MB, free: 15.91 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000145/0.2693, allocations: 4.062 kB / 428.6 MB, free: 15.91 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.376e-05/0.2693, allocations: 11.92 kB / 428.6 MB, free: 15.9 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.474e-06/0.2694, allocations: 4 kB / 428.6 MB, free: 15.89 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001306/0.2695, allocations: 149.5 kB / 428.7 MB, free: 15.75 MB / 350.1 MB Notification: Performance of sort global known variables: time 6e-08/0.2695, allocations: 0 / 428.7 MB, free: 15.75 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003632/0.2699, allocations: 47.89 kB / 428.8 MB, free: 15.7 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.0001223/0.27, allocations: 103.2 kB / 428.9 MB, free: 15.59 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.000225/0.2702, allocations: 111.7 kB / 429 MB, free: 15.48 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.244e-06/0.2702, allocations: 0 / 429 MB, free: 15.48 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 5.69e-05/0.2703, allocations: 35.92 kB / 429 MB, free: 15.45 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005008/0.2708, allocations: 28.03 kB / 429.1 MB, free: 15.42 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00104/0.2718, allocations: 0.6212 MB / 429.7 MB, free: 14.77 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003766/0.2722, allocations: 0.7281 MB / 430.4 MB, free: 14.02 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 7.607e-05/0.2723, allocations: 21.94 kB / 430.4 MB, free: 14 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.743e-05/0.2723, allocations: 15.44 kB / 430.5 MB, free: 13.98 MB / 350.1 MB Notification: Performance of SimCode: time 5.31e-07/0.2723, allocations: 0 / 430.5 MB, free: 13.98 MB / 350.1 MB Notification: Performance of Templates: time 0.004745/0.277, allocations: 1.394 MB / 431.8 MB, free: 12.6 MB / 350.1 MB make -j1 -f Modelica_4.1.0-beta.om_Modelica.Mechanics.Translational.Examples.SignConvention.makefile (rm -f Modelica_4.1.0-beta.om_Modelica.Mechanics.Translational.Examples.SignConvention.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Mechanics.Translational.Examples.SignConvention.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Mechanics.Translational.Examples.SignConvention.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Mechanics.Translational.Examples.SignConvention.sim & ./Modelica_4.1.0-beta.om_Modelica.Mechanics.Translational.Examples.SignConvention -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0-beta.om_Modelica.Mechanics.Translational.Examples.SignConvention.pipe 2>&1) diffSimulationResults("Modelica_4.1.0-beta.om_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_4.1.0-beta.om_Modelica.Mechanics.Translational.Examples.SignConvention.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches