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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001527/0.001527, allocations: 114.7 kB / 19.17 MB, free: 3.891 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001427/0.001427, allocations: 203.8 kB / 22.11 MB, free: 0.9531 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.373/1.373, allocations: 207.6 MB / 232.5 MB, free: 3.918 MB / 174.1 MB " [Timeout remaining time 179] 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.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Modelica.Mechanics.Translational.Examples.SignConvention,fileNamePrefix="Modelica_3_2_3_Modelica_Mechanics_Translational_Examples_SignConvention",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Mechanics.Translational.Examples.SignConvention,fileNamePrefix="Modelica_3_2_3_Modelica_Mechanics_Translational_Examples_SignConvention",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Modelica requested package Complex of version 3.2.3. Complex 4.1.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.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001712/0.001712, allocations: 47.94 kB / 343 MB, free: 10 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09027/0.09198, allocations: 49.12 MB / 392.1 MB, free: 8.711 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.SignConvention): time 0.003324/0.09531, allocations: 2.115 MB / 394.2 MB, free: 6.586 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003536/0.09566, allocations: 147.4 kB / 394.4 MB, free: 6.441 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.323e-05/0.09575, allocations: 7.938 kB / 394.4 MB, free: 6.434 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000146/0.0959, allocations: 27.72 kB / 394.4 MB, free: 6.406 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001069/0.09601, allocations: 55.55 kB / 394.4 MB, free: 6.352 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000156/0.09616, allocations: 39.95 kB / 394.5 MB, free: 6.312 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.000233/0.09639, allocations: 179.2 kB / 394.7 MB, free: 6.137 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001485/0.09654, allocations: 50.25 kB / 394.7 MB, free: 6.082 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.896e-05/0.09662, allocations: 67.73 kB / 394.8 MB, free: 6.016 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001226/0.09674, allocations: 83.55 kB / 394.9 MB, free: 5.934 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 2.523e-05/0.09677, allocations: 12 kB / 394.9 MB, free: 5.922 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.535e-05/0.09679, allocations: 20 kB / 394.9 MB, free: 5.902 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 3.595e-05/0.09683, allocations: 27.92 kB / 394.9 MB, free: 5.875 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 8.724e-05/0.09692, allocations: 87.53 kB / 395 MB, free: 5.789 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00023/0.09715, allocations: 179.2 kB / 395.2 MB, free: 5.613 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.118e-06/0.09715, allocations: 0 / 395.2 MB, free: 5.613 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.273e-06/0.09715, allocations: 0 / 395.2 MB, free: 5.613 MB / 318.1 MB Notification: Performance of Transformations before backend: time 5.951e-06/0.09716, allocations: 0 / 395.2 MB, free: 5.613 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.0006334/0.09779, allocations: 470.7 kB / 395.6 MB, free: 5.105 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.709e-05/0.09783, allocations: 12.03 kB / 395.7 MB, free: 5.094 MB / 318.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.345e-05/0.09785, allocations: 4.188 kB / 395.7 MB, free: 5.09 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.482e-05/0.09791, allocations: 54.67 kB / 395.7 MB, free: 5.027 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.115e-05/0.09795, allocations: 20.84 kB / 395.7 MB, free: 5.008 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00027/0.09822, allocations: 216.1 kB / 395.9 MB, free: 4.758 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.818e-05/0.09824, allocations: 12.38 kB / 396 MB, free: 4.746 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.666e-05/0.09827, allocations: 16.38 kB / 396 MB, free: 4.73 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003346/0.09861, allocations: 197.6 kB / 396.2 MB, free: 4.516 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.653e-05/0.09863, allocations: 3.938 kB / 396.2 MB, free: 4.512 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.038e-05/0.09865, allocations: 8 kB / 396.2 MB, free: 4.504 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.304e-06/0.09865, allocations: 4 kB / 396.2 MB, free: 4.5 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001747/0.09883, allocations: 103.9 kB / 396.3 MB, free: 4.398 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001254/0.1001, allocations: 0.947 MB / 397.2 MB, free: 3.367 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001437/0.1002, allocations: 111.8 kB / 397.3 MB, free: 3.23 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.316e-05/0.1003, allocations: 42.59 kB / 397.4 MB, free: 3.18 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.837e-06/0.1003, allocations: 0 / 397.4 MB, free: 3.18 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.029e-05/0.1003, allocations: 38.56 kB / 397.4 MB, free: 3.133 MB / 318.1 MB Notification: Performance of pre-optimization done (n=12): time 9.62e-07/0.1003, allocations: 0 / 397.4 MB, free: 3.133 MB / 318.1 MB Notification: Performance of matching and sorting (n=12): time 0.0002892/0.1006, allocations: 121.5 kB / 397.5 MB, free: 3.008 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.015e-05/0.1007, allocations: 110.8 kB / 397.6 MB, free: 2.875 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002059/0.1009, allocations: 215.7 kB / 397.9 MB, free: 2.652 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.786e-05/0.1009, allocations: 29.7 kB / 397.9 MB, free: 2.617 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.106e-05/0.101, allocations: 140.1 kB / 398 MB, free: 2.477 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.195e-05/0.1011, allocations: 59.52 kB / 398.1 MB, free: 2.418 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.256e-05/0.1011, allocations: 45.94 kB / 398.1 MB, free: 2.367 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001402/0.1013, allocations: 326.8 kB / 398.4 MB, free: 2.039 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.297e-05/0.1013, allocations: 40.45 kB / 398.5 MB, free: 2 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001411/0.1015, allocations: 139.6 kB / 398.6 MB, free: 1.816 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002317/0.1017, allocations: 201.4 kB / 398.8 MB, free: 1.57 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.268e-06/0.1017, allocations: 4 kB / 398.8 MB, free: 1.566 MB / 318.1 MB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0003285/0.102, allocations: 225.8 kB / 399 MB, free: 1.34 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.835e-05/0.1021, allocations: 8 kB / 399 MB, free: 1.332 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.146e-06/0.1021, allocations: 7.938 kB / 399.1 MB, free: 1.324 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.724e-05/0.1021, allocations: 4 kB / 399.1 MB, free: 1.32 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001598/0.1022, allocations: 51.92 kB / 399.1 MB, free: 1.27 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.228e-05/0.1023, allocations: 12.28 kB / 399.1 MB, free: 1.258 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001116/0.1024, allocations: 31.78 kB / 399.1 MB, free: 1.227 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.517e-05/0.1024, allocations: 12 kB / 399.2 MB, free: 1.215 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 0.0001122/0.1025, allocations: 133.8 kB / 399.3 MB, free: 1.074 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.86e-05/0.1026, allocations: 15.91 kB / 399.3 MB, free: 1.059 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.95e-05/0.1026, allocations: 20.94 kB / 399.3 MB, free: 1.035 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.248e-06/0.1026, allocations: 4 kB / 399.3 MB, free: 1.031 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.061e-06/0.1026, allocations: 3.938 kB / 399.3 MB, free: 1.027 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.19e-06/0.1026, allocations: 3.984 kB / 399.3 MB, free: 1.023 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004236/0.103, allocations: 237.5 kB / 399.6 MB, free: 0.7422 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.302e-06/0.103, allocations: 4 kB / 399.6 MB, free: 0.7383 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000151/0.1032, allocations: 27.98 kB / 399.6 MB, free: 0.7109 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.048e-06/0.1032, allocations: 4 kB / 399.6 MB, free: 0.707 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.32e-05/0.1032, allocations: 3.984 kB / 399.6 MB, free: 0.7031 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.422e-06/0.1032, allocations: 0 / 399.6 MB, free: 0.7031 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.091e-06/0.1032, allocations: 11.88 kB / 399.6 MB, free: 0.6914 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003287/0.1036, allocations: 385.8 kB / 400 MB, free: 304 kB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.313e-05/0.1036, allocations: 96.95 kB / 400.1 MB, free: 188 kB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.526e-05/0.1036, allocations: 4 kB / 400.1 MB, free: 184 kB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001428/0.1038, allocations: 4.062 kB / 400.1 MB, free: 180 kB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.296e-05/0.1038, allocations: 11.92 kB / 400.1 MB, free: 168 kB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.326e-06/0.1038, allocations: 4 kB / 400.1 MB, free: 164 kB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0001257/0.1039, allocations: 149.5 kB / 400.3 MB, free: 16 kB / 318.1 MB Notification: Performance of sort global known variables: time 7e-08/0.1039, allocations: 0 / 400.3 MB, free: 16 kB / 318.1 MB Notification: Performance of remove unused functions: time 0.0003684/0.1043, allocations: 40.02 kB / 400.3 MB, free: 15.97 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.0006081/0.1049, allocations: 0.914 MB / 401.2 MB, free: 15.03 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0002014/0.1051, allocations: 104.7 kB / 401.3 MB, free: 14.93 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.084e-06/0.1051, allocations: 0 / 401.3 MB, free: 14.93 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 5.096e-05/0.1052, allocations: 39.92 kB / 401.4 MB, free: 14.89 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004896/0.1057, allocations: 32.62 kB / 401.4 MB, free: 14.86 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002806/0.1085, allocations: 2.631 MB / 404 MB, free: 12.05 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003637/0.1088, allocations: 0.7281 MB / 404.7 MB, free: 11.29 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 6.647e-05/0.1089, allocations: 17.95 kB / 404.8 MB, free: 11.28 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.087e-05/0.109, allocations: 51.42 kB / 404.8 MB, free: 11.23 MB / 334.1 MB Notification: Performance of SimCode: time 4.41e-07/0.109, allocations: 0 / 404.8 MB, free: 11.23 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02117/0.1302, allocations: 3.525 MB / 408.3 MB, free: 7.648 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.938/8.068, allocations: 4.062 kB / 408.3 MB, free: 7.645 MB / 334.1 MB " [Timeout remaining time 652] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.SignConvention_res.mat --tempDir=temp_Modelica_3_2_3_Modelica_Mechanics_Translational_Examples_SignConvention_fmu --startTime=0 --stopTime=1 --stepSize=0.001 --timeout=50 --tolerance=1e-06 Modelica_3_2_3_Modelica_Mechanics_Translational_Examples_SignConvention.fmu > Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.SignConvention.pipe 2>&1) [Timeout 52.5] 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) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 10.341581157001201]