Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PNlib_PNlib.Examples.ConTest.SingleTC.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/PNlib 2.2.0-master/package.mo", uses=false) Using package PNlib with version 2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PNlib 2.2.0-master/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(PNlib.Examples.ConTest.SingleTC,fileNamePrefix="PNlib_PNlib_Examples_ConTest_SingleTC",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PNlib.Examples.ConTest.SingleTC,fileNamePrefix="PNlib_PNlib_Examples_ConTest_SingleTC",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.001502/0.001502, allocations: 173.9 kB / 7.648 MB, free: 1.422 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.311/1.311, allocations: 205.3 MB / 213.4 MB, free: 13.77 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.0008464/0.0008464, allocations: 88.36 kB / 261.4 MB, free: 13.45 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PNlib 2.2.0-master/package.mo): time 0.07096/0.07096, allocations: 16.73 MB / 326.1 MB, free: 12.64 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 1.581e-05/1.59e-05, allocations: 4 kB / 384.1 MB, free: 70.81 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0813/0.08134, allocations: 51.69 MB / 435.8 MB, free: 19.12 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2934/0.3748, allocations: 76.48 MB / 0.5002 GB, free: 9.809 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001848/0.375, allocations: 72.22 kB / 0.5003 GB, free: 9.805 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.004291/0.3793, allocations: 2.257 MB / 0.5025 GB, free: 9.359 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.482e-06/0.3793, allocations: 0 / 0.5025 GB, free: 9.359 MB / 330.7 MB Notification: Performance of Transformations before backend: time 7.835e-06/0.3793, allocations: 4.688 kB / 0.5025 GB, free: 9.359 MB / 330.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 15 * Number of variables: 15 Notification: Performance of Generate backend data structure: time 0.0002458/0.3796, allocations: 403.2 kB / 0.5029 GB, free: 8.961 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.259e-05/0.3796, allocations: 11.47 kB / 0.5029 GB, free: 8.957 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.071e-05/0.3797, allocations: 15.56 kB / 0.5029 GB, free: 8.949 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001611/0.3798, allocations: 197.7 kB / 0.5031 GB, free: 8.738 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.342e-05/0.3799, allocations: 3.875 kB / 0.5031 GB, free: 8.738 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.147e-05/0.3799, allocations: 3.969 kB / 0.5031 GB, free: 8.738 MB / 330.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 9.68e-05/0.38, allocations: 46.08 kB / 0.5032 GB, free: 8.734 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001181/0.3801, allocations: 98.25 kB / 0.5033 GB, free: 8.66 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.495e-06/0.3801, allocations: 3.938 kB / 0.5033 GB, free: 8.656 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.327e-05/0.3801, allocations: 0 / 0.5033 GB, free: 8.656 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.14e-06/0.3801, allocations: 7.781 kB / 0.5033 GB, free: 8.652 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004682/0.3806, allocations: 0.7099 MB / 0.504 GB, free: 7.984 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001116/0.3807, allocations: 47.89 kB / 0.504 GB, free: 7.957 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.64e-05/0.3808, allocations: 23.66 kB / 0.504 GB, free: 7.945 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.297e-05/0.3808, allocations: 0 / 0.504 GB, free: 7.945 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.321e-05/0.3808, allocations: 33.05 kB / 0.5041 GB, free: 7.906 MB / 330.7 MB Notification: Performance of pre-optimization done (n=6): time 9.42e-07/0.3808, allocations: 0 / 0.5041 GB, free: 7.906 MB / 330.7 MB Notification: Performance of matching and sorting (n=6): time 0.0001574/0.381, allocations: 72.8 kB / 0.5041 GB, free: 7.867 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.927e-05/0.381, allocations: 81.11 kB / 0.5042 GB, free: 7.77 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.6e-05/0.3811, allocations: 150 kB / 0.5043 GB, free: 7.668 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 8.396e-06/0.3811, allocations: 25.7 kB / 0.5044 GB, free: 7.637 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.527e-05/0.3812, allocations: 108.7 kB / 0.5045 GB, free: 7.547 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.264e-05/0.3812, allocations: 21.69 kB / 0.5045 GB, free: 7.535 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.691e-06/0.3812, allocations: 0 / 0.5045 GB, free: 7.535 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 3.906e-05/0.3812, allocations: 321 kB / 0.5048 GB, free: 7.223 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.862e-05/0.3813, allocations: 22.12 kB / 0.5048 GB, free: 7.219 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.6e-05/0.3813, allocations: 57.38 kB / 0.5049 GB, free: 7.172 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.074e-05/0.3814, allocations: 17.97 kB / 0.5049 GB, free: 7.172 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.934e-06/0.3814, allocations: 0 / 0.5049 GB, free: 7.172 MB / 330.7 MB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001772/0.3816, allocations: 114.4 kB / 0.505 GB, free: 7.125 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.211e-05/0.3816, allocations: 37.02 kB / 0.505 GB, free: 7.094 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.458e-06/0.3816, allocations: 0 / 0.505 GB, free: 7.094 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.688e-06/0.3816, allocations: 3.844 kB / 0.505 GB, free: 7.094 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.55e-05/0.3817, allocations: 14.47 kB / 0.5051 GB, free: 7.09 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.458e-06/0.3817, allocations: 7.828 kB / 0.5051 GB, free: 7.086 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.037e-05/0.3818, allocations: 6.422 kB / 0.5051 GB, free: 7.086 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.292e-05/0.3818, allocations: 3.844 kB / 0.5051 GB, free: 7.086 MB / 330.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 5 (T1.firingCon,T1.fire,T1.activation.active,T1.activation.NoTokens,T1.fire_) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (11): * Single equations (assignments): 10 * Array equations: 0 * Algorithm blocks: 1 * 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 5.542e-05/0.3818, allocations: 130.5 kB / 0.5052 GB, free: 6.949 MB / 330.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0001336/0.382, allocations: 85.2 kB / 0.5053 GB, free: 6.906 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.656e-05/0.382, allocations: 11.69 kB / 0.5053 GB, free: 6.898 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001664/0.3822, allocations: 112.3 kB / 0.5054 GB, free: 6.852 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.046e-06/0.3822, allocations: 7.766 kB / 0.5054 GB, free: 6.848 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.328e-06/0.3822, allocations: 4 kB / 0.5054 GB, free: 6.844 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.345e-06/0.3822, allocations: 4 kB / 0.5054 GB, free: 6.84 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.858e-05/0.3823, allocations: 170.7 kB / 0.5056 GB, free: 6.68 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.32e-07/0.3823, allocations: 0 / 0.5056 GB, free: 6.68 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.815e-05/0.3823, allocations: 7.781 kB / 0.5056 GB, free: 6.676 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.754e-06/0.3823, allocations: 0 / 0.5056 GB, free: 6.676 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.552e-06/0.3824, allocations: 0 / 0.5056 GB, free: 6.676 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.793e-06/0.3824, allocations: 7.391 kB / 0.5056 GB, free: 6.676 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.803e-06/0.3824, allocations: 0 / 0.5056 GB, free: 6.676 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.873e-05/0.3825, allocations: 105.7 kB / 0.5057 GB, free: 6.594 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.597e-05/0.3825, allocations: 84.89 kB / 0.5058 GB, free: 6.496 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.966e-05/0.3825, allocations: 3.141 kB / 0.5058 GB, free: 6.496 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.444e-05/0.3826, allocations: 3.844 kB / 0.5058 GB, free: 6.496 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.335e-05/0.3826, allocations: 0 / 0.5058 GB, free: 6.496 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.987e-06/0.3826, allocations: 0 / 0.5058 GB, free: 6.496 MB / 330.7 MB Notification: Performance of sorting global known variables: time 5.273e-05/0.3827, allocations: 123 kB / 0.5059 GB, free: 6.418 MB / 330.7 MB Notification: Performance of sort global known variables: time 1.61e-07/0.3827, allocations: 0 / 0.5059 GB, free: 6.418 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0002099/0.3829, allocations: 31.03 kB / 0.5059 GB, free: 6.41 MB / 330.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 3 (T1.fire,T1.activation.active,T1.activation.NoTokens) * Number of discrete states: 2 (T1.activation.active,T1.activation.NoTokens) * Top-level inputs: 0 Notification: Strong component statistics for simulation (4): * Single equations (assignments): 3 * Array equations: 0 * Algorithm blocks: 1 * 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 Backend phase and start with SimCode phase: time 0.0002957/0.3832, allocations: 0.656 MB / 0.5066 GB, free: 5.809 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0001241/0.3833, allocations: 102.9 kB / 0.5067 GB, free: 5.742 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 2.184e-06/0.3833, allocations: 0 / 0.5067 GB, free: 5.742 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 3.264e-05/0.3834, allocations: 70.19 kB / 0.5067 GB, free: 5.676 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001263/0.3835, allocations: 11.92 kB / 0.5067 GB, free: 5.676 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001026/0.3845, allocations: 409.6 kB / 0.5071 GB, free: 5.539 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001105/0.3847, allocations: 0.7074 MB / 0.5078 GB, free: 4.84 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 8.38e-05/0.3847, allocations: 59.64 kB / 0.5079 GB, free: 4.82 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.494e-05/0.3848, allocations: 40.72 kB / 0.5079 GB, free: 4.816 MB / 330.7 MB Notification: Performance of SimCode: time 2.4e-07/0.3848, allocations: 0 / 0.5079 GB, free: 4.816 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01917/0.404, allocations: 1.981 MB / 0.5099 GB, free: 4.328 MB / 330.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001084/0.4041, allocations: 113.7 kB / 0.51 GB, free: 4.16 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.522/1.926, allocations: 0 / 0.51 GB, free: 4.16 MB / 330.7 MB (rm -f PNlib_PNlib.Examples.ConTest.SingleTC.pipe ; mkfifo PNlib_PNlib.Examples.ConTest.SingleTC.pipe ; head -c 1048576 < PNlib_PNlib.Examples.ConTest.SingleTC.pipe >> ../files/PNlib_PNlib.Examples.ConTest.SingleTC.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=PNlib_PNlib.Examples.ConTest.SingleTC_res.mat --tempDir=temp_PNlib_PNlib_Examples_ConTest_SingleTC_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 PNlib_PNlib_Examples_ConTest_SingleTC.fmu > PNlib_PNlib.Examples.ConTest.SingleTC.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result PNlib_PNlib.Examples.ConTest.SingleTC_res.mat does not exist to compare? outputFormat=mat