Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_Synchronous_Modelica_Synchronous.WorkInProgress.Tests.TestClockedRealToSquare.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/Modelica_Synchronous 0.93.0-master/package.mo", uses=false) Using package Modelica_Synchronous with version 0.93.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.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(Modelica_Synchronous.WorkInProgress.Tests.TestClockedRealToSquare,fileNamePrefix="Modelica_Synchronous_Modelica_Synchronous_WorkInProgress_Tests_TestClockedRealToSquare",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica_Synchronous.WorkInProgress.Tests.TestClockedRealToSquare,fileNamePrefix="Modelica_Synchronous_Modelica_Synchronous_WorkInProgress_Tests_TestClockedRealToSquare",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.001655/0.001655, allocations: 181.2 kB / 13.23 MB, free: 2.086 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.234/2.234, allocations: 205.2 MB / 219 MB, free: 9.203 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.001809/0.001808, allocations: 82.62 kB / 267.1 MB, free: 9.277 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0-master/package.mo): time 0.1114/0.1114, allocations: 12.59 MB / 327.8 MB, free: 12.48 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 4.091e-05/4.118e-05, allocations: 4 kB / 386.1 MB, free: 69.51 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1023/0.1024, allocations: 50.37 MB / 436.5 MB, free: 19.12 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4584/0.5608, allocations: 78.12 MB / 0.5025 GB, free: 11.9 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002626/0.5612, allocations: 63.41 kB / 0.5026 GB, free: 11.9 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.004775/0.5659, allocations: 1.145 MB / 0.5037 GB, free: 11.54 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.773e-06/0.566, allocations: 0 / 0.5037 GB, free: 11.54 MB / 330.7 MB Notification: Performance of Transformations before backend: time 1.36e-05/0.566, allocations: 0 / 0.5037 GB, free: 11.54 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: 10 * Number of variables: 10 Notification: Performance of Generate backend data structure: time 0.0004348/0.5665, allocations: 348.8 kB / 0.504 GB, free: 11.19 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.476e-05/0.5665, allocations: 12.52 kB / 0.5041 GB, free: 11.19 MB / 330.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.515e-05/0.5666, allocations: 30.56 kB / 0.5041 GB, free: 11.15 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.452e-05/0.5666, allocations: 10.81 kB / 0.5041 GB, free: 11.14 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001946/0.5669, allocations: 176.4 kB / 0.5043 GB, free: 10.95 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.164e-05/0.5669, allocations: 7.016 kB / 0.5043 GB, free: 10.94 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.131e-05/0.5669, allocations: 5.031 kB / 0.5043 GB, free: 10.94 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003024/0.5672, allocations: 123.1 kB / 0.5044 GB, free: 10.86 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.327e-05/0.5673, allocations: 4 kB / 0.5044 GB, free: 10.86 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.519e-05/0.5673, allocations: 3.188 kB / 0.5044 GB, free: 10.86 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.344e-06/0.5673, allocations: 5.812 kB / 0.5044 GB, free: 10.86 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.148e-05/0.5674, allocations: 10.69 kB / 0.5044 GB, free: 10.86 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004892/0.5679, allocations: 364.4 kB / 0.5048 GB, free: 10.49 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002105/0.5681, allocations: 157.4 kB / 0.5049 GB, free: 10.32 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.071e-05/0.5682, allocations: 32.8 kB / 0.5049 GB, free: 10.29 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.769e-05/0.5682, allocations: 0 / 0.5049 GB, free: 10.29 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.379e-05/0.5683, allocations: 45.58 kB / 0.505 GB, free: 10.25 MB / 330.7 MB Notification: Performance of pre-optimization done (n=6): time 2.013e-06/0.5683, allocations: 0 / 0.505 GB, free: 10.25 MB / 330.7 MB Notification: Performance of matching and sorting (n=6): time 0.0002583/0.5685, allocations: 61.34 kB / 0.505 GB, free: 10.21 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.312e-05/0.5686, allocations: 114.2 kB / 0.5051 GB, free: 10.08 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.381e-05/0.5687, allocations: 99.61 kB / 0.5052 GB, free: 9.992 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 1.399e-05/0.5687, allocations: 29.61 kB / 0.5053 GB, free: 9.961 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.848e-05/0.5688, allocations: 94.3 kB / 0.5054 GB, free: 9.871 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.396e-05/0.5688, allocations: 7.688 kB / 0.5054 GB, free: 9.867 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.923e-06/0.5688, allocations: 3.75 kB / 0.5054 GB, free: 9.867 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 6.915e-05/0.5689, allocations: 317.4 kB / 0.5057 GB, free: 9.551 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.782e-05/0.569, allocations: 10.81 kB / 0.5057 GB, free: 9.551 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.397e-05/0.5691, allocations: 43.33 kB / 0.5057 GB, free: 9.508 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.21e-05/0.5691, allocations: 22.41 kB / 0.5057 GB, free: 9.5 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.274e-06/0.5691, allocations: 0 / 0.5057 GB, free: 9.5 MB / 330.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001589/0.5693, allocations: 72.94 kB / 0.5058 GB, free: 9.461 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.987e-05/0.5694, allocations: 7.812 kB / 0.5058 GB, free: 9.461 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.794e-06/0.5694, allocations: 0 / 0.5058 GB, free: 9.461 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.977e-05/0.5694, allocations: 2.766 kB / 0.5058 GB, free: 9.461 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001524/0.5696, allocations: 23.97 kB / 0.5059 GB, free: 9.449 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.078e-05/0.5696, allocations: 2.438 kB / 0.5059 GB, free: 9.449 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.472e-05/0.5697, allocations: 3.844 kB / 0.5059 GB, free: 9.449 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.305e-05/0.5697, allocations: 3.906 kB / 0.5059 GB, free: 9.449 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: 3 (ClockedRealToSquare.y2,$CLKPRE.ClockedRealToSquare.y2,ClockedRealToSquare.y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (7): * Single equations (assignments): 7 * 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 7.769e-05/0.5698, allocations: 119.7 kB / 0.506 GB, free: 9.332 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001247/0.5699, allocations: 47.16 kB / 0.506 GB, free: 9.297 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.162e-05/0.57, allocations: 17.3 kB / 0.506 GB, free: 9.289 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.578e-06/0.57, allocations: 3.938 kB / 0.506 GB, free: 9.285 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.791e-06/0.57, allocations: 0 / 0.506 GB, free: 9.285 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.909e-06/0.57, allocations: 4 kB / 0.506 GB, free: 9.281 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002521/0.5703, allocations: 164.6 kB / 0.5062 GB, free: 9.09 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.414e-06/0.5703, allocations: 3.844 kB / 0.5062 GB, free: 9.09 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001113/0.5704, allocations: 13.84 kB / 0.5062 GB, free: 9.09 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.011e-06/0.5704, allocations: 0 / 0.5062 GB, free: 9.09 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.315e-05/0.5705, allocations: 6.734 kB / 0.5062 GB, free: 9.09 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.737e-06/0.5705, allocations: 0 / 0.5062 GB, free: 9.09 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.385e-06/0.5705, allocations: 0 / 0.5062 GB, free: 9.09 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002133/0.5707, allocations: 272.5 kB / 0.5065 GB, free: 8.832 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.561e-05/0.5708, allocations: 80.95 kB / 0.5066 GB, free: 8.738 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.319e-05/0.5708, allocations: 0 / 0.5066 GB, free: 8.738 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001421/0.5709, allocations: 10.19 kB / 0.5066 GB, free: 8.738 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.724e-05/0.571, allocations: 3.688 kB / 0.5066 GB, free: 8.738 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.726e-06/0.571, allocations: 4 kB / 0.5066 GB, free: 8.734 MB / 330.7 MB Notification: Performance of sorting global known variables: time 5.084e-05/0.5711, allocations: 88.61 kB / 0.5067 GB, free: 8.66 MB / 330.7 MB Notification: Performance of sort global known variables: time 3.8e-07/0.5711, allocations: 0 / 0.5067 GB, free: 8.66 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0003523/0.5715, allocations: 7.688 kB / 0.5067 GB, free: 8.66 MB / 330.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 2 (ClockedRealToSquare.y,ClockedRealToSquare.y2) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (6): * Single equations (assignments): 6 * 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 Backend phase and start with SimCode phase: time 0.0005365/0.572, allocations: 0.9597 MB / 0.5076 GB, free: 7.742 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0001569/0.5722, allocations: 31.17 kB / 0.5076 GB, free: 7.738 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 4.128e-06/0.5722, allocations: 0 / 0.5076 GB, free: 7.738 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 3.345e-05/0.5722, allocations: 11.62 kB / 0.5076 GB, free: 7.734 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003012/0.5726, allocations: 27.03 kB / 0.5077 GB, free: 7.723 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005808/0.5731, allocations: 136.6 kB / 0.5078 GB, free: 7.586 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001625/0.5733, allocations: 0.6975 MB / 0.5085 GB, free: 6.887 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 4.299e-05/0.5734, allocations: 0 / 0.5085 GB, free: 6.887 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.608e-05/0.5735, allocations: 17.28 kB / 0.5085 GB, free: 6.879 MB / 330.7 MB Notification: Performance of SimCode: time 9.52e-07/0.5735, allocations: 0 / 0.5085 GB, free: 6.879 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02718/0.6007, allocations: 1.325 MB / 0.5098 GB, free: 6.586 MB / 330.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000298/0.601, allocations: 182.1 kB / 0.51 GB, free: 6.355 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.345/2.946, allocations: 0 / 0.51 GB, free: 6.355 MB / 330.7 MB (rm -f Modelica_Synchronous_Modelica_Synchronous.WorkInProgress.Tests.TestClockedRealToSquare.pipe ; mkfifo Modelica_Synchronous_Modelica_Synchronous.WorkInProgress.Tests.TestClockedRealToSquare.pipe ; head -c 1048576 < Modelica_Synchronous_Modelica_Synchronous.WorkInProgress.Tests.TestClockedRealToSquare.pipe >> ../files/Modelica_Synchronous_Modelica_Synchronous.WorkInProgress.Tests.TestClockedRealToSquare.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Modelica_Synchronous_Modelica_Synchronous_WorkInProgress_Tests_TestClockedRealToSquare_fmu --startTime=0 --stopTime=1.2 --timeout=50 --tolerance=1e-06 Modelica_Synchronous_Modelica_Synchronous_WorkInProgress_Tests_TestClockedRealToSquare.fmu > Modelica_Synchronous_Modelica_Synchronous.WorkInProgress.Tests.TestClockedRealToSquare.pipe 2>&1)