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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001337/0.001337, allocations: 109.5 kB / 20.43 MB, free: 1.449 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001442/0.001442, allocations: 188 kB / 23.72 MB, free: 4.684 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.387/1.387, allocations: 225.6 MB / 252.5 MB, free: 13.02 MB / 206.1 MB " [Timeout remaining time 178] 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: "" <> buildModelFMU(Modelica.Mechanics.Translational.Examples.SignConvention,fileNamePrefix="Modelica_4_0_0_Modelica_Mechanics_Translational_Examples_SignConvention",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Mechanics.Translational.Examples.SignConvention,fileNamePrefix="Modelica_4_0_0_Modelica_Mechanics_Translational_Examples_SignConvention",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001609/0.001609, allocations: 51.91 kB / 370.4 MB, free: 9.852 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2616/0.2633, allocations: 52.18 MB / 422.6 MB, free: 14.59 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.SignConvention): time 0.003855/0.2671, allocations: 2.126 MB / 424.7 MB, free: 12.45 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0004961/0.2676, allocations: 163.4 kB / 424.9 MB, free: 12.29 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001677/0.2678, allocations: 7.938 kB / 424.9 MB, free: 12.28 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001613/0.2679, allocations: 35.72 kB / 424.9 MB, free: 12.25 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001283/0.2681, allocations: 43.56 kB / 425 MB, free: 12.2 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002094/0.2683, allocations: 43.94 kB / 425 MB, free: 12.16 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002732/0.2685, allocations: 175.2 kB / 425.2 MB, free: 11.99 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001688/0.2687, allocations: 50.39 kB / 425.2 MB, free: 11.93 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001008/0.2688, allocations: 63.73 kB / 425.3 MB, free: 11.87 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001376/0.269, allocations: 79.62 kB / 425.4 MB, free: 11.79 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 2.856e-05/0.269, allocations: 16 kB / 425.4 MB, free: 11.78 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.031e-05/0.269, allocations: 16 kB / 425.4 MB, free: 11.76 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 3.937e-05/0.2691, allocations: 31.86 kB / 425.4 MB, free: 11.73 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 9.32e-05/0.2691, allocations: 83.59 kB / 425.5 MB, free: 11.65 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002519/0.2694, allocations: 179.6 kB / 425.7 MB, free: 11.48 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.958e-06/0.2694, allocations: 0 / 425.7 MB, free: 11.48 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.553e-06/0.2694, allocations: 0 / 425.7 MB, free: 11.48 MB / 334.1 MB Notification: Performance of Transformations before backend: time 7.504e-06/0.2694, allocations: 0 / 425.7 MB, free: 11.48 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.00063/0.27, allocations: 393.5 kB / 426.1 MB, free: 11.07 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.999e-05/0.2701, allocations: 12.03 kB / 426.1 MB, free: 11.05 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.456e-05/0.2701, allocations: 58.67 kB / 426.2 MB, free: 10.99 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.645e-05/0.2702, allocations: 20.84 kB / 426.2 MB, free: 10.97 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002626/0.2705, allocations: 154.2 kB / 426.3 MB, free: 10.79 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.609e-05/0.2705, allocations: 12.38 kB / 426.3 MB, free: 10.78 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.925e-05/0.2705, allocations: 20.38 kB / 426.4 MB, free: 10.76 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000295/0.2708, allocations: 190.2 kB / 426.5 MB, free: 10.55 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.727e-05/0.2708, allocations: 3.938 kB / 426.5 MB, free: 10.55 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.138e-05/0.2708, allocations: 8 kB / 426.6 MB, free: 10.54 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.763e-06/0.2709, allocations: 4 kB / 426.6 MB, free: 10.54 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001825/0.271, allocations: 102.9 kB / 426.7 MB, free: 10.44 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001333/0.2724, allocations: 0.9187 MB / 427.6 MB, free: 9.445 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001527/0.2725, allocations: 99.75 kB / 427.7 MB, free: 9.32 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.516e-05/0.2726, allocations: 46.69 kB / 427.7 MB, free: 9.266 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.144e-05/0.2726, allocations: 0 / 427.7 MB, free: 9.266 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.631e-05/0.2726, allocations: 38.5 kB / 427.8 MB, free: 9.219 MB / 334.1 MB Notification: Performance of pre-optimization done (n=12): time 2.695e-06/0.2726, allocations: 3.984 kB / 427.8 MB, free: 9.215 MB / 334.1 MB Notification: Performance of matching and sorting (n=12): time 0.0003061/0.2729, allocations: 121.5 kB / 427.9 MB, free: 9.09 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.42e-05/0.273, allocations: 122.7 kB / 428 MB, free: 8.945 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002049/0.2732, allocations: 207.7 kB / 428.2 MB, free: 8.73 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.743e-05/0.2732, allocations: 25.7 kB / 428.2 MB, free: 8.699 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001005/0.2733, allocations: 140.1 kB / 428.4 MB, free: 8.559 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.219e-05/0.2734, allocations: 51.59 kB / 428.4 MB, free: 8.508 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.553e-05/0.2734, allocations: 45.94 kB / 428.5 MB, free: 8.453 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001449/0.2736, allocations: 330.8 kB / 428.8 MB, free: 8.121 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.808e-05/0.2736, allocations: 40.45 kB / 428.8 MB, free: 8.082 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001674/0.2738, allocations: 144.5 kB / 429 MB, free: 7.895 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002372/0.2741, allocations: 193.5 kB / 429.2 MB, free: 7.656 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.019e-06/0.2741, allocations: 4 kB / 429.2 MB, free: 7.652 MB / 334.1 MB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0003281/0.2744, allocations: 217.2 kB / 429.4 MB, free: 7.434 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.774e-05/0.2744, allocations: 8 kB / 429.4 MB, free: 7.426 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.095e-06/0.2744, allocations: 4 kB / 429.4 MB, free: 7.422 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.7e-05/0.2744, allocations: 4 kB / 429.4 MB, free: 7.418 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001531/0.2746, allocations: 47.92 kB / 429.4 MB, free: 7.371 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.23e-05/0.2746, allocations: 12.33 kB / 429.4 MB, free: 7.359 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001132/0.2747, allocations: 32.48 kB / 429.5 MB, free: 7.328 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.993e-05/0.2747, allocations: 16 kB / 429.5 MB, free: 7.312 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.0001113/0.2748, allocations: 133.7 kB / 429.6 MB, free: 7.172 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.917e-05/0.2749, allocations: 15.91 kB / 429.6 MB, free: 7.156 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.886e-05/0.275, allocations: 21.02 kB / 429.7 MB, free: 7.133 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.178e-06/0.275, allocations: 4 kB / 429.7 MB, free: 7.129 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.15e-06/0.275, allocations: 0 / 429.7 MB, free: 7.129 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.04e-06/0.275, allocations: 3.938 kB / 429.7 MB, free: 7.125 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004155/0.2754, allocations: 216.6 kB / 429.9 MB, free: 6.871 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.813e-06/0.2754, allocations: 4 kB / 429.9 MB, free: 6.867 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001393/0.2755, allocations: 27.98 kB / 429.9 MB, free: 6.84 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.959e-06/0.2755, allocations: 4 kB / 429.9 MB, free: 6.836 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.417e-05/0.2755, allocations: 4 kB / 429.9 MB, free: 6.832 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.195e-05/0.2756, allocations: 11.94 kB / 429.9 MB, free: 6.82 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.026e-06/0.2756, allocations: 3.938 kB / 429.9 MB, free: 6.816 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003378/0.2759, allocations: 389.8 kB / 430.3 MB, free: 6.418 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.368e-05/0.2759, allocations: 19.84 kB / 430.3 MB, free: 6.398 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.755e-05/0.276, allocations: 4.062 kB / 430.3 MB, free: 6.395 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001429/0.2761, allocations: 0 / 430.3 MB, free: 6.395 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.242e-05/0.2761, allocations: 11.92 kB / 430.4 MB, free: 6.383 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.455e-06/0.2761, allocations: 8 kB / 430.4 MB, free: 6.375 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0001336/0.2763, allocations: 145.5 kB / 430.5 MB, free: 6.234 MB / 334.1 MB Notification: Performance of sort global known variables: time 6e-08/0.2763, allocations: 0 / 430.5 MB, free: 6.234 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0003706/0.2766, allocations: 36 kB / 430.5 MB, free: 6.199 MB / 334.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.000603/0.2772, allocations: 0.9218 MB / 431.5 MB, free: 5.246 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.000222/0.2775, allocations: 108.3 kB / 431.6 MB, free: 5.141 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.384e-06/0.2775, allocations: 0 / 431.6 MB, free: 5.141 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 6.685e-05/0.2775, allocations: 35.92 kB / 431.6 MB, free: 5.105 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005022/0.278, allocations: 27.92 kB / 431.6 MB, free: 5.078 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002916/0.281, allocations: 2.629 MB / 434.3 MB, free: 2.27 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003561/0.2813, allocations: 0.7281 MB / 435 MB, free: 1.516 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 7.094e-05/0.2814, allocations: 21.94 kB / 435 MB, free: 1.496 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.307e-05/0.2815, allocations: 51.42 kB / 435.1 MB, free: 1.445 MB / 334.1 MB Notification: Performance of SimCode: time 5.21e-07/0.2815, allocations: 0 / 435.1 MB, free: 1.445 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03228/0.3138, allocations: 3.701 MB / 438.8 MB, free: 13.89 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.6/10.91, allocations: 6.297 kB / 438.8 MB, free: 13.89 MB / 350.1 MB " [Timeout remaining time 649] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.SignConvention_res.mat --tempDir=temp_Modelica_4_0_0_Modelica_Mechanics_Translational_Examples_SignConvention_fmu --startTime=0 --stopTime=1 --stepSize=0.001 --timeout=50 --tolerance=1e-06 Modelica_4_0_0_Modelica_Mechanics_Translational_Examples_SignConvention.fmu > Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.SignConvention.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.SignConvention_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Mechanics/Translational/Examples/SignConvention/SignConvention.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_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: 13.169364423956722]