Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test23.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) 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.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(ModelicaTest.Tables.CombiTimeTable.Test23,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test23",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test23,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test23",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001166/0.00117, allocations: 104.1 kB / 15.88 MB, free: 4 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001233/0.001233, allocations: 188.5 kB / 16.78 MB, free: 6.816 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.557/1.557, allocations: 205.1 MB / 222.6 MB, free: 4.762 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.3855/0.3855, allocations: 43.49 MB / 313.5 MB, free: 8.578 MB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.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.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001197/0.001197, allocations: 78.53 kB / 382.2 MB, free: 8.617 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1132/0.1144, allocations: 57.77 MB / 439.9 MB, free: 14.74 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test23): time 0.002953/0.1174, allocations: 1.753 MB / 441.7 MB, free: 12.97 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001166/0.1186, allocations: 0.7923 MB / 442.5 MB, free: 12.17 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.963e-05/0.1187, allocations: 11.94 kB / 442.5 MB, free: 12.16 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002834/0.119, allocations: 35.89 kB / 442.5 MB, free: 12.12 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001842/0.1192, allocations: 43.83 kB / 442.6 MB, free: 12.08 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002092/0.1194, allocations: 79.84 kB / 442.6 MB, free: 12 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001392/0.1195, allocations: 91.69 kB / 442.7 MB, free: 11.91 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.45e-05/0.1196, allocations: 16.22 kB / 442.7 MB, free: 11.9 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.691e-05/0.1197, allocations: 39.84 kB / 442.8 MB, free: 11.86 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.553e-05/0.1198, allocations: 35.72 kB / 442.8 MB, free: 11.82 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.788e-05/0.1198, allocations: 4 kB / 442.8 MB, free: 11.82 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.242e-05/0.1199, allocations: 39.97 kB / 442.9 MB, free: 11.78 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 5.034e-05/0.1199, allocations: 19.92 kB / 442.9 MB, free: 11.76 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 4.523e-05/0.12, allocations: 31.75 kB / 442.9 MB, free: 11.73 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001633/0.1202, allocations: 111.9 kB / 443 MB, free: 11.62 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.767e-06/0.1202, allocations: 0 / 443 MB, free: 11.62 MB / 382.1 MB Notification: Performance of FrontEnd: time 9.11e-07/0.1202, allocations: 0 / 443 MB, free: 11.62 MB / 382.1 MB Notification: Performance of Transformations before backend: time 4.879e-06/0.1202, allocations: 0 / 443 MB, free: 11.62 MB / 382.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0004815/0.1207, allocations: 422.9 kB / 443.4 MB, free: 11.16 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.144e-05/0.1207, allocations: 8.031 kB / 443.4 MB, free: 11.15 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.198e-05/0.1208, allocations: 30.75 kB / 443.5 MB, free: 11.11 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.57e-05/0.1208, allocations: 16.84 kB / 443.5 MB, free: 11.1 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001942/0.121, allocations: 212.7 kB / 443.7 MB, free: 10.85 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.261e-05/0.121, allocations: 4.375 kB / 443.7 MB, free: 10.85 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.852e-05/0.1211, allocations: 3.938 kB / 443.7 MB, free: 10.84 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001371/0.1212, allocations: 57.61 kB / 443.8 MB, free: 10.78 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.037e-05/0.1212, allocations: 8 kB / 443.8 MB, free: 10.77 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.837e-06/0.1212, allocations: 0 / 443.8 MB, free: 10.77 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.66e-06/0.1212, allocations: 0 / 443.8 MB, free: 10.77 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.149e-05/0.1213, allocations: 23.92 kB / 443.8 MB, free: 10.75 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003318/0.1217, allocations: 284.9 kB / 444.1 MB, free: 10.42 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000159/0.1218, allocations: 62.61 kB / 444.1 MB, free: 10.35 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.217e-05/0.1219, allocations: 20.84 kB / 444.1 MB, free: 10.33 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.848e-05/0.1219, allocations: 3.938 kB / 444.2 MB, free: 10.32 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001584/0.1221, allocations: 67.39 kB / 444.2 MB, free: 10.25 MB / 382.1 MB Notification: Performance of pre-optimization done (n=6): time 1.232e-06/0.1221, allocations: 0 / 444.2 MB, free: 10.25 MB / 382.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005229/0.1226, allocations: 177.1 kB / 444.4 MB, free: 10.07 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.797e-05/0.1227, allocations: 55.41 kB / 444.4 MB, free: 10 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000166/0.1228, allocations: 199.3 kB / 444.6 MB, free: 9.797 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.006e-05/0.1229, allocations: 29.7 kB / 444.7 MB, free: 9.762 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.586e-05/0.1229, allocations: 104 kB / 444.8 MB, free: 9.656 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.899e-05/0.123, allocations: 23.73 kB / 444.8 MB, free: 9.633 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.72e-05/0.123, allocations: 25.7 kB / 444.8 MB, free: 9.602 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001144/0.1231, allocations: 326.8 kB / 445.1 MB, free: 9.273 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.301e-05/0.1232, allocations: 16 kB / 445.2 MB, free: 9.258 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.038e-05/0.1232, allocations: 37.7 kB / 445.2 MB, free: 9.215 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001059/0.1234, allocations: 61.64 kB / 445.3 MB, free: 9.148 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.91e-07/0.1234, allocations: 0 / 445.3 MB, free: 9.148 MB / 382.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001743/0.1235, allocations: 105.4 kB / 445.4 MB, free: 9.039 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.403e-05/0.1236, allocations: 4 kB / 445.4 MB, free: 9.035 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.328e-06/0.1236, allocations: 0 / 445.4 MB, free: 9.035 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.374e-05/0.1236, allocations: 7.984 kB / 445.4 MB, free: 9.027 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.552e-05/0.1237, allocations: 16.03 kB / 445.4 MB, free: 9.012 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.699e-06/0.1237, allocations: 0 / 445.4 MB, free: 9.012 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.532e-05/0.1237, allocations: 12.3 kB / 445.4 MB, free: 9 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.791e-06/0.1238, allocations: 0 / 445.4 MB, free: 9 MB / 382.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: 5 ($PRE.t_new.nextTimeEvent,$whenCondition1,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (10): * Single equations (assignments): 10 * 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 9.054e-05/0.1239, allocations: 129.8 kB / 445.5 MB, free: 8.863 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.263e-05/0.1239, allocations: 11.81 kB / 445.5 MB, free: 8.852 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.87e-05/0.1239, allocations: 21.39 kB / 445.6 MB, free: 8.828 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.657e-06/0.1239, allocations: 4 kB / 445.6 MB, free: 8.824 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.451e-06/0.124, allocations: 4 kB / 445.6 MB, free: 8.82 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.777e-06/0.124, allocations: 8.062 kB / 445.6 MB, free: 8.812 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000388/0.1244, allocations: 387.4 kB / 445.9 MB, free: 8.375 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.492e-06/0.1244, allocations: 3.938 kB / 445.9 MB, free: 8.371 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.539e-05/0.1244, allocations: 11.94 kB / 446 MB, free: 8.359 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.389e-06/0.1244, allocations: 7.922 kB / 446 MB, free: 8.352 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.251e-05/0.1244, allocations: 4 kB / 446 MB, free: 8.348 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.423e-06/0.1244, allocations: 3.938 kB / 446 MB, free: 8.344 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.62e-07/0.1244, allocations: 4.031 kB / 446 MB, free: 8.34 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002086/0.1247, allocations: 204.5 kB / 446.2 MB, free: 8.121 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.241e-05/0.1247, allocations: 88.92 kB / 446.3 MB, free: 8.016 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.316e-05/0.1247, allocations: 3.938 kB / 446.3 MB, free: 8.012 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.893e-05/0.1248, allocations: 11.98 kB / 446.3 MB, free: 8 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.193e-05/0.1249, allocations: 7.938 kB / 446.3 MB, free: 7.992 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.32e-05/0.1249, allocations: 8 kB / 446.3 MB, free: 7.984 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001164/0.125, allocations: 152.9 kB / 446.4 MB, free: 7.836 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.125, allocations: 0 / 446.4 MB, free: 7.836 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.000243/0.1252, allocations: 27.98 kB / 446.5 MB, free: 7.809 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 2 (t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.001301/0.1266, allocations: 1.086 MB / 447.6 MB, free: 6.73 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0001624/0.1267, allocations: 55.91 kB / 447.6 MB, free: 6.676 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.044e-06/0.1267, allocations: 0 / 447.6 MB, free: 6.676 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 6.56e-05/0.1268, allocations: 36 kB / 447.7 MB, free: 6.641 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003095/0.1271, allocations: 39.7 kB / 447.7 MB, free: 6.602 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001566/0.1287, allocations: 1.696 MB / 449.4 MB, free: 4.816 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002452/0.129, allocations: 0.7004 MB / 450.1 MB, free: 4.09 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 5.309e-05/0.129, allocations: 17.17 kB / 450.1 MB, free: 4.074 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.949e-05/0.1291, allocations: 39.42 kB / 450.1 MB, free: 4.035 MB / 382.1 MB Notification: Performance of SimCode: time 3.11e-07/0.1291, allocations: 0 / 450.1 MB, free: 4.035 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01241/0.1415, allocations: 3.165 MB / 453.3 MB, free: 0.8438 MB / 382.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000221/0.1418, allocations: 242.2 kB / 453.5 MB, free: 0.582 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.674/1.815, allocations: 0 / 453.5 MB, free: 0.582 MB / 382.1 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test23.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test23.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test23.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test23.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test23_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test23_fmu --startTime=0 --stopTime=2.5 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test23.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test23.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test23_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test23/Test23.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test23.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches