Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_1000.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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo", uses=false) Using package ScalableTestSuite with version 2.2.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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(ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_1000,fileNamePrefix="ScalableTestSuite_ScalableTestSuite_Elementary_Tables_ScaledExperiments_TimeTable_N_1000",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_1000,fileNamePrefix="ScalableTestSuite_ScalableTestSuite_Elementary_Tables_ScaledExperiments_TimeTable_N_1000",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.001116/0.001116, allocations: 107.9 kB / 16.92 MB, free: 5.785 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001048/0.001047, allocations: 191.3 kB / 17.85 MB, free: 5.164 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.141/1.141, allocations: 222.9 MB / 241.5 MB, free: 15.21 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo): time 0.7561/0.7561, allocations: 119.3 MB / 411 MB, free: 9.566 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001091/0.001091, allocations: 67.89 kB / 0.491 GB, free: 13.65 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3895/0.3906, allocations: 80.69 MB / 0.5698 GB, free: 43.38 MB / 462.3 MB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_1000): time 0.00186/0.3925, allocations: 1.415 MB / 0.5712 GB, free: 42.26 MB / 462.3 MB Notification: Performance of NFInst.instExpressions: time 0.0006526/0.3932, allocations: 0.5733 MB / 0.5718 GB, free: 41.81 MB / 462.3 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.209e-05/0.3932, allocations: 0 / 0.5718 GB, free: 41.81 MB / 462.3 MB Notification: Performance of NFTyping.typeComponents: time 0.0004607/0.3937, allocations: 0.8615 MB / 0.5726 GB, free: 41.38 MB / 462.3 MB Notification: Performance of NFTyping.typeBindings: time 0.0005437/0.3942, allocations: 0.907 MB / 0.5735 GB, free: 40.92 MB / 462.3 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002097/0.3945, allocations: 83.86 kB / 0.5736 GB, free: 40.86 MB / 462.3 MB Notification: Performance of NFFlatten.flatten: time 0.001096/0.3956, allocations: 2.186 MB / 0.5757 GB, free: 39.8 MB / 462.3 MB Notification: Performance of NFFlatten.resolveConnections: time 3.389e-05/0.3956, allocations: 10.55 kB / 0.5757 GB, free: 39.8 MB / 462.3 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006832/0.3963, allocations: 1.083 MB / 0.5768 GB, free: 39.27 MB / 462.3 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001322/0.3976, allocations: 2.047 MB / 0.5788 GB, free: 38.48 MB / 462.3 MB Notification: Performance of NFPackage.collectConstants: time 0.0002605/0.3979, allocations: 128.1 kB / 0.5789 GB, free: 38.48 MB / 462.3 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003146/0.3982, allocations: 197.9 kB / 0.5791 GB, free: 38.45 MB / 462.3 MB Notification: Performance of NFScalarize.scalarize: time 0.003555/0.4018, allocations: 4.983 MB / 0.584 GB, free: 35.17 MB / 462.3 MB Notification: Performance of NFVerifyModel.verify: time 0.001088/0.4029, allocations: 2.831 MB / 0.5867 GB, free: 32.31 MB / 462.3 MB Notification: Performance of NFConvertDAE.convert: time 0.002418/0.4053, allocations: 6.128 MB / 0.5927 GB, free: 26.15 MB / 462.3 MB Notification: Performance of FrontEnd - DAE generated: time 3.346e-06/0.4053, allocations: 0 / 0.5927 GB, free: 26.15 MB / 462.3 MB Notification: Performance of FrontEnd: time 1.553e-06/0.4053, allocations: 4 kB / 0.5927 GB, free: 26.15 MB / 462.3 MB Notification: Performance of Transformations before backend: time 3.838e-05/0.4054, allocations: 0 / 0.5927 GB, free: 26.15 MB / 462.3 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.005873/0.4112, allocations: 9.966 MB / 0.6025 GB, free: 16.04 MB / 462.3 MB Notification: Performance of prepare preOptimizeDAE: time 3.124e-05/0.4113, allocations: 11.89 kB / 0.6025 GB, free: 16.03 MB / 462.3 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.288e-05/0.4113, allocations: 30.75 kB / 0.6025 GB, free: 15.99 MB / 462.3 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000576/0.4119, allocations: 1.107 MB / 0.6036 GB, free: 14.87 MB / 462.3 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01147/0.4234, allocations: 12.95 MB / 0.6162 GB, free: 1.797 MB / 462.3 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.198e-05/0.4234, allocations: 384 / 0.6162 GB, free: 1.797 MB / 462.3 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.238e-05/0.4235, allocations: 36.38 kB / 0.6163 GB, free: 1.762 MB / 462.3 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003552/0.4238, allocations: 437.4 kB / 0.6167 GB, free: 1.328 MB / 462.3 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.043e-06/0.4238, allocations: 0 / 0.6167 GB, free: 1.328 MB / 462.3 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.11e-05/0.4239, allocations: 32 kB / 0.6167 GB, free: 1.297 MB / 462.3 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.469e-06/0.4239, allocations: 0 / 0.6167 GB, free: 1.297 MB / 462.3 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002444/0.4242, allocations: 239.9 kB / 0.6169 GB, free: 1.062 MB / 462.3 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00267/0.4268, allocations: 3.576 MB / 0.6204 GB, free: 13.44 MB / 478.3 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002302/0.4271, allocations: 162.6 kB / 0.6206 GB, free: 13.27 MB / 478.3 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002108/0.4273, allocations: 152.9 kB / 0.6207 GB, free: 13.12 MB / 478.3 MB Notification: Performance of preOpt evalFunc (simulation): time 1.131e-05/0.4273, allocations: 11.98 kB / 0.6207 GB, free: 13.11 MB / 478.3 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004364/0.4278, allocations: 416.8 kB / 0.6211 GB, free: 12.68 MB / 478.3 MB Notification: Performance of pre-optimization done (n=8): time 1.293e-06/0.4278, allocations: 0 / 0.6211 GB, free: 12.68 MB / 478.3 MB Notification: Performance of matching and sorting (n=8): time 0.002051/0.4298, allocations: 2.184 MB / 0.6233 GB, free: 10.47 MB / 478.3 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.121e-05/0.4299, allocations: 81.11 kB / 0.6233 GB, free: 10.38 MB / 478.3 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01127/0.4411, allocations: 12.46 MB / 0.6355 GB, free: 14.01 MB / 494.3 MB Notification: Performance of collectPreVariables (initialization): time 8.148e-05/0.4412, allocations: 57.7 kB / 0.6356 GB, free: 13.95 MB / 494.3 MB Notification: Performance of collectInitialEqns (initialization): time 0.003952/0.4452, allocations: 5.212 MB / 0.6407 GB, free: 8.73 MB / 494.3 MB Notification: Performance of collectInitialBindings (initialization): time 9.625e-05/0.4453, allocations: 47.73 kB / 0.6407 GB, free: 8.684 MB / 494.3 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002415/0.4456, allocations: 241.7 kB / 0.6409 GB, free: 8.441 MB / 494.3 MB Notification: Performance of setup shared object (initialization): time 8.978e-05/0.4457, allocations: 310 kB / 0.6412 GB, free: 8.133 MB / 494.3 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002048/0.4459, allocations: 143.9 kB / 0.6414 GB, free: 7.992 MB / 494.3 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001981/0.4461, allocations: 144 kB / 0.6415 GB, free: 7.852 MB / 494.3 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004513/0.4465, allocations: 348.2 kB / 0.6418 GB, free: 7.496 MB / 494.3 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.585e-06/0.4465, allocations: 0 / 0.6418 GB, free: 7.496 MB / 494.3 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.001913/0.4485, allocations: 2.063 MB / 0.6439 GB, free: 5.406 MB / 494.3 MB Notification: Performance of prepare postOptimizeDAE: time 3.322e-05/0.4485, allocations: 33.7 kB / 0.6439 GB, free: 5.367 MB / 494.3 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.979e-06/0.4485, allocations: 0 / 0.6439 GB, free: 5.367 MB / 494.3 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.125e-05/0.4485, allocations: 0 / 0.6439 GB, free: 5.367 MB / 494.3 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.983e-05/0.4486, allocations: 8 kB / 0.6439 GB, free: 5.359 MB / 494.3 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.719e-06/0.4486, allocations: 96 / 0.6439 GB, free: 5.359 MB / 494.3 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005952/0.4492, allocations: 47.83 kB / 0.6439 GB, free: 5.312 MB / 494.3 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000302/0.4495, allocations: 440 kB / 0.6444 GB, free: 4.883 MB / 494.3 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 7 (timeTable.nextEventScaled,timeTable.nextEvent,$PRE.timeTable.nextEvent,timeTable.last,timeTable.b,timeTable.a,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (4): * Single equations (assignments): 3 * Array equations: 0 * Algorithm blocks: 1 * 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.002426/0.452, allocations: 2.528 MB / 0.6468 GB, free: 2.34 MB / 494.3 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007699/0.4527, allocations: 1.142 MB / 0.6479 GB, free: 1.184 MB / 494.3 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001014/0.4537, allocations: 1.28 MB / 0.6492 GB, free: 15.89 MB / 0.4983 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.195e-06/0.4538, allocations: 3.938 kB / 0.6492 GB, free: 15.89 MB / 0.4983 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.376e-06/0.4538, allocations: 4 kB / 0.6492 GB, free: 15.89 MB / 0.4983 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.435e-06/0.4538, allocations: 0 / 0.6492 GB, free: 15.89 MB / 0.4983 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002826/0.4566, allocations: 3.884 MB / 0.653 GB, free: 11.96 MB / 0.4983 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.206e-06/0.4566, allocations: 3.938 kB / 0.653 GB, free: 11.95 MB / 0.4983 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.263e-05/0.4566, allocations: 7.984 kB / 0.653 GB, free: 11.95 MB / 0.4983 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.853e-06/0.4566, allocations: 0 / 0.653 GB, free: 11.95 MB / 0.4983 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.561e-05/0.4567, allocations: 100 kB / 0.6531 GB, free: 11.85 MB / 0.4983 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.575e-06/0.4567, allocations: 3.938 kB / 0.6531 GB, free: 11.84 MB / 0.4983 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.182e-06/0.4568, allocations: 8 kB / 0.6531 GB, free: 11.84 MB / 0.4983 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001791/0.4585, allocations: 2.158 MB / 0.6552 GB, free: 9.641 MB / 0.4983 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00104/0.4596, allocations: 1.037 MB / 0.6562 GB, free: 8.57 MB / 0.4983 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003928/0.46, allocations: 32 kB / 0.6563 GB, free: 8.539 MB / 0.4983 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000531/0.4605, allocations: 36 kB / 0.6563 GB, free: 8.504 MB / 0.4983 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.665e-05/0.4606, allocations: 3.984 kB / 0.6563 GB, free: 8.5 MB / 0.4983 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003109/0.4609, allocations: 444 kB / 0.6567 GB, free: 8.066 MB / 0.4983 GB Notification: Performance of sorting global known variables: time 0.008347/0.4692, allocations: 8.571 MB / 0.6651 GB, free: 15.57 MB / 0.5139 GB Notification: Performance of sort global known variables: time 1.8e-07/0.4692, allocations: 0 / 0.6651 GB, free: 15.57 MB / 0.5139 GB Notification: Performance of remove unused functions: time 0.000678/0.4699, allocations: 340 kB / 0.6654 GB, free: 15.24 MB / 0.5139 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition1,timeTable.a,timeTable.b,timeTable.last,timeTable.nextEvent,timeTable.nextEventScaled) * Number of discrete states: 6 (timeTable.nextEvent,timeTable.last,timeTable.nextEventScaled,timeTable.b,timeTable.a,$whenCondition1) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (3): * Single equations (assignments): 2 * Array equations: 0 * Algorithm blocks: 1 * 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.002183/0.4721, allocations: 2.822 MB / 0.6682 GB, free: 12.37 MB / 0.5139 GB Notification: Performance of simCode: created initialization part: time 0.0005703/0.4727, allocations: 419.4 kB / 0.6686 GB, free: 11.95 MB / 0.5139 GB Notification: Performance of simCode: created event and clocks part: time 1.814e-06/0.4727, allocations: 4 kB / 0.6686 GB, free: 11.95 MB / 0.5139 GB Notification: Performance of simCode: created simulation system equations: time 0.0003148/0.473, allocations: 271.3 kB / 0.6688 GB, free: 11.67 MB / 0.5139 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001692/0.4747, allocations: 0.8458 MB / 0.6697 GB, free: 10.82 MB / 0.5139 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.4199/0.8947, allocations: 124.9 MB / 0.7916 GB, free: 169.1 MB / 0.6079 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002633/0.8974, allocations: 4.785 MB / 0.7963 GB, free: 166.5 MB / 0.6079 GB Notification: Performance of simCode: alias equations: time 0.004343/0.9017, allocations: 2.428 MB / 0.7987 GB, free: 165.5 MB / 0.6079 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002295/0.904, allocations: 4.404 MB / 0.803 GB, free: 161.6 MB / 0.6079 GB Notification: Performance of SimCode: time 4.11e-07/0.904, allocations: 6.5 kB / 0.803 GB, free: 161.6 MB / 0.6079 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1572/1.061, allocations: 155.2 MB / 0.9546 GB, free: 7.875 MB / 0.6079 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.44/10.5, allocations: 7.562 kB / 0.9546 GB, free: 7.871 MB / 0.6079 GB (rm -f ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_1000.pipe ; mkfifo ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_1000.pipe ; head -c 1048576 < ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_1000.pipe >> ../files/ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_1000.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_1000_res.mat --tempDir=temp_ScalableTestSuite_ScalableTestSuite_Elementary_Tables_ScaledExperiments_TimeTable_N_1000_fmu --startTime=0 --stopTime=1 --timeout=300 --tolerance=1e-06 ScalableTestSuite_ScalableTestSuite_Elementary_Tables_ScaledExperiments_TimeTable_N_1000.fmu > ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_1000.pipe 2>&1) diffSimulationResults("ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_1000_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/ScalableTestSuite/ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_1000_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_1000.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches