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.001216/0.001216, allocations: 121 kB / 18.5 MB, free: 4.562 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.001321/0.001321, allocations: 213.5 kB / 21.45 MB, free: 1.617 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.395/1.395, allocations: 230.6 MB / 254.8 MB, free: 14.9 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="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Mechanics.Translational.Examples.SignConvention,fileNamePrefix="Modelica_4_1_0_Modelica_Mechanics_Translational_Examples_SignConvention",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001561/0.001561, allocations: 51.92 kB / 373.7 MB, free: 10.18 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1024/0.104, allocations: 53.32 MB / 427 MB, free: 4.766 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.SignConvention): time 0.003844/0.1078, allocations: 2.123 MB / 429.1 MB, free: 2.633 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003886/0.1082, allocations: 163.4 kB / 429.3 MB, free: 2.473 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001042/0.1083, allocations: 7.938 kB / 429.3 MB, free: 2.465 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001431/0.1084, allocations: 31.72 kB / 429.3 MB, free: 2.434 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001034/0.1085, allocations: 51.55 kB / 429.4 MB, free: 2.383 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001602/0.1087, allocations: 35.95 kB / 429.4 MB, free: 2.348 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002482/0.109, allocations: 183.2 kB / 429.6 MB, free: 2.168 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001522/0.1091, allocations: 42.28 kB / 429.6 MB, free: 2.121 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.362e-05/0.1092, allocations: 67.78 kB / 429.7 MB, free: 2.055 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001262/0.1093, allocations: 75.64 kB / 429.8 MB, free: 1.98 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 4.277e-05/0.1094, allocations: 12 kB / 429.8 MB, free: 1.969 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.77e-05/0.1094, allocations: 16 kB / 429.8 MB, free: 1.953 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 4.052e-05/0.1094, allocations: 35.91 kB / 429.8 MB, free: 1.918 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 9.079e-05/0.1095, allocations: 87.53 kB / 429.9 MB, free: 1.832 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002559/0.1098, allocations: 179.1 kB / 430.1 MB, free: 1.656 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.622e-06/0.1098, allocations: 8 kB / 430.1 MB, free: 1.648 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.502e-06/0.1098, allocations: 0 / 430.1 MB, free: 1.648 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.302e-06/0.1098, allocations: 0 / 430.1 MB, free: 1.648 MB / 350.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.0006846/0.1105, allocations: 462.7 kB / 430.5 MB, free: 1.148 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.33e-05/0.1105, allocations: 12.03 kB / 430.6 MB, free: 1.137 MB / 350.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.861e-05/0.1105, allocations: 7.969 kB / 430.6 MB, free: 1.129 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.939e-05/0.1106, allocations: 50.73 kB / 430.6 MB, free: 1.07 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.538e-05/0.1106, allocations: 20.8 kB / 430.6 MB, free: 1.051 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003121/0.1109, allocations: 212.1 kB / 430.8 MB, free: 0.8047 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.45e-05/0.111, allocations: 12.38 kB / 430.9 MB, free: 0.793 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.584e-05/0.111, allocations: 24.33 kB / 430.9 MB, free: 0.7695 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003473/0.1113, allocations: 201.8 kB / 431.1 MB, free: 0.5508 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.682e-05/0.1114, allocations: 3.938 kB / 431.1 MB, free: 0.5469 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.75e-05/0.1114, allocations: 4 kB / 431.1 MB, free: 0.543 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.265e-06/0.1114, allocations: 8 kB / 431.1 MB, free: 0.5352 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001903/0.1116, allocations: 103.9 kB / 431.2 MB, free: 444 kB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1887/0.3003, allocations: 0.9462 MB / 432.1 MB, free: 10.39 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001585/0.3004, allocations: 105.1 kB / 432.2 MB, free: 10.32 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.117e-05/0.3005, allocations: 41.36 kB / 432.3 MB, free: 10.3 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.264e-05/0.3005, allocations: 1.672 kB / 432.3 MB, free: 10.3 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.769e-05/0.3005, allocations: 34.36 kB / 432.3 MB, free: 10.26 MB / 350.1 MB Notification: Performance of pre-optimization done (n=12): time 2.856e-06/0.3005, allocations: 0 / 432.3 MB, free: 10.26 MB / 350.1 MB Notification: Performance of matching and sorting (n=12): time 0.0003644/0.3009, allocations: 137.4 kB / 432.5 MB, free: 10.22 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.847e-05/0.3009, allocations: 107.5 kB / 432.6 MB, free: 10.09 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002083/0.3011, allocations: 202.6 kB / 432.8 MB, free: 9.988 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.194e-05/0.3011, allocations: 30.55 kB / 432.8 MB, free: 9.957 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.673e-05/0.3012, allocations: 143.2 kB / 432.9 MB, free: 9.852 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.554e-05/0.3013, allocations: 56.12 kB / 433 MB, free: 9.82 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.151e-05/0.3013, allocations: 47.56 kB / 433 MB, free: 9.801 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 6.259e-05/0.3014, allocations: 327.7 kB / 433.3 MB, free: 9.488 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.25e-05/0.3015, allocations: 38.3 kB / 433.4 MB, free: 9.488 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001136/0.3016, allocations: 142.8 kB / 433.5 MB, free: 9.363 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001908/0.3018, allocations: 202.3 kB / 433.7 MB, free: 9.238 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.366e-06/0.3018, allocations: 0.9688 kB / 433.7 MB, free: 9.238 MB / 350.1 MB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0002999/0.3021, allocations: 216.2 kB / 433.9 MB, free: 9.195 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.01e-05/0.3021, allocations: 7.594 kB / 433.9 MB, free: 9.195 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.277e-06/0.3021, allocations: 10.72 kB / 434 MB, free: 9.191 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.388e-05/0.3021, allocations: 7.344 kB / 434 MB, free: 9.191 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001595/0.3023, allocations: 52.12 kB / 434 MB, free: 9.191 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.155e-05/0.3023, allocations: 5.938 kB / 434 MB, free: 9.191 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001124/0.3024, allocations: 23.69 kB / 434 MB, free: 9.18 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.8e-05/0.3024, allocations: 10.09 kB / 434 MB, free: 9.18 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 8.562e-05/0.3025, allocations: 138 kB / 434.2 MB, free: 9.062 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.943e-05/0.3026, allocations: 19.94 kB / 434.2 MB, free: 9.055 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.685e-05/0.3026, allocations: 26 kB / 434.2 MB, free: 9.035 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.338e-06/0.3026, allocations: 1.25 kB / 434.2 MB, free: 9.035 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.284e-06/0.3026, allocations: 0.75 kB / 434.2 MB, free: 9.035 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.589e-06/0.3026, allocations: 2.078 kB / 434.2 MB, free: 9.035 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003789/0.303, allocations: 243.9 kB / 434.5 MB, free: 8.844 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.723e-06/0.303, allocations: 2.906 kB / 434.5 MB, free: 8.844 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001367/0.3032, allocations: 25.84 kB / 434.5 MB, free: 8.844 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.156e-06/0.3032, allocations: 0.75 kB / 434.5 MB, free: 8.844 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.336e-05/0.3032, allocations: 6.031 kB / 434.5 MB, free: 8.84 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.655e-06/0.3032, allocations: 5.688 kB / 434.5 MB, free: 8.84 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.483e-06/0.3032, allocations: 2.469 kB / 434.5 MB, free: 8.84 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002562/0.3034, allocations: 387.4 kB / 434.9 MB, free: 8.551 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.688e-05/0.3035, allocations: 99.05 kB / 435 MB, free: 8.445 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.779e-05/0.3035, allocations: 12.5 kB / 435 MB, free: 8.441 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001393/0.3036, allocations: 2.938 kB / 435 MB, free: 8.441 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.549e-05/0.3037, allocations: 13.77 kB / 435 MB, free: 8.441 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.851e-06/0.3037, allocations: 3.812 kB / 435 MB, free: 8.441 MB / 350.1 MB Notification: Performance of sorting global known variables: time 9.927e-05/0.3038, allocations: 148.7 kB / 435.2 MB, free: 8.363 MB / 350.1 MB Notification: Performance of sort global known variables: time 6e-08/0.3038, allocations: 0 / 435.2 MB, free: 8.363 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003534/0.3041, allocations: 34.5 kB / 435.2 MB, free: 8.363 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.000371/0.3045, allocations: 0.9268 MB / 436.1 MB, free: 7.543 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0001989/0.3047, allocations: 109.8 kB / 436.2 MB, free: 7.531 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.914e-06/0.3047, allocations: 0 / 436.2 MB, free: 7.531 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 4.428e-05/0.3047, allocations: 39.38 kB / 436.3 MB, free: 7.523 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004879/0.3052, allocations: 28.3 kB / 436.3 MB, free: 7.523 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002243/0.3075, allocations: 2.615 MB / 438.9 MB, free: 5.609 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001921/0.3077, allocations: 0.7265 MB / 439.6 MB, free: 4.91 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 7.633e-05/0.3077, allocations: 20.7 kB / 439.7 MB, free: 4.906 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.509e-05/0.3078, allocations: 53.12 kB / 439.7 MB, free: 4.898 MB / 350.1 MB Notification: Performance of SimCode: time 5.61e-07/0.3078, allocations: 1.125 kB / 439.7 MB, free: 4.898 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02428/0.3321, allocations: 3.544 MB / 443.3 MB, free: 4.359 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.887/8.219, allocations: 9.031 kB / 443.3 MB, free: 4.355 MB / 350.1 MB " [Timeout remaining time 652] (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: 10.540345678979065]