Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test70.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 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 ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test70,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test70",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test70,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test70",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001917/0.001917, allocations: 186.5 kB / 15.76 MB, free: 6.367 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.811/1.811, allocations: 205.4 MB / 221.9 MB, free: 13.83 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008926/0.0008925, allocations: 94.84 kB / 270.2 MB, free: 13.36 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2114/0.2114, allocations: 43.56 MB / 362.1 MB, free: 11.31 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003544/0.0003546, allocations: 8 kB / 431.5 MB, free: 19.5 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1308/0.1312, allocations: 58.86 MB / 490.4 MB, free: 8.57 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3715/0.5027, allocations: 87.57 MB / 0.5644 GB, free: 12.16 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001991/0.503, allocations: 75.39 kB / 0.5645 GB, free: 12.12 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01683/0.5198, allocations: 6.508 MB / 0.5708 GB, free: 6.527 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.693e-06/0.5199, allocations: 0 / 0.5708 GB, free: 6.527 MB / 378.7 MB Notification: Performance of Transformations before backend: time 3.986e-05/0.5199, allocations: 11.98 kB / 0.5708 GB, free: 6.516 MB / 378.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.001259/0.5212, allocations: 0.7268 MB / 0.5715 GB, free: 5.77 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.037e-05/0.5213, allocations: 8.031 kB / 0.5715 GB, free: 5.762 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.139e-05/0.5213, allocations: 30.56 kB / 0.5716 GB, free: 5.723 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001131/0.5214, allocations: 51.39 kB / 0.5716 GB, free: 5.672 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009726/0.5224, allocations: 494.6 kB / 0.5721 GB, free: 5.191 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.201e-05/0.5225, allocations: 4 kB / 0.5721 GB, free: 5.188 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.876e-05/0.5225, allocations: 4 kB / 0.5721 GB, free: 5.184 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002258/0.5227, allocations: 87.3 kB / 0.5722 GB, free: 5.098 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.107e-06/0.5227, allocations: 0 / 0.5722 GB, free: 5.098 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.327e-05/0.5227, allocations: 0.5 kB / 0.5722 GB, free: 5.098 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.823e-06/0.5228, allocations: 4 kB / 0.5722 GB, free: 5.094 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001144/0.5229, allocations: 31.97 kB / 0.5722 GB, free: 5.07 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004437/0.5233, allocations: 387.1 kB / 0.5726 GB, free: 4.699 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000271/0.5236, allocations: 108.4 kB / 0.5727 GB, free: 4.594 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.891e-05/0.5236, allocations: 3.688 kB / 0.5727 GB, free: 4.594 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002257/0.5239, allocations: 118.8 kB / 0.5728 GB, free: 4.473 MB / 378.7 MB Notification: Performance of pre-optimization done (n=10): time 1.313e-06/0.5239, allocations: 0 / 0.5728 GB, free: 4.473 MB / 378.7 MB Notification: Performance of matching and sorting (n=10): time 0.0005242/0.5244, allocations: 196.4 kB / 0.573 GB, free: 4.305 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.394e-05/0.5245, allocations: 81.72 kB / 0.5731 GB, free: 4.207 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001414/0.5259, allocations: 0.9364 MB / 0.574 GB, free: 3.473 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 3.347e-05/0.526, allocations: 36.52 kB / 0.574 GB, free: 3.434 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001711/0.5262, allocations: 232.6 kB / 0.5742 GB, free: 3.309 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.269e-05/0.5262, allocations: 31.3 kB / 0.5743 GB, free: 3.281 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.251e-06/0.5262, allocations: 0 / 0.5743 GB, free: 3.281 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001702/0.5264, allocations: 375.2 kB / 0.5746 GB, free: 2.93 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.952e-05/0.5265, allocations: 26.05 kB / 0.5747 GB, free: 2.91 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.273e-05/0.5266, allocations: 60.41 kB / 0.5747 GB, free: 2.852 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.74e-05/0.5267, allocations: 36.81 kB / 0.5747 GB, free: 2.828 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.479e-06/0.5267, allocations: 4 kB / 0.5747 GB, free: 2.824 MB / 378.7 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0003186/0.527, allocations: 172.6 kB / 0.5749 GB, free: 2.676 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.479e-05/0.5271, allocations: 7.438 kB / 0.5749 GB, free: 2.672 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.682e-06/0.5271, allocations: 0 / 0.5749 GB, free: 2.672 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.927e-05/0.5271, allocations: 4 kB / 0.5749 GB, free: 2.668 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001267/0.5272, allocations: 28.05 kB / 0.5749 GB, free: 2.641 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.38e-05/0.5273, allocations: 11.98 kB / 0.575 GB, free: 2.629 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001093/0.5274, allocations: 15.83 kB / 0.575 GB, free: 2.613 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.389e-05/0.5274, allocations: 11.5 kB / 0.575 GB, free: 2.605 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 10 ($whenCondition2,$PRE.startTime.nextTimeEvent,startTime.nextTimeEvent,$PRE.startTime.nextTimeEventScaled,startTime.nextTimeEventScaled,$whenCondition1,$PRE.startTime_0.nextTimeEvent,startTime_0.nextTimeEvent,$PRE.startTime_0.nextTimeEventScaled,startTime_0.nextTimeEventScaled) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (14): * Single equations (assignments): 14 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002458/0.5277, allocations: 231.5 kB / 0.5752 GB, free: 2.391 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.888e-05/0.5277, allocations: 59.33 kB / 0.5753 GB, free: 2.332 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003819/0.5281, allocations: 198.4 kB / 0.5755 GB, free: 2.172 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.288e-06/0.5281, allocations: 4 kB / 0.5755 GB, free: 2.168 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.759e-06/0.5282, allocations: 0 / 0.5755 GB, free: 2.168 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.657e-06/0.5282, allocations: 0 / 0.5755 GB, free: 2.168 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003372/0.5285, allocations: 389.6 kB / 0.5758 GB, free: 1.797 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.263e-06/0.5285, allocations: 0 / 0.5758 GB, free: 1.797 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.443e-05/0.5286, allocations: 8 kB / 0.5758 GB, free: 1.789 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.471e-06/0.5286, allocations: 11.92 kB / 0.5758 GB, free: 1.777 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.175e-05/0.5286, allocations: 3.812 kB / 0.5759 GB, free: 1.777 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.663e-06/0.5286, allocations: 0 / 0.5759 GB, free: 1.777 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.817e-06/0.5286, allocations: 4 kB / 0.5759 GB, free: 1.773 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003463/0.529, allocations: 229.1 kB / 0.5761 GB, free: 1.551 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003296/0.5293, allocations: 195.8 kB / 0.5763 GB, free: 1.352 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.016e-05/0.5294, allocations: 7.875 kB / 0.5763 GB, free: 1.348 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.563e-05/0.5295, allocations: 4 kB / 0.5763 GB, free: 1.344 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.137e-05/0.5295, allocations: 19.73 kB / 0.5763 GB, free: 1.328 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.399e-05/0.5296, allocations: 4 kB / 0.5763 GB, free: 1.324 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0008556/0.5304, allocations: 0.7538 MB / 0.577 GB, free: 0.7695 MB / 378.7 MB Notification: Performance of sort global known variables: time 2.2e-07/0.5304, allocations: 0 / 0.577 GB, free: 0.7695 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0003344/0.5308, allocations: 79.56 kB / 0.5771 GB, free: 0.6953 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition2,startTime.nextTimeEvent,startTime.nextTimeEventScaled,$whenCondition1,startTime_0.nextTimeEvent,startTime_0.nextTimeEventScaled) * Number of discrete states: 4 (startTime_0.nextTimeEvent,startTime_0.nextTimeEventScaled,startTime.nextTimeEvent,startTime.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (12): * Single equations (assignments): 8 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001561/0.5323, allocations: 1.154 MB / 0.5782 GB, free: 15.6 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0002605/0.5326, allocations: 90.77 kB / 0.5783 GB, free: 15.54 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 3.076e-06/0.5326, allocations: 0 / 0.5783 GB, free: 15.54 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000105/0.5327, allocations: 39.55 kB / 0.5784 GB, free: 15.5 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004346/0.5332, allocations: 66.02 kB / 0.5784 GB, free: 15.46 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00426/0.5375, allocations: 3.369 MB / 0.5817 GB, free: 12.36 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004657/0.538, allocations: 0.8542 MB / 0.5825 GB, free: 11.5 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.0002005/0.5382, allocations: 94.81 kB / 0.5826 GB, free: 11.41 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001884/0.5384, allocations: 166.1 kB / 0.5828 GB, free: 11.36 MB / 394.7 MB Notification: Performance of SimCode: time 5.56e-06/0.5384, allocations: 0 / 0.5828 GB, free: 11.36 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02292/0.5613, allocations: 9.216 MB / 0.5918 GB, free: 2.152 MB / 394.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001784/0.5615, allocations: 209.8 kB / 0.592 GB, free: 1.914 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.136/2.698, allocations: 0 / 0.592 GB, free: 1.914 MB / 394.7 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test70.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test70.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test70.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test70.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test70_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test70_fmu --startTime=0 --stopTime=8000 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test70.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test70.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test70_res.mat does not exist to compare? outputFormat=mat