Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_Synchronous_cpp_Modelica_Synchronous.WorkInProgress.Tests.TestFIR_1.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/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/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.TestFIR_1,fileNamePrefix="Modelica_Synchronous_cpp_Modelica_Synchronous_WorkInProgress_Tests_TestFIR_1",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica_Synchronous.WorkInProgress.Tests.TestFIR_1,fileNamePrefix="Modelica_Synchronous_cpp_Modelica_Synchronous_WorkInProgress_Tests_TestFIR_1",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.0008331/0.000833, allocations: 179.9 kB / 16.77 MB, free: 4.922 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.13/1.13, allocations: 205.4 MB / 222.9 MB, free: 8.93 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.0006761/0.0006762, allocations: 89.03 kB / 271.3 MB, free: 8.23 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0/package.mo): time 0.05675/0.05675, allocations: 12.21 MB / 331.8 MB, free: 11.62 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003434/0.0003434, allocations: 20 kB / 392.2 MB, free: 66.9 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.06052/0.06088, allocations: 50.28 MB / 442.5 MB, free: 16.56 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica_Synchronous.WorkInProgress.Tests.TestFIR_1): time 0.001221/0.06214, allocations: 1.266 MB / 443.8 MB, free: 15.28 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.0005195/0.06268, allocations: 472.1 kB / 444.2 MB, free: 14.81 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.105e-05/0.06274, allocations: 0 / 444.2 MB, free: 14.81 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001357/0.06289, allocations: 7.938 kB / 444.2 MB, free: 14.8 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 3.1e-05/0.06293, allocations: 11.86 kB / 444.2 MB, free: 14.79 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002106/0.06315, allocations: 51.83 kB / 444.3 MB, free: 14.74 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 7.821e-05/0.06323, allocations: 55.84 kB / 444.3 MB, free: 14.69 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.749e-05/0.06332, allocations: 16.11 kB / 444.4 MB, free: 14.67 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.005e-05/0.06339, allocations: 31.84 kB / 444.4 MB, free: 14.64 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001055/0.06351, allocations: 35.91 kB / 444.4 MB, free: 14.61 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 1.617e-05/0.06353, allocations: 4 kB / 444.4 MB, free: 14.6 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.179e-05/0.06355, allocations: 0 / 444.4 MB, free: 14.6 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 3.636e-05/0.06359, allocations: 23.91 kB / 444.5 MB, free: 14.58 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 3.848e-05/0.06364, allocations: 57.5 kB / 444.5 MB, free: 14.52 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 5.805e-05/0.0637, allocations: 52.12 kB / 444.6 MB, free: 14.46 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.346e-06/0.06371, allocations: 0 / 444.6 MB, free: 14.46 MB / 298.7 MB Notification: Performance of FrontEnd: time 9.82e-07/0.06371, allocations: 0 / 444.6 MB, free: 14.46 MB / 298.7 MB Notification: Performance of Transformations before backend: time 2.905e-06/0.06372, allocations: 0 / 444.6 MB, free: 14.46 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: 15 * Number of variables: 15 Notification: Performance of Generate backend data structure: time 0.000348/0.06407, allocations: 383.2 kB / 444.9 MB, free: 14.04 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.967e-05/0.06411, allocations: 8.031 kB / 444.9 MB, free: 14.04 MB / 298.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.556e-05/0.06414, allocations: 42.73 kB / 445 MB, free: 13.98 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.308e-05/0.06417, allocations: 8.844 kB / 445 MB, free: 13.98 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001305/0.06431, allocations: 200.1 kB / 445.2 MB, free: 13.74 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.193e-05/0.06432, allocations: 4.375 kB / 445.2 MB, free: 13.74 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.36e-05/0.06434, allocations: 4.375 kB / 445.2 MB, free: 13.73 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003146/0.06466, allocations: 228.8 kB / 445.4 MB, free: 13.49 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.484e-06/0.06468, allocations: 0 / 445.4 MB, free: 13.49 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.836e-06/0.06469, allocations: 0 / 445.4 MB, free: 13.49 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.293e-05/0.06471, allocations: 8 kB / 445.4 MB, free: 13.48 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001306/0.06485, allocations: 67.89 kB / 445.5 MB, free: 13.42 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002091/0.06506, allocations: 289.6 kB / 445.8 MB, free: 13.08 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001142/0.06519, allocations: 97.05 kB / 445.9 MB, free: 12.97 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.447e-05/0.06528, allocations: 53.77 kB / 445.9 MB, free: 12.91 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.829e-05/0.06531, allocations: 0 / 445.9 MB, free: 12.91 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.245e-05/0.06532, allocations: 38.73 kB / 446 MB, free: 12.86 MB / 298.7 MB Notification: Performance of pre-optimization done (n=11): time 1.303e-06/0.06533, allocations: 0 / 446 MB, free: 12.86 MB / 298.7 MB Notification: Performance of matching and sorting (n=11): time 0.0003032/0.06564, allocations: 165.4 kB / 446.1 MB, free: 12.7 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.787e-05/0.06569, allocations: 85.48 kB / 446.2 MB, free: 12.59 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.654e-05/0.06575, allocations: 130.8 kB / 446.3 MB, free: 12.46 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 8.366e-06/0.06576, allocations: 29.64 kB / 446.4 MB, free: 12.42 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.3e-05/0.06579, allocations: 96.12 kB / 446.5 MB, free: 12.32 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.489e-05/0.06581, allocations: 11.81 kB / 446.5 MB, free: 12.31 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.749e-06/0.06582, allocations: 4.125 kB / 446.5 MB, free: 12.31 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 3.686e-05/0.06586, allocations: 330.8 kB / 446.8 MB, free: 11.98 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.477e-05/0.06592, allocations: 23.98 kB / 446.8 MB, free: 11.95 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.707e-05/0.066, allocations: 101.4 kB / 446.9 MB, free: 11.82 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001181/0.06612, allocations: 125.3 kB / 447 MB, free: 11.66 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.934e-06/0.06613, allocations: 0 / 447 MB, free: 11.66 MB / 298.7 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0001838/0.06632, allocations: 153.3 kB / 447.2 MB, free: 11.51 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.088e-05/0.06634, allocations: 4 kB / 447.2 MB, free: 11.5 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.659e-06/0.06635, allocations: 4 kB / 447.2 MB, free: 11.5 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.046e-05/0.06636, allocations: 4 kB / 447.2 MB, free: 11.5 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.358e-05/0.06646, allocations: 28.27 kB / 447.2 MB, free: 11.47 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.1e-06/0.06648, allocations: 4 kB / 447.2 MB, free: 11.46 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.745e-05/0.06654, allocations: 15.94 kB / 447.2 MB, free: 11.45 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.065e-06/0.06655, allocations: 4 kB / 447.3 MB, free: 11.45 MB / 298.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 11 * Number of states: 0 () * Number of discrete variables: 2 (fIRbyCoefficients.first,$CLKPRE.fIRbyCoefficients.first) * Number of discrete states: 0 () * Number of clocked states: 3 (fIRbyCoefficients.first,fIRbyCoefficients.u_buffer[2],fIRbyCoefficients.u_buffer[1]) * 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 6.281e-05/0.06662, allocations: 141.5 kB / 447.4 MB, free: 11.3 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000121/0.06674, allocations: 101.5 kB / 447.5 MB, free: 11.19 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.972e-05/0.06678, allocations: 16.36 kB / 447.5 MB, free: 11.18 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.244e-06/0.06679, allocations: 4 kB / 447.5 MB, free: 11.17 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.645e-06/0.0668, allocations: 0 / 447.5 MB, free: 11.17 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.385e-06/0.0668, allocations: 4 kB / 447.5 MB, free: 11.17 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001078/0.06692, allocations: 181.5 kB / 447.7 MB, free: 10.94 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.162e-06/0.06692, allocations: 0 / 447.7 MB, free: 10.94 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.17e-05/0.06702, allocations: 23.92 kB / 447.7 MB, free: 10.92 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.854e-06/0.06703, allocations: 0 / 447.7 MB, free: 10.92 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.063e-05/0.06704, allocations: 8 kB / 447.7 MB, free: 10.91 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.164e-06/0.06705, allocations: 3.984 kB / 447.7 MB, free: 10.91 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.71e-07/0.06706, allocations: 0 / 447.7 MB, free: 10.91 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002125/0.06727, allocations: 228.2 kB / 447.9 MB, free: 10.66 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.077e-05/0.0673, allocations: 88.95 kB / 448 MB, free: 10.56 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.142e-05/0.06733, allocations: 15.92 kB / 448 MB, free: 10.54 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.847e-05/0.06742, allocations: 4 kB / 448.1 MB, free: 10.54 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.693e-05/0.06745, allocations: 4.031 kB / 448.1 MB, free: 10.54 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.155e-06/0.06746, allocations: 11.94 kB / 448.1 MB, free: 10.52 MB / 298.7 MB Notification: Performance of sorting global known variables: time 3.543e-05/0.0675, allocations: 103.2 kB / 448.2 MB, free: 10.42 MB / 298.7 MB Notification: Performance of sort global known variables: time 1.21e-07/0.06751, allocations: 0 / 448.2 MB, free: 10.42 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0002259/0.06774, allocations: 16 kB / 448.2 MB, free: 10.41 MB / 298.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: 1 (fIRbyCoefficients.first) * Number of discrete states: 0 () * Number of clocked states: 3 (fIRbyCoefficients.u_buffer[1],fIRbyCoefficients.u_buffer[2],fIRbyCoefficients.first) * Top-level inputs: 0 Notification: Strong component statistics for simulation (11): * Single equations (assignments): 11 * 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.0004229/0.06817, allocations: 0.8188 MB / 449 MB, free: 9.555 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0001688/0.06835, allocations: 91.88 kB / 449.1 MB, free: 9.465 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 1.623e-06/0.06836, allocations: 0 / 449.1 MB, free: 9.465 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 3.385e-05/0.0684, allocations: 12.67 kB / 449.1 MB, free: 9.453 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002793/0.06868, allocations: 64.02 kB / 449.2 MB, free: 9.391 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000909/0.0696, allocations: 0.7803 MB / 449.9 MB, free: 8.527 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.382e-05/0.06971, allocations: 0.7043 MB / 450.7 MB, free: 7.797 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.572e-05/0.06976, allocations: 27.42 kB / 450.7 MB, free: 7.77 MB / 298.7 MB Notification: Performance of SimCode: time 2.4e-07/0.06977, allocations: 0 / 450.7 MB, free: 7.77 MB / 298.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.502/2.571, allocations: 1.552 MB / 452.2 MB, free: 6.219 MB / 298.7 MB (rm -f Modelica_Synchronous_cpp_Modelica_Synchronous.WorkInProgress.Tests.TestFIR_1.pipe ; mkfifo Modelica_Synchronous_cpp_Modelica_Synchronous.WorkInProgress.Tests.TestFIR_1.pipe ; head -c 1048576 < Modelica_Synchronous_cpp_Modelica_Synchronous.WorkInProgress.Tests.TestFIR_1.pipe >> ../files/Modelica_Synchronous_cpp_Modelica_Synchronous.WorkInProgress.Tests.TestFIR_1.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Modelica_Synchronous_cpp_Modelica_Synchronous_WorkInProgress_Tests_TestFIR_1_fmu --startTime=0 --stopTime=0.5 --timeout=50 --tolerance=1e-06 Modelica_Synchronous_cpp_Modelica_Synchronous_WorkInProgress_Tests_TestFIR_1.fmu > Modelica_Synchronous_cpp_Modelica_Synchronous.WorkInProgress.Tests.TestFIR_1.pipe 2>&1)