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.001052/0.001052, allocations: 176.5 kB / 16.12 MB, free: 5.688 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.702/1.702, allocations: 205 MB / 221.9 MB, free: 9.148 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.0009999/0.001, allocations: 93.33 kB / 269.9 MB, free: 8.668 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.08833/0.08833, allocations: 12.58 MB / 330.4 MB, free: 12.07 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003352/0.0003353, allocations: 12 kB / 391.2 MB, free: 66.34 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08722/0.08758, allocations: 49.98 MB / 441.1 MB, free: 16.3 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica_Synchronous.WorkInProgress.Tests.TestClockedRealToSquare): time 0.00153/0.08917, allocations: 1.262 MB / 442.4 MB, free: 15.02 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.0008904/0.09009, allocations: 491.7 kB / 442.9 MB, free: 14.54 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001159/0.09023, allocations: 7.938 kB / 442.9 MB, free: 14.53 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 5.189e-05/0.0903, allocations: 0 / 442.9 MB, free: 14.53 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001051/0.09042, allocations: 3.938 kB / 442.9 MB, free: 14.52 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003412/0.09077, allocations: 35.91 kB / 442.9 MB, free: 14.49 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 8.137e-05/0.09086, allocations: 43.84 kB / 443 MB, free: 14.45 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001016/0.09097, allocations: 19.98 kB / 443 MB, free: 14.43 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8.105e-05/0.09105, allocations: 19.91 kB / 443 MB, free: 14.41 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.776e-05/0.09112, allocations: 23.86 kB / 443 MB, free: 14.38 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 1.764e-05/0.09114, allocations: 0 / 443 MB, free: 14.38 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.221e-05/0.09116, allocations: 4 kB / 443 MB, free: 14.38 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 1.859e-05/0.09119, allocations: 0 / 443 MB, free: 14.38 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 4.337e-05/0.09124, allocations: 23.8 kB / 443.1 MB, free: 14.36 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 8.388e-05/0.09133, allocations: 40.09 kB / 443.1 MB, free: 14.32 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.491e-06/0.09134, allocations: 0 / 443.1 MB, free: 14.32 MB / 298.7 MB Notification: Performance of FrontEnd: time 2.495e-06/0.09135, allocations: 4 kB / 443.1 MB, free: 14.31 MB / 298.7 MB Notification: Performance of Transformations before backend: time 5.711e-06/0.09136, allocations: 0 / 443.1 MB, free: 14.31 MB / 298.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.0004821/0.09185, allocations: 355.3 kB / 443.4 MB, free: 13.92 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.144e-05/0.09191, allocations: 8.031 kB / 443.5 MB, free: 13.91 MB / 298.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.76e-05/0.09195, allocations: 34.75 kB / 443.5 MB, free: 13.87 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.193e-05/0.09199, allocations: 8.844 kB / 443.5 MB, free: 13.86 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001792/0.09218, allocations: 180.2 kB / 443.7 MB, free: 13.64 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.418e-06/0.09219, allocations: 4.375 kB / 443.7 MB, free: 13.64 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.139e-05/0.09221, allocations: 8.375 kB / 443.7 MB, free: 13.63 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002631/0.09248, allocations: 137.8 kB / 443.8 MB, free: 13.48 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.949e-06/0.0925, allocations: 0 / 443.8 MB, free: 13.48 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.034e-05/0.09252, allocations: 8 kB / 443.8 MB, free: 13.47 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.869e-06/0.09253, allocations: 4 kB / 443.8 MB, free: 13.46 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.978e-05/0.09261, allocations: 27.92 kB / 443.9 MB, free: 13.44 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002842/0.0929, allocations: 266.6 kB / 444.1 MB, free: 13.12 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001677/0.09308, allocations: 164.8 kB / 444.3 MB, free: 12.91 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.284e-05/0.09316, allocations: 38.69 kB / 444.3 MB, free: 12.87 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.903e-05/0.09318, allocations: 0 / 444.3 MB, free: 12.87 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.706e-05/0.09321, allocations: 46.5 kB / 444.4 MB, free: 12.81 MB / 298.7 MB Notification: Performance of pre-optimization done (n=6): time 1.133e-06/0.09322, allocations: 0 / 444.4 MB, free: 12.81 MB / 298.7 MB Notification: Performance of matching and sorting (n=6): time 0.0002446/0.09347, allocations: 93.59 kB / 444.5 MB, free: 12.71 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.883e-05/0.09352, allocations: 115 kB / 444.6 MB, free: 12.58 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.494e-05/0.09359, allocations: 113.8 kB / 444.7 MB, free: 12.46 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 7.303e-06/0.0936, allocations: 25.7 kB / 444.7 MB, free: 12.43 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.333e-05/0.09363, allocations: 84.14 kB / 444.8 MB, free: 12.34 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.88e-05/0.09365, allocations: 11.84 kB / 444.8 MB, free: 12.33 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.192e-05/0.09368, allocations: 17.64 kB / 444.8 MB, free: 12.3 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 4.442e-05/0.09373, allocations: 322.8 kB / 445.1 MB, free: 11.98 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.357e-05/0.09378, allocations: 15.98 kB / 445.1 MB, free: 11.96 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.884e-05/0.09384, allocations: 56.2 kB / 445.2 MB, free: 11.89 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.869e-05/0.09393, allocations: 68.22 kB / 445.3 MB, free: 11.81 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.793e-06/0.09394, allocations: 384 / 445.3 MB, free: 11.81 MB / 298.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001337/0.09408, allocations: 85.8 kB / 445.3 MB, free: 11.72 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.625e-05/0.09411, allocations: 7.938 kB / 445.4 MB, free: 11.71 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.092e-06/0.09412, allocations: 4.047 kB / 445.4 MB, free: 11.71 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.168e-05/0.09414, allocations: 12.05 kB / 445.4 MB, free: 11.7 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.124e-05/0.09421, allocations: 11.98 kB / 445.4 MB, free: 11.69 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.738e-06/0.09423, allocations: 4 kB / 445.4 MB, free: 11.68 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.442e-05/0.09428, allocations: 7.906 kB / 445.4 MB, free: 11.68 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.247e-06/0.0943, allocations: 4 kB / 445.4 MB, free: 11.67 MB / 298.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.y,$CLKPRE.ClockedRealToSquare.y2,ClockedRealToSquare.y2) * Number of discrete states: 0 () * Number of clocked states: 1 (ClockedRealToSquare.y2) * 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 6.173e-05/0.09436, allocations: 122.6 kB / 445.5 MB, free: 11.54 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.029e-05/0.09443, allocations: 49.64 kB / 445.6 MB, free: 11.49 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.79e-05/0.09446, allocations: 7.891 kB / 445.6 MB, free: 11.48 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.715e-06/0.09447, allocations: 8 kB / 445.6 MB, free: 11.47 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.127e-06/0.09448, allocations: 0 / 445.6 MB, free: 11.47 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.166e-06/0.09449, allocations: 0 / 445.6 MB, free: 11.47 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001237/0.09462, allocations: 169.6 kB / 445.7 MB, free: 11.25 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.734e-06/0.09463, allocations: 4 kB / 445.8 MB, free: 11.25 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.262e-05/0.09469, allocations: 15.98 kB / 445.8 MB, free: 11.23 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.633e-06/0.0947, allocations: 0 / 445.8 MB, free: 11.23 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.368e-06/0.09471, allocations: 0 / 445.8 MB, free: 11.23 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.142e-06/0.09472, allocations: 0 / 445.8 MB, free: 11.23 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.413e-06/0.09473, allocations: 4 kB / 445.8 MB, free: 11.23 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000149/0.09488, allocations: 197 kB / 446 MB, free: 11.02 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.306e-05/0.09491, allocations: 81.02 kB / 446 MB, free: 10.92 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.816e-05/0.09494, allocations: 4 kB / 446 MB, free: 10.91 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.398e-05/0.09501, allocations: 7.984 kB / 446.1 MB, free: 10.91 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.779e-05/0.09504, allocations: 8 kB / 446.1 MB, free: 10.9 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.019e-06/0.09505, allocations: 4 kB / 446.1 MB, free: 10.89 MB / 298.7 MB Notification: Performance of sorting global known variables: time 2.733e-05/0.09509, allocations: 87.27 kB / 446.2 MB, free: 10.81 MB / 298.7 MB Notification: Performance of sort global known variables: time 1.1e-07/0.09509, allocations: 0 / 446.2 MB, free: 10.81 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0002096/0.09531, allocations: 8 kB / 446.2 MB, free: 10.8 MB / 298.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 () * Number of clocked states: 1 (ClockedRealToSquare.y2) * 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 (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.0004357/0.09575, allocations: 0.7455 MB / 446.9 MB, free: 10.02 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0001402/0.0959, allocations: 44.17 kB / 446.9 MB, free: 9.98 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 3.687e-06/0.09591, allocations: 8.062 kB / 447 MB, free: 9.973 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 3.995e-05/0.09596, allocations: 15.92 kB / 447 MB, free: 9.957 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002716/0.09624, allocations: 27.95 kB / 447 MB, free: 9.93 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009453/0.09719, allocations: 1.411 MB / 448.4 MB, free: 8.406 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001105/0.09732, allocations: 0.6809 MB / 449.1 MB, free: 7.699 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 2.552e-05/0.09735, allocations: 4.281 kB / 449.1 MB, free: 7.695 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.7e-05/0.09739, allocations: 23.42 kB / 449.1 MB, free: 7.672 MB / 298.7 MB Notification: Performance of SimCode: time 5.71e-07/0.0974, allocations: 0 / 449.1 MB, free: 7.672 MB / 298.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.009938/0.1073, allocations: 1.348 MB / 450.5 MB, free: 6.32 MB / 298.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001692/0.1075, allocations: 224.2 kB / 450.7 MB, free: 6.066 MB / 298.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.543/1.651, allocations: 0 / 450.7 MB, free: 6.066 MB / 298.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)