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.002057/0.002057, allocations: 177.7 kB / 8.048 MB, free: 1.027 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.067/2.067, allocations: 205.3 MB / 213.8 MB, free: 13.76 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.001148/0.001148, allocations: 99.56 kB / 261.8 MB, free: 13.45 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.1043/0.1043, allocations: 12.59 MB / 322.3 MB, free: 0.793 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 2.526e-05/2.536e-05, allocations: 4 kB / 379 MB, free: 75.17 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09063/0.09069, allocations: 50.37 MB / 429.4 MB, free: 24.82 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4242/0.5149, allocations: 77.46 MB / 0.495 GB, free: 11.57 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001995/0.5152, allocations: 61.11 kB / 0.495 GB, free: 11.57 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.004233/0.5194, allocations: 1.141 MB / 0.4962 GB, free: 11.22 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.503e-06/0.5195, allocations: 0 / 0.4962 GB, free: 11.22 MB / 330.7 MB Notification: Performance of Transformations before backend: time 1.113e-05/0.5195, allocations: 3.812 kB / 0.4962 GB, free: 11.22 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.0003359/0.5199, allocations: 343.3 kB / 0.4965 GB, free: 10.87 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.518e-05/0.5199, allocations: 13.25 kB / 0.4965 GB, free: 10.87 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.559e-05/0.52, allocations: 3.906 kB / 0.4965 GB, free: 10.86 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001669/0.5201, allocations: 179 kB / 0.4967 GB, free: 10.66 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.231e-05/0.5202, allocations: 7.953 kB / 0.4967 GB, free: 10.66 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.206e-05/0.5202, allocations: 3.719 kB / 0.4967 GB, free: 10.66 MB / 330.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 9.988e-05/0.5203, allocations: 18.22 kB / 0.4967 GB, free: 10.66 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002205/0.5205, allocations: 110.4 kB / 0.4968 GB, free: 10.58 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.688e-06/0.5205, allocations: 0 / 0.4968 GB, free: 10.58 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.152e-05/0.5206, allocations: 0 / 0.4968 GB, free: 10.58 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.751e-06/0.5206, allocations: 7.969 kB / 0.4968 GB, free: 10.58 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003696/0.521, allocations: 335.2 kB / 0.4971 GB, free: 10.24 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000177/0.5212, allocations: 149.1 kB / 0.4973 GB, free: 10.07 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.856e-05/0.5212, allocations: 36.8 kB / 0.4973 GB, free: 10.05 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.119e-05/0.5213, allocations: 0 / 0.4973 GB, free: 10.05 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.871e-05/0.5213, allocations: 36.78 kB / 0.4973 GB, free: 10.01 MB / 330.7 MB Notification: Performance of pre-optimization done (n=6): time 1.633e-06/0.5213, allocations: 0.6562 kB / 0.4973 GB, free: 10.01 MB / 330.7 MB Notification: Performance of matching and sorting (n=6): time 0.0002211/0.5215, allocations: 63.34 kB / 0.4974 GB, free: 9.969 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.626e-05/0.5216, allocations: 105.6 kB / 0.4975 GB, free: 9.844 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.983e-05/0.5217, allocations: 107.2 kB / 0.4976 GB, free: 9.75 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 1.084e-05/0.5217, allocations: 25.7 kB / 0.4976 GB, free: 9.719 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.053e-05/0.5217, allocations: 85.92 kB / 0.4977 GB, free: 9.637 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.033e-05/0.5218, allocations: 7.625 kB / 0.4977 GB, free: 9.633 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.609e-06/0.5218, allocations: 0 / 0.4977 GB, free: 9.633 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 6.015e-05/0.5218, allocations: 321.2 kB / 0.498 GB, free: 9.316 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.939e-05/0.5219, allocations: 10.84 kB / 0.498 GB, free: 9.316 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.37e-05/0.5219, allocations: 42.89 kB / 0.4981 GB, free: 9.27 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.188e-05/0.522, allocations: 10.23 kB / 0.4981 GB, free: 9.27 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.116e-06/0.522, allocations: 7.875 kB / 0.4981 GB, free: 9.266 MB / 330.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001385/0.5222, allocations: 73.19 kB / 0.4982 GB, free: 9.223 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.595e-05/0.5222, allocations: 3.781 kB / 0.4982 GB, free: 9.223 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.252e-06/0.5222, allocations: 3.844 kB / 0.4982 GB, free: 9.223 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.498e-05/0.5222, allocations: 0 / 0.4982 GB, free: 9.223 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000112/0.5223, allocations: 14.7 kB / 0.4982 GB, free: 9.219 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.851e-06/0.5224, allocations: 3.812 kB / 0.4982 GB, free: 9.219 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.969e-05/0.5224, allocations: 7.938 kB / 0.4982 GB, free: 9.219 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.292e-05/0.5225, allocations: 14.62 kB / 0.4982 GB, free: 9.211 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 9.699e-05/0.5226, allocations: 104.4 kB / 0.4983 GB, free: 9.105 MB / 330.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0001556/0.5227, allocations: 69.92 kB / 0.4984 GB, free: 9.062 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.947e-05/0.5228, allocations: 3.844 kB / 0.4984 GB, free: 9.062 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.818e-05/0.5228, allocations: 7.297 kB / 0.4984 GB, free: 9.051 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.068e-06/0.5229, allocations: 0 / 0.4984 GB, free: 9.051 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.649e-06/0.5229, allocations: 3.844 kB / 0.4984 GB, free: 9.051 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.927e-06/0.5229, allocations: 0 / 0.4984 GB, free: 9.051 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002285/0.5231, allocations: 157.2 kB / 0.4985 GB, free: 8.883 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.614e-06/0.5231, allocations: 0 / 0.4985 GB, free: 8.883 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.332e-05/0.5232, allocations: 14.27 kB / 0.4986 GB, free: 8.879 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.997e-06/0.5233, allocations: 0 / 0.4986 GB, free: 8.879 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.031e-05/0.5233, allocations: 3.75 kB / 0.4986 GB, free: 8.879 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.144e-06/0.5233, allocations: 0 / 0.4986 GB, free: 8.879 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.296e-06/0.5233, allocations: 0 / 0.4986 GB, free: 8.879 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001661/0.5235, allocations: 267.7 kB / 0.4988 GB, free: 8.629 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.121e-05/0.5235, allocations: 84.83 kB / 0.4989 GB, free: 8.531 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.09e-05/0.5235, allocations: 0 / 0.4989 GB, free: 8.531 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001555/0.5237, allocations: 3.969 kB / 0.4989 GB, free: 8.531 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.899e-05/0.5238, allocations: 6.562 kB / 0.4989 GB, free: 8.527 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.217e-06/0.5238, allocations: 3.656 kB / 0.4989 GB, free: 8.527 MB / 330.7 MB Notification: Performance of sorting global known variables: time 4.055e-05/0.5238, allocations: 92.61 kB / 0.499 GB, free: 8.445 MB / 330.7 MB Notification: Performance of sort global known variables: time 3.81e-07/0.5238, allocations: 3.844 kB / 0.499 GB, free: 8.445 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0003768/0.5242, allocations: 3.844 kB / 0.499 GB, free: 8.445 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.000433/0.5247, allocations: 0.947 MB / 0.4999 GB, free: 7.535 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.000127/0.5248, allocations: 32.95 kB / 0.5 GB, free: 7.531 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 2.675e-06/0.5248, allocations: 3.938 kB / 0.5 GB, free: 7.527 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 2.841e-05/0.5249, allocations: 7.75 kB / 0.5 GB, free: 7.523 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003028/0.5252, allocations: 23.17 kB / 0.5 GB, free: 7.516 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005061/0.5257, allocations: 123.9 kB / 0.5001 GB, free: 7.383 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001483/0.5259, allocations: 0.6921 MB / 0.5008 GB, free: 6.684 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 4.087e-05/0.5259, allocations: 6.578 kB / 0.5008 GB, free: 6.684 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.881e-05/0.526, allocations: 15.25 kB / 0.5008 GB, free: 6.676 MB / 330.7 MB Notification: Performance of SimCode: time 8.01e-07/0.526, allocations: 0 / 0.5008 GB, free: 6.676 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03914/0.5651, allocations: 1.017 MB / 0.5018 GB, free: 6.586 MB / 330.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002752/0.5655, allocations: 162.8 kB / 0.502 GB, free: 6.395 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.365/2.931, allocations: 7.656 kB / 0.502 GB, free: 6.391 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)