Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_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 3.2.3+maint.om/package.mo", uses=false) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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_3.2.3_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_3.2.3_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.001141/0.001141, allocations: 112.3 kB / 18.41 MB, free: 4.68 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.001132/0.001132, allocations: 186.2 kB / 19.34 MB, free: 3.754 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.257/1.257, allocations: 205.1 MB / 225.2 MB, free: 12.24 MB / 190.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001167/0.001167, allocations: 47.92 kB / 329.2 MB, free: 3.328 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07004/0.07122, allocations: 46.61 MB / 375.8 MB, free: 4.605 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.SignConvention): time 0.00289/0.07414, allocations: 2.091 MB / 377.9 MB, free: 2.5 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003197/0.07447, allocations: 155.4 kB / 378.1 MB, free: 2.348 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.403e-05/0.07457, allocations: 8 kB / 378.1 MB, free: 2.34 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000125/0.0747, allocations: 31.72 kB / 378.1 MB, free: 2.309 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 9.204e-05/0.0748, allocations: 51.55 kB / 378.1 MB, free: 2.258 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001409/0.07495, allocations: 39.89 kB / 378.2 MB, free: 2.219 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002123/0.07517, allocations: 179.2 kB / 378.4 MB, free: 2.043 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001632/0.07534, allocations: 77.98 kB / 378.4 MB, free: 1.961 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.694e-05/0.07542, allocations: 59.8 kB / 378.5 MB, free: 1.902 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001112/0.07554, allocations: 75.62 kB / 378.6 MB, free: 1.828 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 2.636e-05/0.07557, allocations: 12 kB / 378.6 MB, free: 1.816 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.662e-05/0.07561, allocations: 12 kB / 378.6 MB, free: 1.805 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 3.381e-05/0.07565, allocations: 35.91 kB / 378.6 MB, free: 1.77 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 7.95e-05/0.07574, allocations: 87.55 kB / 378.7 MB, free: 1.684 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002118/0.07595, allocations: 179.2 kB / 378.9 MB, free: 1.508 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.516e-06/0.07597, allocations: 4 kB / 378.9 MB, free: 1.504 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.352e-06/0.07597, allocations: 0 / 378.9 MB, free: 1.504 MB / 318.1 MB Notification: Performance of Transformations before backend: time 5.15e-06/0.07598, allocations: 0 / 378.9 MB, free: 1.504 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.0005779/0.07657, allocations: 470.6 kB / 379.4 MB, free: 0.9961 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.409e-05/0.07661, allocations: 15.89 kB / 379.4 MB, free: 0.9805 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.341e-05/0.07666, allocations: 20.84 kB / 379.4 MB, free: 0.9609 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002541/0.07692, allocations: 220.1 kB / 379.6 MB, free: 0.707 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.464e-05/0.07694, allocations: 8.375 kB / 379.6 MB, free: 0.6992 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.918e-05/0.07699, allocations: 20.38 kB / 379.6 MB, free: 0.6797 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002773/0.07727, allocations: 190.2 kB / 379.8 MB, free: 484 kB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.622e-05/0.0773, allocations: 7.938 kB / 379.8 MB, free: 476 kB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.748e-05/0.07732, allocations: 8 kB / 379.8 MB, free: 468 kB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.103e-06/0.07733, allocations: 4 kB / 379.8 MB, free: 464 kB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001768/0.07751, allocations: 99.88 kB / 379.9 MB, free: 364 kB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1365/0.214, allocations: 0.9368 MB / 380.9 MB, free: 12.45 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001162/0.2141, allocations: 105.5 kB / 381 MB, free: 12.38 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.78e-05/0.2142, allocations: 46.53 kB / 381 MB, free: 12.35 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.13e-05/0.2142, allocations: 1.375 kB / 381 MB, free: 12.35 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.415e-05/0.2142, allocations: 41.58 kB / 381.1 MB, free: 12.31 MB / 318.1 MB Notification: Performance of pre-optimization done (n=12): time 2.305e-06/0.2142, allocations: 0 / 381.1 MB, free: 12.31 MB / 318.1 MB Notification: Performance of matching and sorting (n=12): time 0.0002793/0.2145, allocations: 131.8 kB / 381.2 MB, free: 12.27 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.944e-05/0.2145, allocations: 109.4 kB / 381.3 MB, free: 12.15 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001505/0.2147, allocations: 207.5 kB / 381.5 MB, free: 12.04 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 8.897e-06/0.2147, allocations: 27.92 kB / 381.5 MB, free: 12.01 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.277e-05/0.2148, allocations: 142.4 kB / 381.7 MB, free: 11.91 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.196e-05/0.2148, allocations: 52.39 kB / 381.7 MB, free: 11.88 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.71e-05/0.2149, allocations: 44.64 kB / 381.8 MB, free: 11.86 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 4.276e-05/0.2149, allocations: 334.1 kB / 382.1 MB, free: 11.55 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.479e-05/0.215, allocations: 39.2 kB / 382.1 MB, free: 11.55 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.047e-05/0.2151, allocations: 144.6 kB / 382.3 MB, free: 11.41 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001591/0.2153, allocations: 198.4 kB / 382.5 MB, free: 11.28 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.035e-06/0.2153, allocations: 2.578 kB / 382.5 MB, free: 11.28 MB / 318.1 MB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0002633/0.2155, allocations: 216.5 kB / 382.7 MB, free: 11.22 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.58e-05/0.2156, allocations: 16.31 kB / 382.7 MB, free: 11.21 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.374e-06/0.2156, allocations: 5 kB / 382.7 MB, free: 11.21 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.752e-05/0.2156, allocations: 6.438 kB / 382.7 MB, free: 11.21 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001538/0.2158, allocations: 49.91 kB / 382.7 MB, free: 11.21 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.896e-06/0.2158, allocations: 9.438 kB / 382.8 MB, free: 11.21 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001157/0.2159, allocations: 26.78 kB / 382.8 MB, free: 11.2 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.322e-05/0.2159, allocations: 9.625 kB / 382.8 MB, free: 11.2 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 6.81e-05/0.216, allocations: 141.2 kB / 382.9 MB, free: 11.07 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.745e-05/0.2161, allocations: 21.47 kB / 383 MB, free: 11.06 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.812e-05/0.2161, allocations: 19.02 kB / 383 MB, free: 11.05 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.797e-06/0.2161, allocations: 2.125 kB / 383 MB, free: 11.05 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.683e-06/0.2161, allocations: 2.812 kB / 383 MB, free: 11.05 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.324e-05/0.2162, allocations: 99.77 kB / 383.1 MB, free: 10.95 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.617e-05/0.2162, allocations: 3.594 kB / 383.1 MB, free: 10.95 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002515/0.2165, allocations: 7.328 kB / 383.1 MB, free: 10.95 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.547e-05/0.2165, allocations: 8.266 kB / 383.1 MB, free: 10.95 MB / 318.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.000295/0.2168, allocations: 365.5 kB / 383.4 MB, free: 10.68 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0002639/0.2171, allocations: 468.1 kB / 383.9 MB, free: 10.31 MB / 318.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 6.246e-05/0.2171, allocations: 30.62 kB / 383.9 MB, free: 10.31 MB / 318.1 MB Notification: Performance of sorting global known variables: time 9.949e-05/0.2172, allocations: 150.2 kB / 384.1 MB, free: 10.23 MB / 318.1 MB Notification: Performance of Backend: time 8.52e-07/0.2172, allocations: 0 / 384.1 MB, free: 10.23 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0005738/0.2178, allocations: 168 kB / 384.2 MB, free: 10.15 MB / 318.1 MB Notification: Performance of SimCode: time 0.0009891/0.2188, allocations: 1.094 MB / 385.3 MB, free: 9.242 MB / 318.1 MB Notification: Performance of Templates: time 0.003992/0.2228, allocations: 1.66 MB / 387 MB, free: 9.102 MB / 318.1 MB make -j1 -f Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.SignConvention.makefile (rm -f Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.SignConvention.pipe ; mkfifo Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.SignConvention.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.SignConvention.pipe >> ../files/Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.SignConvention.sim & ./Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.SignConvention -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.SignConvention.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.SignConvention_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Mechanics/Translational/Examples/SignConvention/SignConvention.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.SignConvention.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches