Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleClocked.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleClocked,fileNamePrefix="Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_BooleanSignals_SampleClocked",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleClocked,fileNamePrefix="Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_BooleanSignals_SampleClocked",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001584/0.001584, allocations: 104.4 kB / 16.92 MB, free: 5.793 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001231/0.001231, allocations: 191.3 kB / 17.85 MB, free: 5.188 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.471/1.471, allocations: 222.9 MB / 241.5 MB, free: 15.24 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001175/0.001175, allocations: 47.17 kB / 300.7 MB, free: 5.809 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1459/0.1471, allocations: 49.44 MB / 350.2 MB, free: 4.355 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleClocked): time 0.003477/0.1506, allocations: 1.48 MB / 351.6 MB, free: 2.855 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.0004785/0.1511, allocations: 133 kB / 351.8 MB, free: 2.727 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001088/0.1513, allocations: 4 kB / 351.8 MB, free: 2.723 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 4.85e-05/0.1513, allocations: 7.875 kB / 351.8 MB, free: 2.715 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001453/0.1515, allocations: 7.922 kB / 351.8 MB, free: 2.707 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002949/0.1518, allocations: 42.28 kB / 351.8 MB, free: 2.668 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 9.948e-05/0.1519, allocations: 27.92 kB / 351.9 MB, free: 2.641 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001234/0.152, allocations: 8 kB / 351.9 MB, free: 2.633 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.65e-05/0.1521, allocations: 15.92 kB / 351.9 MB, free: 2.617 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 3.843e-05/0.1521, allocations: 11.94 kB / 351.9 MB, free: 2.605 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 1.724e-05/0.1521, allocations: 0 / 351.9 MB, free: 2.605 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.564e-05/0.1522, allocations: 4 kB / 351.9 MB, free: 2.602 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 5.979e-05/0.1522, allocations: 11.92 kB / 351.9 MB, free: 2.59 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 3.757e-05/0.1523, allocations: 19.88 kB / 351.9 MB, free: 2.57 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001183/0.1524, allocations: 39.81 kB / 352 MB, free: 2.531 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.771e-06/0.1524, allocations: 0 / 352 MB, free: 2.531 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.693e-06/0.1524, allocations: 0 / 352 MB, free: 2.531 MB / 286.1 MB Notification: Performance of Transformations before backend: time 5.64e-06/0.1524, allocations: 0 / 352 MB, free: 2.531 MB / 286.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0005472/0.153, allocations: 367.5 kB / 352.3 MB, free: 2.121 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.443e-05/0.153, allocations: 8.031 kB / 352.3 MB, free: 2.113 MB / 286.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.843e-05/0.1531, allocations: 38.73 kB / 352.4 MB, free: 2.066 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.201e-05/0.1531, allocations: 12.78 kB / 352.4 MB, free: 2.055 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001871/0.1533, allocations: 187.5 kB / 352.6 MB, free: 1.836 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.039e-05/0.1533, allocations: 4.375 kB / 352.6 MB, free: 1.832 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.318e-06/0.1533, allocations: 4.375 kB / 352.6 MB, free: 1.828 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002549/0.1536, allocations: 89.61 kB / 352.7 MB, free: 1.723 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.204e-05/0.1536, allocations: 3.938 kB / 352.7 MB, free: 1.719 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.598e-06/0.1536, allocations: 0 / 352.7 MB, free: 1.719 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.536e-06/0.1537, allocations: 4 kB / 352.7 MB, free: 1.715 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.87e-05/0.1537, allocations: 11.98 kB / 352.7 MB, free: 1.703 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003613/0.1541, allocations: 265.7 kB / 352.9 MB, free: 1.391 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 7.713e-05/0.1542, allocations: 45.16 kB / 353 MB, free: 1.328 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.955e-05/0.1542, allocations: 17.77 kB / 353 MB, free: 1.305 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.261e-05/0.1543, allocations: 0 / 353 MB, free: 1.305 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.195e-05/0.1543, allocations: 38.5 kB / 353 MB, free: 1.258 MB / 286.1 MB Notification: Performance of pre-optimization done (n=2): time 1.042e-06/0.1543, allocations: 0 / 353 MB, free: 1.258 MB / 286.1 MB Notification: Performance of matching and sorting (n=2): time 0.0002367/0.1546, allocations: 61.53 kB / 353.1 MB, free: 1.191 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.734e-05/0.1546, allocations: 77.11 kB / 353.2 MB, free: 1.098 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001368/0.1548, allocations: 129.8 kB / 353.3 MB, free: 0.9609 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 1.388e-05/0.1548, allocations: 29.7 kB / 353.3 MB, free: 0.9258 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.986e-05/0.1549, allocations: 80.14 kB / 353.4 MB, free: 0.8438 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.099e-05/0.1549, allocations: 8.234 kB / 353.4 MB, free: 0.8359 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.281e-05/0.1549, allocations: 21.62 kB / 353.4 MB, free: 0.8086 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.000147/0.1551, allocations: 314.8 kB / 353.7 MB, free: 0.4922 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.855e-05/0.1551, allocations: 0 / 353.7 MB, free: 0.4922 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.254e-05/0.1551, allocations: 25.64 kB / 353.8 MB, free: 472 kB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.352e-05/0.1552, allocations: 29.72 kB / 353.8 MB, free: 436 kB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.478e-06/0.1552, allocations: 3.938 kB / 353.8 MB, free: 432 kB / 286.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 9.367e-05/0.1553, allocations: 41.69 kB / 353.8 MB, free: 384 kB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.968e-05/0.1554, allocations: 11.94 kB / 353.9 MB, free: 372 kB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.212e-06/0.1554, allocations: 0 / 353.9 MB, free: 372 kB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.679e-05/0.1554, allocations: 0 / 353.9 MB, free: 372 kB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.714e-05/0.1554, allocations: 3.938 kB / 353.9 MB, free: 368 kB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.424e-06/0.1554, allocations: 4 kB / 353.9 MB, free: 364 kB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.731e-05/0.1555, allocations: 3.984 kB / 353.9 MB, free: 360 kB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.891e-06/0.1555, allocations: 4.062 kB / 353.9 MB, free: 356 kB / 286.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 2 (sample1.u,sample1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (2): * Single equations (assignments): 2 * 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 0.0002259/0.1557, allocations: 117.8 kB / 354 MB, free: 228 kB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.556e-05/0.1558, allocations: 41.61 kB / 354 MB, free: 180 kB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.369e-05/0.1558, allocations: 11.52 kB / 354 MB, free: 164 kB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.345e-06/0.1558, allocations: 0 / 354 MB, free: 164 kB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.072e-06/0.1558, allocations: 0 / 354 MB, free: 164 kB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.306e-06/0.1558, allocations: 0 / 354 MB, free: 164 kB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002127/0.1561, allocations: 165.7 kB / 354.2 MB, free: 15.95 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.112e-06/0.1561, allocations: 0 / 354.2 MB, free: 15.95 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.628e-06/0.1561, allocations: 11.97 kB / 354.2 MB, free: 15.94 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.295e-06/0.1561, allocations: 0 / 354.2 MB, free: 15.94 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.282e-06/0.1561, allocations: 0 / 354.2 MB, free: 15.94 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.619e-06/0.1561, allocations: 4 kB / 354.2 MB, free: 15.93 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.964e-06/0.1561, allocations: 3.938 kB / 354.2 MB, free: 15.93 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001751/0.1563, allocations: 152.2 kB / 354.4 MB, free: 15.76 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.079e-05/0.1564, allocations: 97.06 kB / 354.5 MB, free: 15.65 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.503e-05/0.1564, allocations: 0 / 354.5 MB, free: 15.65 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.006e-05/0.1565, allocations: 4 kB / 354.5 MB, free: 15.64 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.957e-05/0.1565, allocations: 0 / 354.5 MB, free: 15.64 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.427e-06/0.1565, allocations: 0 / 354.5 MB, free: 15.64 MB / 302.1 MB Notification: Performance of sorting global known variables: time 7.453e-05/0.1566, allocations: 107.2 kB / 354.6 MB, free: 15.54 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1566, allocations: 0 / 354.6 MB, free: 15.54 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0002312/0.1568, allocations: 4 kB / 354.6 MB, free: 15.54 MB / 302.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 2 (sample1.u,sample1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (2): * Single equations (assignments): 2 * 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.0004432/0.1573, allocations: 0.6936 MB / 355.3 MB, free: 14.81 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0001145/0.1574, allocations: 11.98 kB / 355.3 MB, free: 14.8 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.665e-06/0.1574, allocations: 0 / 355.3 MB, free: 14.8 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 3.036e-05/0.1574, allocations: 16.09 kB / 355.3 MB, free: 14.79 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004301/0.1579, allocations: 18.12 kB / 355.3 MB, free: 14.77 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001296/0.1592, allocations: 1.258 MB / 356.6 MB, free: 13.42 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003227/0.1595, allocations: 0.6846 MB / 357.3 MB, free: 12.71 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 2.306e-05/0.1596, allocations: 0 / 357.3 MB, free: 12.71 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.356e-05/0.1596, allocations: 15.44 kB / 357.3 MB, free: 12.7 MB / 302.1 MB Notification: Performance of SimCode: time 2.7e-07/0.1596, allocations: 0 / 357.3 MB, free: 12.7 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02072/0.1803, allocations: 1.337 MB / 358.6 MB, free: 11.47 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.603/8.783, allocations: 0 / 358.6 MB, free: 11.47 MB / 302.1 MB (rm -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleClocked.pipe ; mkfifo Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleClocked.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleClocked.pipe >> ../files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleClocked.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleClocked_res.mat --tempDir=temp_Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_BooleanSignals_SampleClocked_fmu --startTime=0 --stopTime=0.2 --timeout=50 --tolerance=1e-06 Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_BooleanSignals_SampleClocked.fmu > Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleClocked.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleClocked_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/Elementary/BooleanSignals/SampleClocked/SampleClocked.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleClocked.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches