Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Math.Nonlinear.Examples.QuadratureLobatto3.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.001251/0.001251, allocations: 113 kB / 18.49 MB, free: 4.539 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.001345/0.001345, allocations: 217.4 kB / 21.46 MB, free: 1.586 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.369/1.369, allocations: 230.6 MB / 254.8 MB, free: 15.09 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.Math.Nonlinear.Examples.QuadratureLobatto3,fileNamePrefix="Modelica_4_1_0_Modelica_Math_Nonlinear_Examples_QuadratureLobatto3",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Math.Nonlinear.Examples.QuadratureLobatto3,fileNamePrefix="Modelica_4_1_0_Modelica_Math_Nonlinear_Examples_QuadratureLobatto3",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001413/0.001413, allocations: 47.92 kB / 373.7 MB, free: 10.21 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1065/0.1079, allocations: 53.32 MB / 427 MB, free: 4.793 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Math.Nonlinear.Examples.QuadratureLobatto3): time 0.001529/0.1095, allocations: 0.5206 MB / 427.5 MB, free: 4.273 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001895/0.1114, allocations: 1.564 MB / 429.1 MB, free: 2.691 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.033e-05/0.1114, allocations: 3.938 kB / 429.1 MB, free: 2.688 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 1.707e-05/0.1114, allocations: 3.938 kB / 429.1 MB, free: 2.684 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005578/0.1119, allocations: 179.4 kB / 429.3 MB, free: 2.508 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 1.802e-05/0.112, allocations: 0 / 429.3 MB, free: 2.508 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 5.082e-05/0.112, allocations: 15.98 kB / 429.3 MB, free: 2.492 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.689e-05/0.1121, allocations: 0 / 429.3 MB, free: 2.492 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.039e-05/0.1121, allocations: 11.92 kB / 429.3 MB, free: 2.48 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.57e-05/0.1121, allocations: 7.938 kB / 429.3 MB, free: 2.473 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.075e-05/0.1121, allocations: 0 / 429.3 MB, free: 2.473 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003696/0.1125, allocations: 251.7 kB / 429.6 MB, free: 2.227 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 9.328e-06/0.1125, allocations: 0 / 429.6 MB, free: 2.227 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 2.347e-05/0.1126, allocations: 15.92 kB / 429.6 MB, free: 2.211 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000265/0.1128, allocations: 175.5 kB / 429.7 MB, free: 2.039 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.36e-06/0.1128, allocations: 4 kB / 429.7 MB, free: 2.035 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.333e-06/0.1128, allocations: 0 / 429.7 MB, free: 2.035 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.49e-06/0.1128, allocations: 0 / 429.7 MB, free: 2.035 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0004515/0.1133, allocations: 363.1 kB / 430.1 MB, free: 1.633 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.571e-05/0.1133, allocations: 8.031 kB / 430.1 MB, free: 1.625 MB / 350.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.188e-05/0.1133, allocations: 8.188 kB / 430.1 MB, free: 1.617 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.92e-05/0.1134, allocations: 30.75 kB / 430.1 MB, free: 1.578 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.104e-05/0.1134, allocations: 0.9375 kB / 430.1 MB, free: 1.578 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001469/0.1135, allocations: 180.3 kB / 430.3 MB, free: 1.363 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.788e-06/0.1136, allocations: 384 / 430.3 MB, free: 1.363 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.523e-05/0.1136, allocations: 384 / 430.3 MB, free: 1.363 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.963e-05/0.1136, allocations: 41.62 kB / 430.4 MB, free: 1.316 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.047e-06/0.1137, allocations: 0 / 430.4 MB, free: 1.316 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.673e-06/0.1137, allocations: 4 kB / 430.4 MB, free: 1.312 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.487e-06/0.1137, allocations: 0 / 430.4 MB, free: 1.312 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.023e-05/0.1137, allocations: 7.984 kB / 430.4 MB, free: 1.305 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001767/0.1139, allocations: 157.7 kB / 430.5 MB, free: 1.102 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 6.751e-05/0.1139, allocations: 38.55 kB / 430.6 MB, free: 1.055 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.495e-05/0.114, allocations: 12.86 kB / 430.6 MB, free: 1.039 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.162e-05/0.114, allocations: 7.875 kB / 430.6 MB, free: 1.031 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.207e-05/0.114, allocations: 30.56 kB / 430.6 MB, free: 0.9922 MB / 350.1 MB Notification: Performance of pre-optimization done (n=3): time 9.12e-07/0.114, allocations: 0 / 430.6 MB, free: 0.9922 MB / 350.1 MB Notification: Performance of matching and sorting (n=3): time 0.0001349/0.1141, allocations: 49.73 kB / 430.7 MB, free: 0.9375 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.871e-05/0.1142, allocations: 55.41 kB / 430.7 MB, free: 0.8711 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.555e-05/0.1143, allocations: 113.7 kB / 430.8 MB, free: 0.75 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.476e-05/0.1143, allocations: 25.7 kB / 430.9 MB, free: 0.7188 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.826e-05/0.1143, allocations: 80.14 kB / 430.9 MB, free: 0.6367 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.61e-05/0.1144, allocations: 15.91 kB / 431 MB, free: 0.6211 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.445e-05/0.1144, allocations: 21.7 kB / 431 MB, free: 0.5938 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001472/0.1145, allocations: 310.8 kB / 431.3 MB, free: 288 kB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.054e-05/0.1146, allocations: 8 kB / 431.3 MB, free: 280 kB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.621e-05/0.1146, allocations: 17.72 kB / 431.3 MB, free: 256 kB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.604e-05/0.1146, allocations: 33.7 kB / 431.3 MB, free: 216 kB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.723e-06/0.1146, allocations: 0 / 431.3 MB, free: 216 kB / 350.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 8.37e-05/0.1147, allocations: 57.56 kB / 431.4 MB, free: 152 kB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.297e-05/0.1147, allocations: 4 kB / 431.4 MB, free: 148 kB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.869e-06/0.1147, allocations: 4 kB / 431.4 MB, free: 144 kB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.074e-05/0.1147, allocations: 0 / 431.4 MB, free: 144 kB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.774e-05/0.1148, allocations: 8 kB / 431.4 MB, free: 136 kB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.967e-06/0.1148, allocations: 4.031 kB / 431.4 MB, free: 132 kB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.355e-05/0.1148, allocations: 7.938 kB / 431.4 MB, free: 124 kB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.647e-06/0.1148, allocations: 0 / 431.4 MB, free: 124 kB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * 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 (5): * Single equations (assignments): 5 * 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.876e-05/0.1149, allocations: 113.8 kB / 431.5 MB, free: 0 / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.484e-05/0.1149, allocations: 4.141 kB / 431.5 MB, free: 15.99 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.904e-05/0.115, allocations: 15.48 kB / 431.5 MB, free: 15.97 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.192e-06/0.115, allocations: 0 / 431.5 MB, free: 15.97 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.895e-06/0.115, allocations: 0 / 431.5 MB, free: 15.97 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.054e-06/0.115, allocations: 0 / 431.5 MB, free: 15.97 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001141/0.1151, allocations: 161.6 kB / 431.7 MB, free: 15.76 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.21e-07/0.1151, allocations: 128 / 431.7 MB, free: 15.76 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.332e-05/0.1152, allocations: 15.94 kB / 431.7 MB, free: 15.75 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.603e-06/0.1152, allocations: 432 / 431.7 MB, free: 15.75 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.052e-06/0.1152, allocations: 0 / 431.7 MB, free: 15.75 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.82e-07/0.1152, allocations: 0 / 431.7 MB, free: 15.75 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.91e-07/0.1152, allocations: 0 / 431.7 MB, free: 15.75 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001186/0.1153, allocations: 81.03 kB / 431.8 MB, free: 15.65 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.678e-05/0.1153, allocations: 85.14 kB / 431.9 MB, free: 15.55 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.424e-05/0.1153, allocations: 8 kB / 431.9 MB, free: 15.54 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.698e-05/0.1154, allocations: 0 / 431.9 MB, free: 15.54 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.899e-06/0.1154, allocations: 0 / 431.9 MB, free: 15.54 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.499e-06/0.1154, allocations: 7.938 kB / 431.9 MB, free: 15.53 MB / 366.1 MB Notification: Performance of sorting global known variables: time 4.427e-05/0.1154, allocations: 87.2 kB / 432 MB, free: 15.45 MB / 366.1 MB Notification: Performance of sort global known variables: time 7e-08/0.1154, allocations: 0 / 432 MB, free: 15.45 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002588/0.1157, allocations: 51.88 kB / 432 MB, free: 15.39 MB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (q,qd) * 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 (3): * Single equations (assignments): 3 * 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.000532/0.1162, allocations: 0.6669 MB / 432.7 MB, free: 14.7 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 8.077e-05/0.1163, allocations: 23.92 kB / 432.7 MB, free: 14.67 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 1.533e-06/0.1163, allocations: 0 / 432.7 MB, free: 14.67 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 1.311e-05/0.1163, allocations: 4 kB / 432.7 MB, free: 14.67 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001321/0.1164, allocations: 8 kB / 432.7 MB, free: 14.66 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001014/0.1175, allocations: 1.186 MB / 433.9 MB, free: 13.39 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002828/0.1177, allocations: 0.6807 MB / 434.6 MB, free: 12.68 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 7.12e-05/0.1178, allocations: 7.984 kB / 434.6 MB, free: 12.67 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.739e-05/0.1178, allocations: 11.44 kB / 434.6 MB, free: 12.66 MB / 366.1 MB Notification: Performance of SimCode: time 3.7e-07/0.1178, allocations: 0 / 434.6 MB, free: 12.66 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01861/0.1364, allocations: 2.108 MB / 436.7 MB, free: 10.66 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.652/7.789, allocations: 10.41 kB / 436.7 MB, free: 10.65 MB / 366.1 MB " [Timeout remaining time 652] (rm -f Modelica_4.1.0_Modelica.Math.Nonlinear.Examples.QuadratureLobatto3.pipe ; mkfifo Modelica_4.1.0_Modelica.Math.Nonlinear.Examples.QuadratureLobatto3.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Math.Nonlinear.Examples.QuadratureLobatto3.pipe >> ../files/Modelica_4.1.0_Modelica.Math.Nonlinear.Examples.QuadratureLobatto3.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.1.0_Modelica.Math.Nonlinear.Examples.QuadratureLobatto3_res.mat --tempDir=temp_Modelica_4_1_0_Modelica_Math_Nonlinear_Examples_QuadratureLobatto3_fmu --startTime=0 --stopTime=5 --stepSize=0.0009996 --timeout=50 --tolerance=1e-06 Modelica_4_1_0_Modelica_Math_Nonlinear_Examples_QuadratureLobatto3.fmu > Modelica_4.1.0_Modelica.Math.Nonlinear.Examples.QuadratureLobatto3.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_4.1.0_Modelica.Math.Nonlinear.Examples.QuadratureLobatto3_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Math/Nonlinear/Examples/QuadratureLobatto3/QuadratureLobatto3.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_Modelica.Math.Nonlinear.Examples.QuadratureLobatto3.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] "" Variables in the reference:time,q,qd Variables in the result:A,der(q),der(qd),q,qd,s,time,wq,ws,x [Calling sys.exit(0), Time elapsed: 10.342721697001252]