Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_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.001843/0.001843, allocations: 115.6 kB / 20.43 MB, free: 1.465 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.002172/0.002172, allocations: 212 kB / 23.74 MB, free: 4.688 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.456/1.456, allocations: 230.6 MB / 257.5 MB, free: 8.004 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+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_4_1_0_Modelica_Mechanics_Translational_Examples_SignConvention",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Mechanics.Translational.Examples.SignConvention,fileNamePrefix="Modelica_4_1_0_Modelica_Mechanics_Translational_Examples_SignConvention",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001576/0.001576, allocations: 47.92 kB / 377.8 MB, free: 3.27 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2732/0.2747, allocations: 53.37 MB / 431.1 MB, free: 6.887 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.SignConvention): time 0.003429/0.2782, allocations: 2.132 MB / 433.3 MB, free: 4.75 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003879/0.2786, allocations: 159.4 kB / 433.4 MB, free: 4.594 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.44e-05/0.2786, allocations: 7.938 kB / 433.4 MB, free: 4.586 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001439/0.2788, allocations: 27.72 kB / 433.4 MB, free: 4.559 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001067/0.2789, allocations: 55.55 kB / 433.5 MB, free: 4.504 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001834/0.2791, allocations: 39.89 kB / 433.5 MB, free: 4.465 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.000245/0.2793, allocations: 179.2 kB / 433.7 MB, free: 4.289 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001617/0.2795, allocations: 50.39 kB / 433.8 MB, free: 4.234 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.349e-05/0.2796, allocations: 59.8 kB / 433.8 MB, free: 4.176 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000144/0.2797, allocations: 79.62 kB / 433.9 MB, free: 4.098 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 3.043e-05/0.2797, allocations: 12 kB / 433.9 MB, free: 4.086 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.8e-05/0.2798, allocations: 20 kB / 433.9 MB, free: 4.066 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 4.03e-05/0.2798, allocations: 35.84 kB / 434 MB, free: 4.031 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 8.336e-05/0.2799, allocations: 79.61 kB / 434 MB, free: 3.953 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002536/0.2802, allocations: 183.6 kB / 434.2 MB, free: 3.777 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.739e-06/0.2802, allocations: 0 / 434.2 MB, free: 3.777 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.704e-06/0.2802, allocations: 0 / 434.2 MB, free: 3.777 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.051e-05/0.2802, allocations: 3.938 kB / 434.2 MB, free: 3.773 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.0006434/0.2808, allocations: 393.5 kB / 434.6 MB, free: 3.359 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.385e-05/0.2809, allocations: 12.03 kB / 434.6 MB, free: 3.348 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.104e-05/0.2809, allocations: 46.73 kB / 434.7 MB, free: 3.293 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.51e-05/0.281, allocations: 24.8 kB / 434.7 MB, free: 3.27 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002742/0.2812, allocations: 150.3 kB / 434.8 MB, free: 3.098 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.803e-05/0.2812, allocations: 16.16 kB / 434.9 MB, free: 3.082 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.208e-05/0.2813, allocations: 24.33 kB / 434.9 MB, free: 3.059 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003051/0.2816, allocations: 194.1 kB / 435.1 MB, free: 2.848 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.392e-05/0.2816, allocations: 0 / 435.1 MB, free: 2.848 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.518e-05/0.2816, allocations: 4 kB / 435.1 MB, free: 2.844 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.304e-06/0.2816, allocations: 8 kB / 435.1 MB, free: 2.836 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001747/0.2818, allocations: 103.9 kB / 435.2 MB, free: 2.734 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001288/0.2831, allocations: 0.9264 MB / 436.1 MB, free: 1.73 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001424/0.2832, allocations: 95.75 kB / 436.2 MB, free: 1.609 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.929e-05/0.2833, allocations: 42.75 kB / 436.2 MB, free: 1.559 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.011e-05/0.2833, allocations: 0 / 436.2 MB, free: 1.559 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.382e-05/0.2833, allocations: 38.56 kB / 436.3 MB, free: 1.512 MB / 334.1 MB Notification: Performance of pre-optimization done (n=12): time 9.22e-07/0.2833, allocations: 0 / 436.3 MB, free: 1.512 MB / 334.1 MB Notification: Performance of matching and sorting (n=12): time 0.0002954/0.2836, allocations: 125.4 kB / 436.4 MB, free: 1.383 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.546e-05/0.2837, allocations: 114.8 kB / 436.5 MB, free: 1.246 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002158/0.2839, allocations: 203.8 kB / 436.7 MB, free: 1.035 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.881e-05/0.2839, allocations: 29.7 kB / 436.7 MB, free: 1 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001022/0.284, allocations: 144 kB / 436.9 MB, free: 0.8555 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.346e-05/0.2841, allocations: 55.58 kB / 436.9 MB, free: 0.8008 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.674e-05/0.2842, allocations: 45.94 kB / 437 MB, free: 0.7461 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001548/0.2843, allocations: 330.8 kB / 437.3 MB, free: 424 kB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.744e-05/0.2844, allocations: 36.45 kB / 437.3 MB, free: 388 kB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001523/0.2845, allocations: 142.6 kB / 437.5 MB, free: 196 kB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002637/0.2848, allocations: 202.1 kB / 437.7 MB, free: 15.94 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.809e-06/0.2848, allocations: 4 kB / 437.7 MB, free: 15.94 MB / 350.1 MB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0003174/0.2851, allocations: 213.2 kB / 437.9 MB, free: 15.73 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.725e-05/0.2851, allocations: 8 kB / 437.9 MB, free: 15.72 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.985e-06/0.2852, allocations: 4 kB / 437.9 MB, free: 15.71 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.829e-05/0.2852, allocations: 4 kB / 437.9 MB, free: 15.71 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001657/0.2853, allocations: 47.92 kB / 438 MB, free: 15.66 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.368e-05/0.2853, allocations: 11.92 kB / 438 MB, free: 15.65 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001158/0.2855, allocations: 40.08 kB / 438 MB, free: 15.61 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.627e-05/0.2855, allocations: 12 kB / 438 MB, free: 15.6 MB / 350.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.0001145/0.2856, allocations: 137.7 kB / 438.2 MB, free: 15.46 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.845e-05/0.2857, allocations: 15.91 kB / 438.2 MB, free: 15.44 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.041e-05/0.2857, allocations: 25.02 kB / 438.2 MB, free: 15.41 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.469e-06/0.2857, allocations: 7.938 kB / 438.2 MB, free: 15.41 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.118e-06/0.2857, allocations: 0 / 438.2 MB, free: 15.41 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.692e-06/0.2857, allocations: 3.938 kB / 438.2 MB, free: 15.4 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004125/0.2862, allocations: 204.7 kB / 438.4 MB, free: 15.16 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.302e-06/0.2862, allocations: 0 / 438.4 MB, free: 15.16 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001464/0.2863, allocations: 35.92 kB / 438.4 MB, free: 15.12 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.047e-06/0.2863, allocations: 4 kB / 438.4 MB, free: 15.12 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.174e-05/0.2863, allocations: 7.938 kB / 438.5 MB, free: 15.11 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.467e-06/0.2863, allocations: 4 kB / 438.5 MB, free: 15.11 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.493e-06/0.2863, allocations: 0 / 438.5 MB, free: 15.11 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003413/0.2867, allocations: 381.9 kB / 438.8 MB, free: 14.72 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.086e-05/0.2867, allocations: 15.84 kB / 438.8 MB, free: 14.7 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.547e-05/0.2867, allocations: 12.06 kB / 438.9 MB, free: 14.69 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001427/0.2869, allocations: 0 / 438.9 MB, free: 14.69 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.851e-05/0.2869, allocations: 15.86 kB / 438.9 MB, free: 14.68 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.913e-06/0.2869, allocations: 4 kB / 438.9 MB, free: 14.67 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001279/0.287, allocations: 153.5 kB / 439 MB, free: 14.52 MB / 350.1 MB Notification: Performance of sort global known variables: time 7.1e-08/0.287, allocations: 0 / 439 MB, free: 14.52 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003708/0.2874, allocations: 39.95 kB / 439.1 MB, free: 14.48 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.0006465/0.288, allocations: 0.914 MB / 440 MB, free: 13.54 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002136/0.2883, allocations: 108.7 kB / 440.1 MB, free: 13.43 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.284e-06/0.2883, allocations: 4.25 kB / 440.1 MB, free: 13.43 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 5.379e-05/0.2883, allocations: 35.92 kB / 440.1 MB, free: 13.39 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005011/0.2888, allocations: 38.91 kB / 440.2 MB, free: 13.36 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002945/0.2918, allocations: 2.636 MB / 442.8 MB, free: 10.55 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003863/0.2921, allocations: 0.7242 MB / 443.5 MB, free: 9.801 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 8.358e-05/0.2922, allocations: 17.94 kB / 443.5 MB, free: 9.785 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.105e-05/0.2923, allocations: 51.42 kB / 443.6 MB, free: 9.734 MB / 350.1 MB Notification: Performance of SimCode: time 6.51e-07/0.2923, allocations: 0 / 443.6 MB, free: 9.734 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03081/0.3231, allocations: 3.705 MB / 447.3 MB, free: 6.168 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.84/11.17, allocations: 4.5 kB / 447.3 MB, free: 6.164 MB / 350.1 MB " [Timeout remaining time 649] (rm -f Modelica_4.1.0_Modelica.Mechanics.Translational.Examples.SignConvention.pipe ; mkfifo Modelica_4.1.0_Modelica.Mechanics.Translational.Examples.SignConvention.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Mechanics.Translational.Examples.SignConvention.pipe >> ../files/Modelica_4.1.0_Modelica.Mechanics.Translational.Examples.SignConvention.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.1.0_Modelica.Mechanics.Translational.Examples.SignConvention_res.mat --tempDir=temp_Modelica_4_1_0_Modelica_Mechanics_Translational_Examples_SignConvention_fmu --startTime=0 --stopTime=1 --stepSize=0.001 --timeout=50 --tolerance=1e-06 Modelica_4_1_0_Modelica_Mechanics_Translational_Examples_SignConvention.fmu > Modelica_4.1.0_Modelica.Mechanics.Translational.Examples.SignConvention.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_4.1.0_Modelica.Mechanics.Translational.Examples.SignConvention_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Mechanics/Translational/Examples/SignConvention/SignConvention.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.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.553355952957645]