Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.SignConvention.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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.0.0_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.0.0_Modelica.Mechanics.Translational.Examples.SignConvention") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001528/0.001528, allocations: 109.8 kB / 17.06 MB, free: 6.02 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001793/0.001793, allocations: 191 kB / 18 MB, free: 5.105 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.379/1.379, allocations: 222.9 MB / 241.7 MB, free: 15.16 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001029/0.001029, allocations: 47.92 kB / 351.3 MB, free: 3.27 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2444/0.2455, allocations: 49.44 MB / 400.7 MB, free: 8.758 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.SignConvention): time 0.002868/0.2484, allocations: 2.113 MB / 402.8 MB, free: 6.766 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.000313/0.2487, allocations: 159.4 kB / 403 MB, free: 6.609 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.552e-05/0.2488, allocations: 4 kB / 403 MB, free: 6.605 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001321/0.249, allocations: 27.66 kB / 403 MB, free: 6.578 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 9.027e-05/0.2491, allocations: 47.56 kB / 403.1 MB, free: 6.531 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001441/0.2492, allocations: 43.94 kB / 403.1 MB, free: 6.488 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002027/0.2494, allocations: 179.2 kB / 403.3 MB, free: 6.312 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001493/0.2496, allocations: 66.25 kB / 403.3 MB, free: 6.246 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.542e-05/0.2497, allocations: 59.8 kB / 403.4 MB, free: 6.188 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001073/0.2498, allocations: 75.62 kB / 403.5 MB, free: 6.113 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 2.748e-05/0.2498, allocations: 12 kB / 403.5 MB, free: 6.102 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.489e-05/0.2498, allocations: 20 kB / 403.5 MB, free: 6.082 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 3.576e-05/0.2499, allocations: 31.86 kB / 403.5 MB, free: 6.051 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 7.852e-05/0.25, allocations: 83.59 kB / 403.6 MB, free: 5.969 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002129/0.2502, allocations: 188.4 kB / 403.8 MB, free: 5.789 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.598e-06/0.2502, allocations: 0 / 403.8 MB, free: 5.789 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.724e-06/0.2502, allocations: 0 / 403.8 MB, free: 5.789 MB / 318.1 MB Notification: Performance of Transformations before backend: time 6.602e-06/0.2502, allocations: 0 / 403.8 MB, free: 5.789 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.0006193/0.2508, allocations: 462.9 kB / 404.3 MB, free: 5.289 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.262e-05/0.2509, allocations: 15.89 kB / 404.3 MB, free: 5.273 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.749e-05/0.2509, allocations: 16.75 kB / 404.3 MB, free: 5.258 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002567/0.2512, allocations: 219.4 kB / 404.5 MB, free: 5.008 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.957e-05/0.2512, allocations: 12.38 kB / 404.5 MB, free: 4.996 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.308e-05/0.2513, allocations: 20.38 kB / 404.5 MB, free: 4.977 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002946/0.2516, allocations: 186.2 kB / 404.7 MB, free: 4.773 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.679e-05/0.2516, allocations: 7.938 kB / 404.7 MB, free: 4.766 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.942e-05/0.2516, allocations: 4 kB / 404.7 MB, free: 4.762 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.255e-06/0.2516, allocations: 4 kB / 404.7 MB, free: 4.758 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001842/0.2518, allocations: 103.9 kB / 404.8 MB, free: 4.656 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001241/0.2531, allocations: 0.9545 MB / 405.8 MB, free: 3.617 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001466/0.2532, allocations: 95.83 kB / 405.9 MB, free: 3.496 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.456e-05/0.2533, allocations: 50.66 kB / 405.9 MB, free: 3.438 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.698e-06/0.2533, allocations: 3.938 kB / 405.9 MB, free: 3.434 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.515e-05/0.2534, allocations: 38.56 kB / 406 MB, free: 3.387 MB / 318.1 MB Notification: Performance of pre-optimization done (n=12): time 1.623e-06/0.2534, allocations: 3.938 kB / 406 MB, free: 3.383 MB / 318.1 MB Notification: Performance of matching and sorting (n=12): time 0.0003041/0.2537, allocations: 125.9 kB / 406.1 MB, free: 3.254 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.335e-05/0.2537, allocations: 110.8 kB / 406.2 MB, free: 3.121 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002006/0.2539, allocations: 211.6 kB / 406.4 MB, free: 2.902 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 2.192e-05/0.254, allocations: 29.7 kB / 406.4 MB, free: 2.867 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.389e-05/0.2541, allocations: 139.9 kB / 406.6 MB, free: 2.727 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.549e-05/0.2541, allocations: 51.3 kB / 406.6 MB, free: 2.676 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.428e-05/0.2542, allocations: 45.94 kB / 406.7 MB, free: 2.621 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001072/0.2543, allocations: 330.8 kB / 407 MB, free: 2.289 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.505e-05/0.2543, allocations: 36.45 kB / 407 MB, free: 2.254 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001283/0.2545, allocations: 147.3 kB / 407.2 MB, free: 2.062 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002118/0.2547, allocations: 197.5 kB / 407.4 MB, free: 1.82 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.837e-06/0.2547, allocations: 4 kB / 407.4 MB, free: 1.816 MB / 318.1 MB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0002989/0.255, allocations: 221 kB / 407.6 MB, free: 1.594 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.714e-05/0.255, allocations: 8 kB / 407.6 MB, free: 1.586 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.844e-06/0.2551, allocations: 4 kB / 407.6 MB, free: 1.582 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.971e-05/0.2551, allocations: 7.984 kB / 407.6 MB, free: 1.574 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001512/0.2552, allocations: 47.92 kB / 407.7 MB, free: 1.527 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.325e-06/0.2552, allocations: 4 kB / 407.7 MB, free: 1.523 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001191/0.2554, allocations: 35.62 kB / 407.7 MB, free: 1.488 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.403e-05/0.2554, allocations: 12.41 kB / 407.7 MB, free: 1.477 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 8.553e-05/0.2555, allocations: 133.8 kB / 407.8 MB, free: 1.336 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.056e-05/0.2556, allocations: 19.8 kB / 407.9 MB, free: 1.316 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.139e-05/0.2556, allocations: 20.94 kB / 407.9 MB, free: 1.289 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.596e-06/0.2556, allocations: 4 kB / 407.9 MB, free: 1.285 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.077e-06/0.2556, allocations: 0 / 407.9 MB, free: 1.285 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.252e-06/0.2556, allocations: 3.938 kB / 407.9 MB, free: 1.281 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004067/0.256, allocations: 241.5 kB / 408.1 MB, free: 0.9961 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.493e-06/0.2561, allocations: 0 / 408.1 MB, free: 0.9961 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001633/0.2562, allocations: 31.92 kB / 408.1 MB, free: 0.9648 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.887e-06/0.2562, allocations: 8 kB / 408.2 MB, free: 0.957 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.283e-05/0.2563, allocations: 4 kB / 408.2 MB, free: 0.9531 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.633e-06/0.2563, allocations: 0 / 408.2 MB, free: 0.9531 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.567e-06/0.2563, allocations: 7.984 kB / 408.2 MB, free: 0.9453 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003082/0.2566, allocations: 385.6 kB / 408.5 MB, free: 0.5508 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.274e-05/0.2566, allocations: 93.05 kB / 408.6 MB, free: 452 kB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.723e-05/0.2567, allocations: 12.05 kB / 408.6 MB, free: 440 kB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000148/0.2568, allocations: 4 kB / 408.7 MB, free: 436 kB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.653e-05/0.2569, allocations: 7.938 kB / 408.7 MB, free: 428 kB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.625e-06/0.2569, allocations: 7.984 kB / 408.7 MB, free: 420 kB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0001258/0.257, allocations: 153.5 kB / 408.8 MB, free: 268 kB / 318.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.257, allocations: 0 / 408.8 MB, free: 268 kB / 318.1 MB Notification: Performance of remove unused functions: time 0.0003697/0.2574, allocations: 43.88 kB / 408.9 MB, free: 224 kB / 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 8.222e-05/0.2575, allocations: 99.25 kB / 409 MB, free: 112 kB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0002092/0.2577, allocations: 111.8 kB / 409.1 MB, free: 16 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 1.793e-06/0.2577, allocations: 0 / 409.1 MB, free: 16 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 4.635e-05/0.2578, allocations: 39.86 kB / 409.1 MB, free: 15.96 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004929/0.2583, allocations: 24.8 kB / 409.1 MB, free: 15.94 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008853/0.2592, allocations: 0.6258 MB / 409.8 MB, free: 15.28 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002746/0.2594, allocations: 0.7319 MB / 410.5 MB, free: 14.52 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 6.426e-05/0.2595, allocations: 21.94 kB / 410.5 MB, free: 14.5 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.597e-05/0.2596, allocations: 19.44 kB / 410.5 MB, free: 14.48 MB / 334.1 MB Notification: Performance of SimCode: time 2.21e-07/0.2596, allocations: 0 / 410.5 MB, free: 14.48 MB / 334.1 MB Notification: Performance of Templates: time 0.003695/0.2633, allocations: 1.363 MB / 411.9 MB, free: 13.12 MB / 334.1 MB make -j1 -f Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.SignConvention.makefile (rm -f Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.SignConvention.pipe ; mkfifo Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.SignConvention.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.SignConvention.pipe >> ../files/Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.SignConvention.sim & ./Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.SignConvention -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.SignConvention.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.SignConvention_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Mechanics/Translational/Examples/SignConvention/SignConvention.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.SignConvention.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches